1.2.5.88 LBP_COORD_JOIN_REQUEST_IND_CALLBACK Typedef

C

typedef void (*LBP_COORD_JOIN_REQUEST_IND_CALLBACK)(uint8_t* pLbdAddress);

Summary

Pointer to a Join Request Indication Event handler function.

Description

This data type defines the required function signature for the LBP Join Request Indication event handling callback function.

The LBP Join Request Indication primitive allows the upper layer to be notified of the intention of a device to Join the Network, allowing to reject it or accept it assigning a network short address.

A client must register a pointer using the event handling function whose function signature (parameter and return value types) matches the types specified by this function pointer in order to receive Join Request Indication events back from module.

Parameters

ParamDescription
pLbdAddressPointer to Extended Address of device willing to Join the network

Returns

None.

Example

App_JoinRequestIndication(uint8_t* pLbdAddress)
{
    uint16_t assignedAddress;

    // Check extended address

    // Assign 16-bit address
    assignedAddress = 0x0001;
    LBP_ShortAddressAssign(pLbdAddress, assignedAddress);
}

Remarks

None.