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

Coexistence examples: SDK UART coexistence example

Greetings...

Please help me understand why PB-GATT support is removed from SDK UART coexistence example?

The dilemma I am facing is as follows:

1. No PB-GATT for SDK UART coexistence example;

2. Mesh LPN supports only PB-GATT;

How can I solve this problem such that I can have a Mesh Network which supports LPN nodes provisioning?

Thank you!

M.

Parents
  • Hello,

    I wasn't able to compile your project. I had to add some include paths in order to compile, so I guess the folder structure is a bit different on your project, or you moved some files. It shouldn't really matter. 

    But when I had all the .c and .h files included, I couldn't really replicate your issue:

    It looks normal here. Can you try to unzip your project in a set of unmodified SDK for Mesh and normal SDK and see if it still behaves the same? It shouldn't print the characters three times. 

    To be sure, you can try the attached .hex file (remember to flash the softdevice as well).

    light_switch_server_nrf52840_xxAA_s140_6.1.1.hex

    If you test this, you can monitor the RTT Viewer by using JLink RTT Viewer.

    If the characters are still quadruple it means that there is something wrong with your uart terminal.

    Best regards,

    Edvin

Reply
  • Hello,

    I wasn't able to compile your project. I had to add some include paths in order to compile, so I guess the folder structure is a bit different on your project, or you moved some files. It shouldn't really matter. 

    But when I had all the .c and .h files included, I couldn't really replicate your issue:

    It looks normal here. Can you try to unzip your project in a set of unmodified SDK for Mesh and normal SDK and see if it still behaves the same? It shouldn't print the characters three times. 

    To be sure, you can try the attached .hex file (remember to flash the softdevice as well).

    light_switch_server_nrf52840_xxAA_s140_6.1.1.hex

    If you test this, you can monitor the RTT Viewer by using JLink RTT Viewer.

    If the characters are still quadruple it means that there is something wrong with your uart terminal.

    Best regards,

    Edvin

Children
  • Hi Edvin,

    This part is all working well with RTT or SES Debug Terminal. My goal is to have the the printf call be sent to regular UART terminal. If you un-comment the code in main.c for printf, you will understand what I was talking about.printf should be sent to uart but instead, the statement shows up in RTT or SES Debug Terminal.

    I solved this problem by enable the Module RETARGET.

    Thanks.

    M.

Related