Open homonto opened 9 months ago
Thanks, I'll have a look to this.
I use wifi_promiscuous_pkt_type_t
to get RSSI value directly from memory buffer without using promiscuous mode. I guess using that mode may affect WiFi connection if STA or AP mode is active. Have you tested this?
I use
wifi_promiscuous_pkt_type_t
to get RSSI value directly from memory buffer without using promiscuous mode. I guess using that mode may affect WiFi connection if STA or AP mode is active. Have you tested this?
all my gateways (3) I am using for ESPnow are using the function I described above and no problem with wifi neither STA nor AP mode
Hi,
While browsing your library I found you have a problem with RSSI:
quickEspNow.dataRcvd (rxMessage.srcAddress, rxMessage.payload, rxMessage.payload_len, rxMessage.rssi, broadcast); // rssi should be in dBm but it has added almost 100 dB. Do not know why
this is because, you should get rssi from another function - another place: in the timeframe of receiving the message from the sender. I did it this way:
first callback function definition:
then assignment:
This works for me Question is now: how to assign this rssi from callback to your function dataRcvd(...). What I did is: another structure, update of the field "rssi" in promiscuous_rx_cb() and then using it according to the need.
When I tried your version the rssi is random, not consistent with the real rssi between the sending device and the receiving device
Hopefully it makes sense and is helpful - if you implement it in your library let me know please.