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

HOW TO use serial only in common use ,not need to use mesh command, mesh3.1.0 nrf52832 ?

1.when I add code in example/serial like below,it nothing happen ,PC not received message,how to do it :

Parents
  • How are you testing whether you receive information on the PC side? Are you running the example in debug mode in Segger Embedded Studio (SES)? The serial example is used together with the interactive py software, so I am not sure it will work out of the box to send information from a device to the RTT terminal if that is what you want to do. 

    Do you get any error codes after you run the ERROR_CHECK(nrf_mesh_serial_tx(data_tx,strlen(data_tx))); line?

    You can use the J-Link RTT Viewer application to get logging information for the example or run a debug session in SES.

    You can also take a look at this documentation for more info.

Reply
  • How are you testing whether you receive information on the PC side? Are you running the example in debug mode in Segger Embedded Studio (SES)? The serial example is used together with the interactive py software, so I am not sure it will work out of the box to send information from a device to the RTT terminal if that is what you want to do. 

    Do you get any error codes after you run the ERROR_CHECK(nrf_mesh_serial_tx(data_tx,strlen(data_tx))); line?

    You can use the J-Link RTT Viewer application to get logging information for the example or run a debug session in SES.

    You can also take a look at this documentation for more info.

Children
Related