Closed ovaag closed 5 years ago
Hi @ovaag , the wlan.send_raw
should be given a valid raw raw ieee80211 frame.
Currently only support for sending beacon/probe request/probe response/action and non-QoS data frame
Thanks, it worked out! Do you have any tips for a good callback routine on the receiver side of these wlan.send_raw() packets?
@ovaag , I think you mean a use case to capture wifi packets (promiscuous mode), if so there is an example here on how to use that: https://development.pycom.io/firmwareapi/pycom/network/wlan/
Could you please show me how you used it to send Beacon and request/probe frames?
Thank you!
Board: Fipy Basic connection: Pytrack Firmware version: (sysname='FiPy', nodename='FiPy', release='1.20.0.rc11', version='v1.9.4-0a38f88 on 2019-05-14', machine='FiPy with ESP32', lorawan='1.0.2', sigfox='1.0.1')
Hi! I am trying to use wlan for sending raw data with the function wlan.send_raw(). I've already updated the firmware in order to get access to the newly implemented promiscuous mode.
The code I'm running can be seen below
Returns this fault message:
After looking into the release candidate branch( https://github.com/pycom/pycom-micropython-sigfox/blob/release-candidate/esp32/mods/modwlan.c#L1999 ), I found that before the data is sent, a function esp_wifi_80211_tx(ifx, value_bufinfo.buf, value_bufinfo.len, args[2].u_bool) generates my fault message.