Hi,
We would like to change the attDeviceName OTA. We have made the suggested modifications and added permissions to write to 0x2A00 and change the name successfully. However, when power is cycled, this obviously reverts to the hard coded name.
Therefore we need to store and recover this name from flash. On power up initialisation this is fairly straightforward, but how how/where do we intercept the OTA write of 0x2A00 so we can update the flash variable?
I assume that there is a call back function involved? I realise we can add another characteristic and do it that way but that seems a bit messy.
Any help or hint much appreciated!
Tony