This is an experimental driver for the XBee 900 HP pro module's SPI connection. This driver is unfinished and stability is not guaranteed. Use with caution.
Dependents: Sentinel_BASE Sentinel_NODE
Diff: xbee900hp.cpp
- Revision:
- 5:c8bb6b5d7fa0
- Parent:
- 4:4083baa871fb
- Child:
- 6:3873db4a0164
--- a/xbee900hp.cpp Wed Apr 29 23:58:46 2015 +0000 +++ b/xbee900hp.cpp Thu Apr 30 14:02:35 2015 +0000 @@ -74,8 +74,9 @@ //bcast radius _xbeespi.write(0x00); - //transmit options 0x00 to disable ACK - _xbeespi.write(0x00); + //transmit options 0xC0 to enable digimesh + _xbeespi.write(0xC0); + checksumsub += 0xC0; // dat data for (int i = 0; i < (length - 1); i++) {