Link Quality Indicator (LQI) API for ESP8266 family

rupak426
Posts: 23
Joined: Fri Apr 15, 2016 2:16 am

Link Quality Indicator (LQI) API for ESP8266 family

Postby rupak426 » Mon Mar 27, 2017 2:40 am

Hi,

I am trying to get the distance from the ESP8266 chip. I am getting the RSSI value which is not very reliable. I am planning to use Link Quality Indicator (LQI) . But I am not able to find any API for the same.
Can anyone provide me the API for LQI for ESP-8266.

For example, in the MC13224v by Freescale,the formula of computing LQI in MC13224v is as follows:
LQI(dBm) = (LQI(dec)/3− 100)

In the API provided by MC13224v, the function MLMELinkQuality() can be used to return a pointer referring to a 8-bit LQI value.

thanks,
Rupak

User avatar
pratik
Posts: 450
Joined: Wed Jun 29, 2016 7:17 pm
Location: India
Contact:

Re: Link Quality Indicator (LQI) API for ESP8266 family

Postby pratik » Thu Mar 30, 2017 12:32 am

The RSSI indicator is what you get right now in the SDK. We may add other APIs in future SDK releases.
Note that because multipath propagation effects rule in indoor applications, RSSI is not the way you should measure distances. LQI may work, but not sure how much you can trust that either.
Regards,
Pratik Panda
Website: http://www.PratikPanda.com

Custom firmware, Knowledge base and freelancing (ESP8266/ESP32):
http://www.iot-bits.com

rupak426
Posts: 23
Joined: Fri Apr 15, 2016 2:16 am

Re: Link Quality Indicator (LQI) API for ESP8266 family

Postby rupak426 » Fri Mar 31, 2017 2:06 am

Hi Pratik,

I am aware of these two indicators for distance measurement. Is there any other API/indicator present for distance measurement in 8266 family. I need that for my project which is for indoor application.

thanks,
Rupak

Who is online

Users browsing this forum: No registered users and 4 guests