-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathREADME
More file actions
25 lines (18 loc) · 975 Bytes
/
README
File metadata and controls
25 lines (18 loc) · 975 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
== XBEE Driver ==
This is a Linux kernel driver that allows you to use a Digi Xbee module in API
mode through a network interface. It uses a line discipline to talk to the
module through the serial port. The adaptation of Zigbee PAN to IP LAN is done
by adding an IP broadcast header to all incoming packets, and using the first 8
bytes of outgoing packets as the destination 802.15.4 hardware address. A
utility daemon is provided to setup the serial port's baud rate and other
parameters, and to attach the line discipline once loaded into the running
kernel.
To build:
- Change KERNELDIR in Makefile to the location of your kernel tree
- Change CC in Makefile to the gcc [cross-]compiler for your system
- make
To use:
- insmod n_xbee.ko
- Run ldisc_daemon with the serial port and baud rate of the Xbee module to attach
the line discipline to the serial port. It will automatically fork into the background.
- Configure the network interface (xbee0) with ifconfig