Code: |
AS + 38 |
Symbolic: |
bccPing |
Send a ping request to discover communication timings. Request data area is the following:
Type |
Label |
Description |
---|---|---|
U32 |
DATA |
Ping user data |
U32 |
TXHOPS |
Number of transmission hops |
Notes:
•It is best practice to always initialize TXHOPS with value of 1.
On success, a bccPong is received (see below for details).
On failure, a bccNack is received.
Routing counters
The hop counter is used to count how many time a message have to be routed before reaching is destination.
By initializing it to value 1, each type that the message is routed, the hop counter is incremented: when message bccPong return, the hops counters give you an exact count of transmission cost.
Communication timings
By using appropriate information in DATA field of bccPing message, you can evaluate communication timing.
For example if you place current time [ms] in DATA of bccPing, where you well receive the bccPong by the difference of current time [ms] and the value in returned DATA, you will obtain the elapsed time between transmission of bccPing and receiving of bccPong (this is possible because the DATA field of bccPing message is replicated into DATA field of bccPong).