This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Is there a way to control the unprovisioned device (a light) with nrf5 sdk for mesh?

Hi support team,

I am a beginner with Nordic nrf5 sdk for mesh.  I begin with the sample light_switch. Currently I want to toggle the status (on/off) of the unprovisioned light by phone APP.

Is there a method to implement it?

I have read the source code and understood the sdk, but not clearly.   I just think that the APP can send the scan request after receiving the advertisement for provisioning service, 

and then at light side it will receive the scan request and BLE_GAP_EVT_SCAN_REQ_REPORT event can be handled.   I plan to toggle the status of the unprovisioned light when received 

the BLE_GAP_EVT_SCAN_REQ_REPORT  event. Is this method practicable? or Is there another way to implement this functionality? 

Any suggestion will be appreciated. 

Parents Reply
  • Hi Hung,

    Thanks for your suggestion.

    I noticed that the way (blink) to identify the unprovisioned device is implemented in light_switch example, but not implemented in light_lightness, light_ctl examples. so how to identify the unprovisioned device with these examples? Maybe I missed much about the sdk, but could you pls  give any suggestion? Thank you in advance!

Children
Related