Microchip® Advanced Software Framework

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
MAC Response API's

This module describes all MAC Response API's.

Functions

bool wpan_mlme_associate_resp (uint64_t DeviceAddress, uint16_t AssocShortAddress, uint8_t status)
 Initiate MLME-ASSOCIATE.response service and place it in the MLME-SAP queue. More...
 
bool wpan_mlme_orphan_resp (uint64_t OrphanAddress, uint16_t ShortAddress, bool AssociatedMember)
 Initiate MLME-ORPHAN.response service and have it placed in MLME_SAP queue. More...
 

bool wpan_mlme_associate_resp ( uint64_t  DeviceAddress,
uint16_t  AssocShortAddress,
uint8_t  status 
)

Initiate MLME-ASSOCIATE.response service and place it in the MLME-SAP queue.

Parameters
DeviceAddressExtended address for device requesting association.
AssocShortAddressShort address allocated on successful association.
statusStatus of the association attempt. Valid values:
Returns
true - success; false - buffer not available or queue full.

Referenced by handle_incoming_msg().

bool wpan_mlme_orphan_resp ( uint64_t  OrphanAddress,
uint16_t  ShortAddress,
bool  AssociatedMember 
)

Initiate MLME-ORPHAN.response service and have it placed in MLME_SAP queue.

Parameters
OrphanAddressAddress of orphaned device.
ShortAddressShort address allocated to orphaned device.
AssociatedMemberBoolean true if the orphaned device is associated.
Returns
true - success; false - buffer not availability or queue full.

Referenced by handle_incoming_msg().