ToCoNet_bMacTxReq()
Explanation
Requests a wireless transmission in a simple network. After registering the request in the transmission queue, this function exits. The actual transmission process is executed later.
Even if you are using a relay net, you can send and receive messages from the simple net side by side. If you use this function when the relay net is in operation, unexpected behavior may occur (for example, the relay net may have a lot of communication in the background, and you may throw a transmission request to interrupt the communication).
Argument
psTx
This structure contains the transmission information. It may be allocated as a local variable in the calling scope.
The memory area of the tsTxDataApp
structure should always be cleared to zero before storing the value.
Returns
boot_t
If TRUE
the request was accepted, if FALSE
the request was not accepted.
Sample code
最終更新