<OnC2xPacket> (Callback)
Valid for: CANoe DE
NoteThis callback must be implemented in the CAPL program by the user to use the function C2xReceivePacket or the function C2xRegisterCallback for Receive Indications.
Function Syntax
Description
This callback is called when a registered WLAN packet is received. Within this callback the following functions can be used to retrieve the received packet data:- C2xGetThisData
- C2xGetThisTimeNS
- C2xGetThisValue8
- C2xGetThisValue16
- C2xGetThisValue32
- C2xGetThisValue64
- C2xGetThisMotorolaValue16
- C2xGetThisMotorolaValue32
- C2xGetThisMotorolaValue64
Parameters
- channel: WLAN channel on which the packet was received
- dir: Direction of the packet
- 0: Rx
- 1: Tx
- radioChannel: Radio channel, i.e. 176 or 180
- signalStrength: Signal strength of the received packet in [dBm]
- signalQuality: Signal quality of the received packet
- packet: Handle of the received packet