1.2.7.4.1 SRV_RSNIFFER_GetCommand Function
C
SRV_RSNIFFER_COMMAND SRV_RSNIFFER_GetCommand ( uint8_t* pData );
Summary
Extracts Command field from Sniffer frame.
Description
Takes Sniffer frame as parameter and extracts the Command field from the expected position in buffer.
Precondition
None.
Parameters
Param | Description |
---|---|
pData | Pointer to buffer containing Sniffer frame |
Returns
Command in the form of SRV_RSNIFFER_COMMAND Enum.
Example
SRV_RSNIFFER_COMMAND command; /* Process received message from Sniffer Tool */ command = SRV_RSNIFFER_GetCommand(pData);
Remarks
None.