This program consists of a client socket & custom messages that send data (hex-string formatted data) to a server (tcp_ipc_server). Then, tcp_ipc_server send this data over LoraWAN (using Radioenge LoRaWAN module). It means using TCP/IP sockets as IPC channel to ensure controlled access to LoRaWAN connectivity. The goals of using this approach to send LoRaWAN data are:
Both client and server work on local network scope.
In order to test tcp_ipc_client & tcp_ipc_server together, there are two ways to proceed:
Both tcp_ipc_client and tcp_ipc_server examples have been full covered in NuttX International Workshop 2022. You can watch the full presentation here: https://www.youtube.com/watch?v=hr0OfTt1KeY The tcp_ipc_server and tcp_ipc_client examples have been developed by Flavio Ipirranga and Pedro Bertoleti from Instituto de Pesquisas Eldorado (IPE) in Brazil.