Im working on a device that requires it to record its own device id and save this into pattr. This works fine when the set is saved, but if the set crashes, upon reloading the crashed set, the device ids change.
I also notice as the device ids are created they normally go up in increments e.g. 98,99,100,101 etc. However, mine seem to be going up by up to 200 or more each e.g. 192, 392, 592 etc.
When the set crashes and is reloaded the 192,392,592, will end up being 98,99,100 etc
I would be really grateful to know why this might happen if anyone has seen this behaviour before?