C2xOutputPacket
Valid for: CANoe DEFunction Syntax
long C2xOutputPacket(long packet)// form 1long C2xOutputPacket(long packet, long txPower)// form 2
Description
This function sends a WLAN packet. (form 1)This function sends a WLAN packet with a specific txPower. (form 2)
This method extends the existing
OutputPacket function and allows to send a frame with a dedicated Tx-power. It can be used in combination with the existing (old) OutputPacket function, which still uses the default-txPower defined in the Setup-Dialog or by SetSendParameters.
Note:
- Be aware that this method belongs only to the raw Output-method, the SendMsg-method for periodic transmission is not affected at all!
- This method can only be used with VN4610 hardware.
Parameters
- packet: Handle of the packet to send
- txPower: Transmission power in dBm
Return Values
- 0: Success
- ≠0: Error code