nRF5 IoT SDK
v0.9.0
|
In order to demonstrate the use of UDP as transport on lwIP, a server that responds to a client message is defined. The data formats and message exchange is described in Figure 1 below.
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.