C
static void LowLevel_CAGetElement( UINT8 elementId, UINT8 * p_elementData, UINT8 elementDataLength, UINT8 dataReadAction );
Description
Low-level function to send the appropriate management message to the MRF24W to get the Connection Algorithm element.
Preconditions
MACInit must be called first.
Parameters
Parameters |
Description |
elementId |
Element that is being read |
p_elementData |
Pointer to where element data will be written |
elementDataLength |
Number of element data bytes that will be read |
dataReadAction |
If TRUE then read data per paramters and free mgmt response buffer. If FALSE then return after response received, do not read any data as the caller will do that, and don't free buffer, as caller will do that as well. |
Returns
None.
Remarks
All Connection Algorithm 'Get Element' functions call this function to construct the management message. The caller must fix up any endian issues after getting the data from this function.