Question:
Is there any non-blocking API available in the MCAPI package?
Answer:
The connectionless-message and packet-channel API functions have both blocking and non-blocking variants. The non-blocking variants have “_i” appended to the function name to indicate that the function will return immediately and will complete in a non-blocking manner.
Below are some of Non-Blocking APIs:
mcapi_endpoint_get_i(), mcapi_msg_send_i(), mcapi_msg_recv_i(), mcapi_pktchan_connect_i(), mcapi_pktchan_recv_open_i(), etc