What do you mean you changed device status? Status is controlled by server. You can't change it manually.
to delete a device , i have not removed it from db, i have changed its unique-id and made a new column (boolean) which shows if it is deleted or not.what should i do so that the device's position is not updated if its status is changed?
What you are asking for is not supported.
ok.Thank you for the support. can you guide me how can i implement this type of functionality in any other way?
You have said what you have tried to do, but you have not said why you want to do it.
To be able to answer your question, someone would have to work out why you would want to do that, then find a different way to do it.
Why not make it easier for people to help by explaining what you want to achieve?
What is the use case you are describing?
i have deleted(changed the status of) device and its unique-id but its position-id is being updated continuously. can anyone please guide how to stop device's position from being updated?