Is it possible to implement open thread CLI-ftd and transfer data through UDP portal in mqttsn_client_publisher sample code.
Is it possible to implement open thread CLI-ftd and transfer data through UDP portal in mqttsn_client_publisher sample code.
Hi,
Do you want the full CLI, or do you only want to send UDP messages from the application code?
You can use the OpenThread UDP API directly in the mqttsn_client_publisher example, just include the <openthread/udp.h> header file in the application. You can see how the UDP API is used in the CLI in the OpenThread CLI UDP module source code.
Best regards,
Jørgen