1.2.2.4.1 SRV_PSNIFFER_GetCommand Function

C

SRV_PSNIFFER_COMMAND SRV_PSNIFFER_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_PSNIFFER_COMMAND command;

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

Remarks

None.