LW_Mesh LQI and RSSI retrieval

Go To Last Post
2 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hi !

I would like to achieve something like routing table in BitCloud but on LW_MESH.

To be more precise I would like to get LQI and RSSI form every node, I know how to extract that form:

static bool appDataInd(NWK_DataInd_t *ind)

but how to know e.g. which node has delivered message to node on which I read LQI and RSSI (it could be direct bond sender->receiver or it could be bond through ROUTER).

Thank you !

Last Edited: Fri. Oct 16, 2015 - 01:41 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

You can find out if message was received directly from a neighbor device by checking NWK_IND_OPT_LOCAL flag in ind->options.

But if message was not local, there is no way to know what device has forwarded it. It is easy enough to fix if you need it. Add corresponding entry in NWK_DataInd_t and assign it in nwkRxIndicateFrame().

NOTE: I no longer actively read this forum. Please ask your question on www.eevblog.com/forum if you want my answer.