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

nRF52840DK Bluetooth Mesh Light-Switch Example with Virtual COM Port

Hi All,

I have loaded in the Bluetooth Mesh Light-Switch example and it works well.

For now, I would like to read out the received data from the switch node (client) to computer (COM Port) via the USB port on the development kit. Is it feasible?

If this is feasible, then what is the baud rate, data bit, parity and stop bits?

I tried to load in the bluetooth mesh serial example but it does not seem like working as I intended.

Thanks in advance for helping.

Parents
  • Hi. 

    What data would you like to read out? The native example will output some data. 

    When testing the Light Switch Client/Server I get this output using the debug window in SES (You can also use i.e RTT viewer):

    Output on server:

      

    Here you can see the output from the example started, the provisioning and receiving a message from the client. 

    Output on Client: 

    Here you can see the output from the example started, the provisioning and sending a message to the server.

    Best regards, 
    Joakim
     

  • Hi, thanks for your response.

    Yes, I managed to get the output through RTT. However, what I intended to do is to use USB Serial COM port to get the data so that I can process the received data through my own desktop program then send to cloud, in other words, I cannot retrieve and process the received data from RTT. Is there any other ways to do so?

Reply Children
Related