ifrz / xbee_performance

Python scripts to test the performance on XBee nodes
0 stars 0 forks source link

xbee mesh network #1

Open zooz124 opened 3 years ago

zooz124 commented 3 years ago

Hi,

I don't know if this is the right place to post it, but I want to know how do you configure the router and the end device to send sensor data to the coordinator to parse it. I know how to parse it and check which is the one sending the data.

Could you help me please. Thank you very much.

ifrz commented 3 years ago

Hi,

I'm sorry but it's been a long time since I developed this, it was before I started working as a researcher and I am aware that it is very poorly documented, from what I remember, I can tell you that I only used nodes as coordinators or end device, to read the data received by the end device coordinator and publish them with mqtt I connected the rx and tx of the XBee coordinator to an ESP that make the publication, but looking at those python scripts I think that for those specific tests I used an USB XBee adapter, read the raw data and publish it via the mqtt cli on PC, just keep in mind the structure of an XBee packet and which bytes represent the data.

zooz124 commented 3 years ago

Hello,

Thanks for your answer. Yeah, the most important part is to read the xbee packet and parse the data, later it can be published to the broker via mqtt.