A basic example of two treads for TCP and UDP. The TCP server in its thread waiting for a command (!start or !stop) from a client. That control the UDP thread and it start or stop sending a dummy message.

mbed-os.lib

Committer:
JohnnyK
Date:
2020-05-29
Revision:
0:d54540de63d4

File content as of revision 0:d54540de63d4:

https://github.com/ARMmbed/mbed-os/#1b2a68ae204b70a7aaf3818dc8fa3881250b13b0