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

Revision:
6:3873db4a0164
Parent:
5:c8bb6b5d7fa0
Child:
7:3cb67634fa4e
--- a/xbee900hp.cpp	Thu Apr 30 14:02:35 2015 +0000
+++ b/xbee900hp.cpp	Thu Apr 30 17:01:46 2015 +0000
@@ -420,4 +420,11 @@
     
     return 0;
 
+}
+
+void xbee900hp::clearBuff()
+{
+    while(_pin_attn == 0) {
+        _xbeespi.write(0x00);
+    }
 }
\ No newline at end of file