Kenji Arai / mbed-os_TYBLE16

Dependents:   TYBLE16_simple_data_logger TYBLE16_MP3_Air

Embed: (wiki syntax)

« Back to documentation index

Sequential-style APIs

Sequential-style APIs
[APIs]

Sequential-style APIs, blocking functions. More...

Modules

 Netconn API
 

Thread-safe, to be called from non-TCPIP threads only.


 NETIF API
 

Thread-safe functions to be called from non-TCPIP threads.



Detailed Description

Sequential-style APIs, blocking functions.

More overhead, but can be called from any thread except TCPIP thread. The sequential API provides a way for ordinary, sequential, programs to use the lwIP stack. It is quite similar to the BSD socket API. The model of execution is based on the blocking open-read-write-close paradigm. Since the TCP/IP stack is event based by nature, the TCP/IP code and the application program must reside in different execution contexts (threads).