ToCoNet_Nwk_bTx()
Explanation
Requests the transmission of radio packets on the relay net.
For more information on delivery, see the description of the tsTxDataApp
structure.
About the address
You can choose between two delivery addresses.
Dst address
Remark
TOCONET_NWK_ADDR_NEIGHBOUR_ABOVE
Direct transmission to a reachable parent or repeater (or all of them if there are more than one).
TOCONET_NWK_ADDR_PARENT
The packet is delivered to the parent device. (Even if a repeater receives a packet, it cannot know the reception of the packet by ToCoNet_vRxEvent()
)
Arguments
Type
Name
Remark
pContextNwk
A structure that manages the internal information of the relay network.
sTx
A structure containing the data to be sent.
Returns
Type
Remark
bool_t
TRUE
: The request has been accepted.FALSE
: not accepted.
Sample code
最終更新