PreviousNext
Set MID
Help > Peripherals > Coordinator > Set MID

Sets the MID value to a [N] with a specified address in the Coordinator’s database. This feature is used after [N] restore that typically changes Node’s MID. It can be also used to make sure the Coordinator’s database contains real MIDs after the [C] was updated from the former IQRF OS version that did not store MIDs at [C] at all (MIDs are read as 0xFFFFFFFF). Use OS Read to obtain Node’s MID. See also Node Restore.

 

Request

 

NADR

PNUM

PCMD

HWPID

0…3

4

NADR

0x00

0x13

?

MID

BondAddr

 

MID                  The MID is written to the Coordinator’s database in the external EEPROM.

BondAddr         Address of the [N] to set the MID to.

 

Response

 

The general response to writing request with STATUS_NO_ERROR Error code.

 

Error codes

ERROR_FAIL      Error accessing serial EEPROM chip.