I am new to Exosite and using Arduinos for remote devices with HTTP APIs for Activate, Read and Write. I have created Arduino compatible devices on the Exosite portal. If I activate a device once within 24 hours everything is fine and I can then read and write OK. If from the Exosite portal I re-enable a device which changes the cik my Arduino can of course no longer read and write. Is there a way my Arduino can fetch the new cik and resume reading and writing? Running the Activate procedure again gives an Unauthorised response because the device was previously activated.
Am I better off to create generic devices and simply hard code ciks into my devices and not use the provisioning API?