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

ParamDescription
pEUI64AddressPointer to EUI64 address of the node
shortAddressThe 16-bit network address to be set
panIdThe 16-bit PAN Id to be set
pGMKPointer 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.