bkatko / python-xbee

Automatically exported from code.google.com/p/python-xbee
MIT License
0 stars 0 forks source link

send and receive file #42

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I sill have one question though; how can i stream or send files (images etc..) 
between two modules? I am using telegesis zigbee kit. And how do i prepare a 
transmitter (coordinator) and receiver (node)?

I would appreciate any help,

thanks in advance

Original issue reported on code.google.com by aldimsta...@gmail.com on 17 Jul 2013 at 4:36

GoogleCodeExporter commented 9 years ago
This library is quite low-level; anything fancy like transferring images or 
files you will have to do yourself. 

The basic idea is you will need to split up your data into small chunks (e.g. 
80 bytes) and send them one at a time to the remote device using a tx command 
and reassemble them on the other side as the original data. python-xbee will 
help you send messages from one device to another, but it will do no more than 
that; reassembling data and ensuring proper delivery is up to you. For more 
information about how to use python-xbee to send a tx message, see the 
documentation and the examples in the source archive, and consult the product 
manual for your device.

Unfortunately, I personally am not very familiar with the XBee ZB series of 
devices, so I can't really help you with your coordinator/node troubles. You're 
welcome to try asking our mailing list: python-xbee@googlegroups.com; perhaps 
someone on the list can help you.

Original comment by pmalms...@gmail.com on 19 Jul 2013 at 1:06