Comments (4)
Hi @bennevados,
Keep in mind that:
- Source routing must be used with many-to-one route requests (see Source routing)
- You must acquire the route and not set the route you want using a 0x21 frame (see Acquire source routes)
- Routes must be stored as they are received to be used later (see Store source route and Send a source routed transmission)
- DB command reports the RSSI of the last received packet or APS acknowledment. It only indicates the value for the last hop and it is not accurate for a multihop link, that is what you are mainly using with source routing (see DB (Last Packet RSSI))
Best Regards
from xbee-python.
Just to address all of your points:
- Source routing and many-to-one route requests are being used.
- Only using acquired routes and not being able to set routes is is contradicted by (1) a reply I received from digi's tech support, and (2) my experience using this feature.
- This is the key point of this issue: the library specifically reverses the received source route from the XBee but does not re-reverse the same source route before sending it to the XBee. If the XBee provides the route to this library in D, C, B order, then this library will provide it to the application in B, C, D order. When the application provides the route in B, C, D order, that is then sent to the XBee in B, C, D order which does not match the original XBee provided route.
- I can confirm that the DB command is not always accurate for a multihop link at least due to automatic route healing/discovery and early route end. It is however useful enough to get some information. It would be nice if the XBee's ZigBee firmware stored some information about RSSI that could be queried, but as far as I can tell this information is unavailable. (Though stored RSSI information is available in the XBee's DigiMesh firmware.)
Based on my answers above (specifically point 3), I still believe there is an issue with this library's implementation.
from xbee-python.
Hi @bennevados,
Issue solved in commit 0cb53bd.
This fix will be included in the next release.
Thanks for reporting.
from xbee-python.
Thank you, @tatianaleon! That was very fast.
from xbee-python.
Related Issues (20)
- Sending HTTP request after getting packet from Xbee HOT 1
- GettingStarted Code Returns Cannot Import Name XbeeDevice HOT 1
- add_io_sample_received_callback() always using the same remote device HOT 3
- How to receive io samples from one specific node on a network?
- Accessing LQI value HOT 2
- [REQUEST] Open ZigBee Coordinator Backup Format support for Zigbee network backups and restoring from and to Digi XBee 3 Zigbee 3 RF modules HOT 1
- `Serial exception while reading: device reports readiness to read but no returned data HOT 1
- How can I change AP mode to 0 or 2? HOT 3
- Need help with Xmodem HOT 9
- Problems getting the LQI value HOT 4
- Node timeout doesn't work in my script HOT 4
- except TimeoutException, ex: HOT 1
- OTA Failure
- Can't set channel via library. HOT 1
- Large delay in continuous read_data() operations HOT 6
- Broadcast other node information in a mesh network HOT 7
- Error while trying to get 64-bit address of XBee HOT 2
- Reading sensor data using SMT development board HOT 2
- Extracting Transmit Statis for coordinator device HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from xbee-python.