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.
If TOCONET_NWK_ADDR_NEIGHBOUR_ABOVE
is specified, it is directly transmitted to the neighboring parent or repeater, and the LQI between the child and the parent or repeater can be aggregated to determine which parent or repeater is closer to the child.
Note: The accuracy of the LQI and distance is not high, and it is only possible to distinguish between very close (within 1m) and other positions.
Dst address | Remark |
---|---|
| Direct transmission to a reachable parent or repeater (or all of them if there are more than one). |
| The packet is delivered to the parent device. (Even if a repeater receives a packet, it cannot know the reception of the packet by |
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 |
|
Sample code
最終更新