Synchronous function to transmit a WIFI RAW packet while the implementation of this packet is left to the application developer.
◆ m2m_wifi_send_wlan_pkt()
- Parameters
-
[in] | pu8WlanPacket | Pointer to a buffer holding the whole WIFI frame. |
[in] | u16WlanHeaderLength | The size of the WIFI packet header ONLY. |
[in] | u16WlanPktSize | The size of the whole bytes in packet. |
- See also
- m2m_wifi_enable_monitoring_mode m2m_wifi_disable_monitoring_mode
- Precondition
- Enable Monitoring mode first using m2m_wifi_enable_monitoring_mode
- Warning
- This function available in monitoring mode ONLY.
- Note
- Packets are user's responsibility.
- Returns
- The function returns M2M_SUCCESS for successful operations and a negative value otherwise.