Hi Pedro,
This looks very possible, though after reading the libxbee man pages, it
seems you need to full port and baud rate for each device.
Sending and receiving data seems easy. How do you query the zigbee network
to find devices?
Paul
On Mon, Aug 13, 2012 at 7:24 AM, Pedro Côrte-Real <[email protected]> wrote:
> Hi everyone,
>
> I've been investigating ways to create wireless sensor networks. I
> read through "Building Wireless Sensor Networks: with ZigBee, XBee,
> Arduino, and Processing" and although it's a bit of a Xbee marketing
> book it's pretty interesting and straightforward. The projects
> described there all use either an Arduino or direct I/O on the Xbee
> boards to read sensors but it seems to me onewire would be a very
> interesting option instead. All the Xbee boards have an integrated
> UART, so they can just be connected directly to a DS2480B and you have
> a onewire bus over wireless, instead of each installation being a
> one-off with special code/build.
>
> It would be great if owfs supported this type of connection. It
> shouldn't be too hard. The Xbee radios have two modes:
>
> - AT mode, where you have a few AT commands to control the board but
> mostly it functions as a serial line that just happens to be wireless
> - API mode, where you actually send it frames back and forth.
>
> In AT mode the Xbee will work transparently as a serial line. So for a
> 1-1 connection this can work now without any modifications. Just setup
> the serial line with the AT commands and then run owserver/owfs on it.
> I ordered a couple of radios to try this out.
>
> But if you want to take full advantage of the Xbee network you need to
> use the API mode. In API mode you basically have a packet network. You
> can have open sessions with several other Xbee radios. So in this mode
> owserver/owfs would have to know how to open these several sessions
> and talk to the several masters at the same time. I had a look around
> and all of that is nicely encapsulated in a C library called libxbee
> (http://code.google.com/p/libxbee/). So my idea is that owfs could
> have a xbee backend just like it has an usb backend so you'd just run:
>
> $ owserver -x all
>
> or
>
> $ owserver -x <list of 64bit zigbee IDs>
>
> And have the DS2480B roots show up somewhere on the filesystem. After
> that everything can just use the same software.
>
> Any comments or ideas?
>
> Pedro
>
> [1]
> http://www.amazon.co.uk/Building-Wireless-Sensor-Networks-Processing/dp/0596807732/ref=sr_1_1?ie=UTF8&qid=1344856131&sr=8-1
>
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> Owfs-developers mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/owfs-developers
>
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Owfs-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/owfs-developers