niolabs / python-xbee

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

API-mode tx frame #33

Closed almeidaErick closed 7 years ago

almeidaErick commented 7 years ago

When I send a frame from python "tx frame" to another digimesh connected using XCTU to check the received packets, from 10 packets sent only arrives 1. Please help me with that if I am forgetting to sent any API command or something. NOTE: I tested both digimesh using XCTU and both can receive and send packets correctly, so it must be the API in python the problem, but I have no idea what.

this is my tx frame xbee.send("tx", frame_id="G", dest_addr=destination, data=message)

destination: the destination address data: the message to be sent (ASCII)

jamesleesaunders commented 7 years ago

Did you ever get a conclusion to this? Is this still an issue?

BenTheNinjaRock commented 7 years ago

If your message to be sent exceeds the maximum payload (which can be found in XCTU) the packet will be dropped. Maybe that's it?