niolabs / python-xbee

Python tools for working with XBee radios
MIT License
101 stars 45 forks source link

Speed seems slow #35

Closed liutairan closed 7 years ago

liutairan commented 7 years ago

I am using several XBees (S2 ZigBee). One of them was set to API 1 mode as Coordinator, all the others were set to AT mode as Routers. I use the coordinator send out tx command to routers request for data, once routers receive the command, they will decide which data to send back. Then the coordinator receives data. I am only sending out data request to one router currently but it seems very slow. The data packages are very small, less than 30 bytes. Is there a way to make this process faster? Currently the whole process takes almost 1 sec for one loop. I wish to have it about 0.02s, i.e., 50Hz.

Thanks~

liutairan commented 7 years ago

Forget it, my problem.