This module describes all MCL Response API's.
Functions | |
void | mlme_associate_response (uint8_t *m) |
Entry point from the stack for MLME associate response. More... | |
void | mlme_orphan_response (uint8_t *m) |
Implements the MLME-ORPHAN.response. More... | |
void mlme_associate_response | ( | uint8_t * | m | ) |
Entry point from the stack for MLME associate response.
The MLME associate response primitive is used to initiate a response to a MLME association indication primitive.
m | Pointer to association response parameters |
References ASSOC_RESP_PAYLOAD_LEN, ASSOCIATIONRESPONSE, mlme_associate_resp_tag::AssocShortAddress, bmm_buffer_free(), BMM_BUFFER_POINTER, convert_16_bit_to_byte_array(), convert_64_bit_to_byte_array(), convert_spec_16_bit_to_byte_array(), mlme_associate_resp_tag::DeviceAddress, FCF_ACK_REQUEST, FCF_FRAMETYPE_MAC_CMD, FCF_LONG_ADDR, FCF_PAN_ID_COMPRESSION, FCF_SET_DEST_ADDR_MODE, FCF_SET_FRAMETYPE, FCF_SET_SOURCE_ADDR_MODE, indirect_data_q, frame_info_tag::indirect_in_transit, LARGE_BUFFER_SIZE, mac_check_persistence_timer(), MAC_COORDINATOR, mac_pib_tag::mac_DSN, mac_mlme_comm_status(), MAC_PAN_COORD_STARTED, mac_pib, mac_state, MAC_TRANSACTION_OVERFLOW, mac_pib_tag::mac_TransactionPersistenceTime, frame_info_tag::mpdu, frame_info_tag::msg_type, frame_info_tag::persistence_time, qmm_queue_append(), QUEUE_FULL, mlme_associate_resp_tag::status, and tal_pib.
void mlme_orphan_response | ( | uint8_t * | m | ) |
Implements the MLME-ORPHAN.response.
The MLME-ORPHAN.response primitive allows the next higher layer of a coordinator to respond to the MLME-ORPHAN.indication primitive. The MLME-ORPHAN.response primitive is generated by the next higher layer and issued to its MLME when it reaches a decision about whether the orphaned device indicated in the MLME-ORPHAN.indication primitive is associated.
m | Pointer to the message. |
References MAC_CHANNEL_ACCESS_FAILURE, mac_mlme_comm_status(), mac_tx_coord_realignment_command(), ORPHANREALIGNMENT, and tal_pib.