PreviousNext
Validate bonds
Help > Peripherals > Node > Validate bonds

[sync] [comdown] (only when a [N] is unbonded and restarted) This command can be used to resolve the situation when there are more [Ns] with the same address in the network. This incorrect situation might happen usually in the case of Smart Connect, or due to unintended user interference when the [N] was bonded but for some reason, it does not communicate afterward and therefore it is unbonded at the [C] side only and its address is recycled for another [N] later.

 

The command can hold up to 11 pairs of the network [N] address and [N] MID in the data part. When the command is broadcast and the [N] finds its address in the data but the MID does not equal its MID, the [N] unbonds itself, and then it restarts (it might skip optional RFPGM after module reset).

 

The typical algorithm is to loop all bonded [Ns] and for each [N] to read its MID from the [C] external EEPROM. Then pack up to 11 address/MID pairs into the command and send a series of broadcast commands into the network.

 

Request

 

NADR

PNUM

PCMD

HWPID

0

1…4

n × 5

n × 5 + 1… n × 5 + 4

NADR

0x01

0x08

?

Address0

MID0

Addressn

MIDn

 

n [0,10]          Number of validated addresses minus 1.

Address           Node’s address.

MID                  Node’s MID. Value 0xFFFFFFFF is ignored.

 

Response

 

The general response to writing request with STATUS_NO_ERROR Error code.