Skip to content

A low-level 802.15.4 serial bridge for CC2531 dongles

Notifications You must be signed in to change notification settings

srhg/zag-bridge-firmware

Repository files navigation

Zag Bridge

This is an open-source bridge between the 802.15.4 radio interface on a Texas Instruments CC2531 USB dongle and a host computer. A host program is intended to handle all communications, especially zag-bridge.

This project is based heavily on Frans-Willem's ZigbeeRadioBridge project. It uses a more condensed and incompatible serial protocol.

Libraries and tools used

Zag Bridge uses the legacy Contiki OS for it's radio driver and infrastructure. Furthermore it relies on Small Device C Compiler (SDCC) for its compiler. SDCC is a moiving target, and contiki is quite picky which version it will work with. Inluded are scripts to setup SDCC and Contiki. Subversion is required to check out SDCC sources.

Building

To build, execute the following commands:

git clone --recursive https://github.com/srhg/zag-bridge-firmware
./setup.sh
source export.sh
make

You should then have a file named "zag_bridge.hex" that you can flash to the dongle using cc-tool.

cc-tool -e -w zag_bridge.hex

License

Zag Bridge is licensed under the GNU General Public License, version v3.0. See LICENSE-gpl-3.0.txt or the online version for more information.

Contiki is licensed under the 3-clause BSD license.

About

A low-level 802.15.4 serial bridge for CC2531 dongles

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published