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

Running ligth_switch_server on nrf dongle

Using nrf_mesh_sdk_4.0 and ble_sdk_16.0:

1.I want to load light_switch_server code on nrf_dongle.

2.And then take data from r-pi through usb of dongle and publish it over ble mesh from dongle. So what will be the required changes in mesh code for this ?

Can you please guide me for both 1 & 2.

TIA Slight smile

Regards,

Gecko

 

  • Hi Gecko!

    We don't have any examples to fit your description, so you will have to do this implementation yourself.

    1. To run the example on the light switch example on the dongle, you will have to change the pin assignments etc. to match the new hardware. Change the board definition and the board header file.

    2. The USB port on the dongle wont work with the light switch example out of the box. You could add functionality from the USBD BLE UART Example, which implements the USB CDC ACM library for sending UART data over the USB port.

    Br,
    Joakim

Related