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.
DeviceAddress | Extended address for device requesting association. |
AssocShortAddress | Short address allocated on successful association. |
status | Status of the association attempt. Valid values: |
References mlme_associate_resp_tag::AssocShortAddress, bmm_buffer_alloc(), bmm_buffer_free(), BMM_BUFFER_POINTER, mlme_associate_resp_tag::cmdcode, CPU_ENDIAN_TO_LE16, CPU_ENDIAN_TO_LE64, mlme_associate_resp_tag::DeviceAddress, LARGE_BUFFER_SIZE, MAC_SUCCESS, MLME_ASSOCIATE_RESPONSE, nhle_mac_q, qmm_queue_append(), and mlme_associate_resp_tag::status.
Referenced by usr_mlme_associate_ind().
Initiate MLME-ORPHAN.response service and have it placed in MLME_SAP queue.
OrphanAddress | Address of orphaned device. |
ShortAddress | Short address allocated to orphaned device. |
AssociatedMember | Boolean true if the orphaned device is associated. |
References mlme_orphan_resp_tag::AssociatedMember, bmm_buffer_alloc(), bmm_buffer_free(), BMM_BUFFER_POINTER, mlme_orphan_resp_tag::cmdcode, CPU_ENDIAN_TO_LE16, CPU_ENDIAN_TO_LE64, LARGE_BUFFER_SIZE, MAC_SUCCESS, MLME_ORPHAN_RESPONSE, nhle_mac_q, mlme_orphan_resp_tag::OrphanAddress, qmm_queue_append(), and mlme_orphan_resp_tag::ShortAddress.