ESP8266 RSSI of received packet
-
- Posts: 10
- Joined: Fri Jul 03, 2015 11:35 pm
ESP8266 RSSI of received packet
Postby prismatics » Fri Jul 03, 2015 11:45 pm
Is it possible to get the RSSI value from an received packet while the WiFi is in WIFI_STA mode without being in promiscuous mode? Can you tell me the register address/offset which can be read with "READ_PERI_REG()" which is mapped to the WiFi hardware specific registers (rssi value)?
Have a nice day,
Christian
Re: ESP8266 RSSI of received packet
Postby ESP_Faye » Mon Jul 06, 2015 10:19 am
wifi_station_get_rssi to get RSSI of the AP which ESP8266 station is connected to.
wifi_station_scan to get RSSI of AP which nearby, here is a sample code of scanning routers http://bbs.espressif.com/viewtopic.php?f=21&t=229
Thanks for your interest in Espressif Systesms and ESP8266 !
-
- Posts: 10
- Joined: Fri Jul 03, 2015 11:35 pm
Re: ESP8266 RSSI of received packet
Postby prismatics » Mon Jul 06, 2015 1:14 pm
This is the RSSI value for the last beacon frame. What I need, is the RSSI from the radio tap header which is added by the wifi hardware when a packed is received. In promiscuous mode, the RSSI can be found in the packet which is given as an argument to the wifi promiscuous callback function (standard IEEE802.11 packet, look out for "RxControl" in the datasheet). What I need now is the RSSI value from a packet which is received in WIFI_STA mode. I hope you can help me

Have a nice day,
Christian
-
- Posts: 10
- Joined: Fri Jul 03, 2015 11:35 pm
Re: ESP8266 RSSI of received packet
Postby prismatics » Mon Jul 06, 2015 9:31 pm
It seems that a received packet is parsed in a JSON-Tree called _ctx. If this is true, how do I acces the element containing the RSSI?
Re: ESP8266 RSSI of received packet
Postby ESP_Faye » Tue Jul 07, 2015 2:09 pm
Sorry that we don’t have the RSSI value from a packet which is received in WIFI_STA mode.
RSSI can only be got by APIs I listed above.
Sorry for the inconvenience.
-
- Posts: 10
- Joined: Fri Jul 03, 2015 11:35 pm
Re: ESP8266 RSSI of received packet
Postby prismatics » Tue Jul 07, 2015 6:13 pm
Thank you very much for your fast answer.
Currently, we are developing our prototype on your ESP8266 and we urgently need the RSSI value on a per-packet basis in WIFI_STA mode.
My point is:
I believe that the API does not allow to read the RSSI on a per-packet basis, but if you can read the RSSI in promiscuous mode (which actually works very well), there must be a register somewhere in the WiFi-hardware which can be read to get the RSSI value.
Have a nice day,
Christian

Re: ESP8266 RSSI of received packet
Postby ESP_Faye » Wed Jul 08, 2015 10:34 am
Sorry that we don't have such API or register.
Why you need RSSI for every packet ?
wifi_station_get_rssi is almost the RSSI of every packet, it is the average RSSI of several packet.
And the wifi_station_scan can get RSSI of APs nearby.
-
- Posts: 10
- Joined: Fri Jul 03, 2015 11:35 pm
Re: ESP8266 RSSI of received packet
Postby prismatics » Wed Jul 08, 2015 3:44 pm
We are coming from Ruhr-Universität-Bochum and we are doing research in the area of indoor localization systems. If we had the RSSI value on a per-packet basis, we believe we could enhance the precision and do other incredible stuff with the ESP8266. Without this crucial component (the RSSI value), we would be forced to transition away from the ESP8266 to other competitive products.
Please let me know if there is any news.
Kind regards,
Christian
Who is online
Users browsing this forum: No registered users and 93 guests
Login
Newbies Start Here
Are you new to ESP8266?
Unsure what to do?
Dunno where to start?
Start right here!
Latest SDK
Documentation
Complete listing of the official ESP8266 related documentation release by ESPRESSIF!
Must read here!
- All times are UTC+08:00
- Top
- Delete all board cookies
About Us
Espressif Systems is a fabless semiconductor company providing cutting-edge low power WiFi SoCs and wireless solutions for wireless communications and Internet of Things applications. We are the manufacturer of ESP8266EX.