I'm currently setting up a low-energy wireless sensor system using the RFduino and the Gazell Protocol.
With the Gazell Protocol, an DeviceName like DEVICE0, DEVICE1,... is needed for communication.
In the Setup, I'm giving all Devices the Name DEVICE7, but after this, the program loads data from a page from the Flash, where a variable which determines the real DeviceNumber is stored, to a struct called "value".
Then the programs runs an if-loop to Change the Name, but it doesn't seem to work.
I tought I could stop the Gazell Stack, change the Name and then start it again, but it doesn't work.
My change code looks somehow like this:
if(value.DeviceNumber == 1)
device_t role = DEVICE0;
if(value.DeviceNumber == 2)
device_t role = DEVICE1;
Is it anyhow possible to Change the DeviceName during operation?
Any Help or Tips arewelcome!
I'm sorry for my bad english, I am german.