![]() |
WINC1500 IoT Software APIs
19.5.2
WINC Software API Reference Manual
|
Functions | |
NMI_API sint8 | m2m_wifi_send_wlan_pkt (uint8 *pu8WlanPacket, uint16 u16WlanHeaderLength, uint16 u16WlanPktSize) |
Detailed Description
Synchronous function to transmit a WIFI RAW packet while the implementation of this packet is left to the application developer.
Function Documentation
◆ m2m_wifi_send_wlan_pkt()
NMI_API sint8 m2m_wifi_send_wlan_pkt | ( | uint8 * | pu8WlanPacket, |
uint16 | u16WlanHeaderLength, | ||
uint16 | u16WlanPktSize | ||
) |
- 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.
- 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.
Generated on Thu Jan 26 2017 22:15:21 for WINC1500 IoT Software APIs by
