cbToCoNet_vRxEvent()
Explanation
This function is called after receiving a radio packet. The argument tsRxDataApp
*psRx
is passed, the received data (packet contents, address information, etc.) will be stored. The structure is only valid within the calling scope of this callback function, once you leave the function the value is not guaranteed.
This function should not be delayed if it is received frequently. This may cause delays in releasing the receive queue and may result in missed data.
Incoming packets are stored in a FIFO queue by an internal MAC layer interrupt. When it comes under the control of the application loop, it is fetched from this queue and a callback function is executed.
Argument
Type | Name | Remark |
|
| The data received is stored in this structure. See the description of the structure for details. |
Returns
None
Sample code
最終更新