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

NRF52840 TCP client and server implementation

Hi, 

I would like to set up a wireless communication channel between two NRF52840 DK boards. I checked the Nordic SDK v16.0 and found some examples such as \examples\iot\tcp and \examples\iot\udp. Both of these examples require thrd party device (Linux router device) to initialize the 6LoWPAN module. My question is, can I get some sample applications or sample ocdes that build the tcp/udp connection without the Linux router device? For example, one nRF board acts as server and can response for the connection request. Another board acts as client and can initialize the connection request. Thanks for your attention!

Best,

Zhonghao

Parents
  • Hello,

    If you are not interrested in the 3rd party devices, perhaps you can look into some of the examples from the ble_peripheral and ble_central folders in the SDK.

    If you want to send custom data between the devices, I suggest you study these two examples:

    SDK\examples\ble_peripheral\ble_app_uart
    SDK\examples\ble_central\ble_app_uart_c

    They can set up a link, and send messages back and forth.

    Check out the description of each example:

    ble_app_uart

    ble_app_uart_c

    Best regards,

    Edvin

Reply
  • Hello,

    If you are not interrested in the 3rd party devices, perhaps you can look into some of the examples from the ble_peripheral and ble_central folders in the SDK.

    If you want to send custom data between the devices, I suggest you study these two examples:

    SDK\examples\ble_peripheral\ble_app_uart
    SDK\examples\ble_central\ble_app_uart_c

    They can set up a link, and send messages back and forth.

    Check out the description of each example:

    ble_app_uart

    ble_app_uart_c

    Best regards,

    Edvin

Children
Related