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

ParamDescription
pDataPointer to buffer containing Sniffer frame

Example

SRV_RSNIFFER_COMMAND command;

/* Process received message from Sniffer Tool */
command = SRV_RSNIFFER_GetCommand(pData);

Remarks

None.