nRF5 SDK v14.2.0
Nordic's IPv6 Stack based UDP Examples
This information applies to the following SoftDevice: S132

In order to demonstrate use the of UDP as transport on Nordic's IPv6 stack, a server that responds to a client message is defined. The data formats and message exchange is described in Figure 1 below.

msc_nrf_udp_client_n_server
Figure 1: UDP data exchange.

As UDP is used as transport and has no tight coupling with BLE, the server and clients could be PC-based applications talking to the kits running a complementary role. The only prerequisite for this is that the UDP client knows the server's IPv6 address. This concept of communication between PC application to nRF5x example on the kit, or nRF5x to nRF5x is emphasized in Figure 2 below.


nRF_UDP_Overall.svg
Figure 2: Setup of Nordic's IPv6 stack based UDP examples.


Note
The UDP transmissions are triggered by a timer and the reception is asynchronous.

Client

Server


Documentation feedback | Developer Zone | Subscribe | Updated