XBee library for ARM

425 views
Skip to first unread message

sholmes mac

unread,
Oct 4, 2012, 9:41:29 AM10/4/12
to lib...@googlegroups.com
Hi, does anyone know how to find the XBee library that supports ARM microcontrollers, such as LPC1769?

Attie Grande

unread,
Oct 4, 2012, 9:50:30 AM10/4/12
to sholmes mac, lib...@googlegroups.com
Hi Sholmes,

The source is readily available from the git repo, here: http://code.google.com/p/libxbee/source/checkout?repo=libxbee-v3
Alternatively you can download a source tarball of the latest code from here: http://goo.gl/wlbg2

I presume you will be cross-compiling, so locate your toolchain and do the following in the libxbee source directory:
  1. Run `make configure`
  2. Edit 'config.mk', being sure to set the CROSS_COMPILE variable, and optionally some compile/link flags.
  3. Run 'make' - this should build you the shared and static libraries, which can be found in ./lib
  4. Check that they are built for ARM by running `file $(readlink -f lib/libxbee.so)`
Please feel free to reply if you have any issues!

    Attie

attie.co.uk  |  at...@attie.co.uk


On 4 October 2012 14:41, sholmes mac <sholm...@gmail.com> wrote:
Hi, does anyone know how to find the XBee library that supports ARM microcontrollers, such as LPC1769?

--
You received this message because you are subscribed to the Google Groups "libxbee" group.
To post to this group, send an email to lib...@googlegroups.com.
To unsubscribe from this group, send email to libxbee+u...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msg/libxbee/-/n3_cMwY1m4wJ.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Message has been deleted
Message has been deleted

Nayaka

unread,
Nov 2, 2013, 10:39:13 AM11/2/13
to lib...@googlegroups.com, sholmes mac
Hi Attie,

May I know how I can use this library for my ARM microcontroller? I'm programming it with the Atmel Studio IDE using C.

I'm trying to follow the first sample in your getting started guide. I see "/dev/ttyUSB0" is set as an argument to the xbee_setup. I have the xbee connected to the Sparkfun XBee Explorer board, which then connected to my microcontroller via its UART pins (RX and TX). How should I replace the "/dev/ttyUSB0" to get my code working?

Attie Grande

unread,
Nov 2, 2013, 1:56:43 PM11/2/13
to Nayaka, libxbee

Hi Nayaka,

Are you running Linux on your ARM micro? If not, then I'm afraid you can't use libxbee - it's designed to be run on top of an OS.

Attie

On 2 Nov 2013 13:40, "Nayaka" <aj...@nikicio.com> wrote:
Hi Attie,

May I know how I can use this library for my ARM microcontroller? I'm programming it with the Atmel Studio IDE using C

On Thursday, October 4, 2012 9:50:32 PM UTC+8, Attie wrote:
To unsubscribe from this group and stop receiving emails from it, send an email to libxbee+u...@googlegroups.com.

To post to this group, send an email to lib...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages