1.2.5.84 LBP_ForceRegister Function
C
void LBP_ForceRegister ( ADP_EXTENDED_ADDRESS *pEUI64Address, uint16_t shortAddress, uint16_t panId, ADP_GROUP_MASTER_KEY *pGMK );
Summary
Forces the device register in the network without going through the bootstrap process.
Description
This routine is used for testing purposes to force the device register in the network without going through the bootstrap process.
Parameters
Param | Description |
---|---|
pEUI64Address | Pointer to EUI64 address of the node |
shortAddress | The 16-bit network address to be set |
panId | The 16-bit PAN Id to be set |
pGMK | Pointer to Group Master Key to set |
Returns
None.
Example
ADP_EXTENDED_ADDRESS eui64; ADP_GROUP_MASTER_KEY gmk; // Fill EUI64 and GMK // ... LBP_ForceRegister(&eui64, 0x0001, 0x1234, &gmk);
Remarks
As stated on function description, this primitive is added only for testing purposes. Its usage avoids going through the regular bootstrapping process, which implies a security breach.
This function is part of the Device LBP Module.