what do i need to modify in an application to send that application over mesh? Lets say i wan to send blinky example over mesh to all other nodes, what i need to change in blinky application to have that DFU mesh support ?
what do i need to modify in an application to send that application over mesh? Lets say i wan to send blinky example over mesh to all other nodes, what i need to change in blinky application to have that DFU mesh support ?
Why not just follow the normal Mesh DFU example and send the copy of application over DFU? Or do you need to send the exact state of running application on that device over mesh ?
In the latter case, I am a bit unsure.
I already did the first recommendation, but i would like to try different DFU update in our mesh to see if they get the update or not. I want some sort of visual distinction, lets say some will blink their all lights, some will may be lit only led one. Since DFU has only one application so i can not check this. Hope you got my message.
In that case, you application has to be such that, that it reads the node/device address and blink the light differently based on this address. For example the node when updated with the new application, can do blink
Blink LED ((node address & 0X000f) >> LED_NUMBER) if this is equal to 1.
Now the same application will blink different LEDS on different nodes based on its node/device address
Thank Aryan,
But in SDK there is no only hex version of the application. There is no source code, so how to modify ?
There is no hex version of the application, but your application is flashed into a device that has unique device address, your application can make use of this address to identify the difference. Unfortunately there is no current example to show this clearly.