PreviousNext
Authorize bond
Help > Peripherals > Coordinator > Authorize bond

Authorizes previously prebonded [N]. This assigns the [N] to the final network address. The command must not be used inside Batch or Selective Batch.

 

Request

 

NADR

PNUM

PCMD

HWPID

0

1 4

NADR

0x00

0x0D

?

ReqAddr

MID

 

ReqAddr           See Bond Node request. If 0xFF is specified then the prebonded [N] is unbonded and then reset.

MID                  Module ID of the [N] to be authorized. Module ID is obtained by PrebondedMemoryReadPlus1.

 

Response: see response of Bond Node command (except PCMD is 0x8D).

 

Error codes

ERROR_FAIL      a. Nonzero ReqAddr is already used.
b. No free address is available when ReqAddr equals 0.
c. Internal call to nodeAuthorization failed.