mBed RFM12B module library

Dependents:   _EXAMPLE_RFM12B

Fork of RF12B by Sukkin Pang

RFM12B Library

The main purpose of this library was to implement the RFM12B module in order to be able to establish communication with the Moteino (arduino clone that uses the RFM12B).

In order to achieve my goal I was highly inspired by RF12B library from pangsk https://mbed.org/users/pangsk/ and by RFM12B arduino library made by Felix Rusu (http://lowpowerlab.com/blog/2012/12/28/rfm12b-arduino-library/)

Who/What is Moteino? (http://lowpowerlab.com/moteino/)

Revision:
7:19d9da22271a
Parent:
6:52322349ee10
Child:
8:7d282360721a
diff -r 52322349ee10 -r 19d9da22271a RFM12B.h
--- a/RFM12B.h	Thu May 30 22:05:50 2013 +0000
+++ b/RFM12B.h	Thu May 30 22:11:42 2013 +0000
@@ -82,7 +82,8 @@
     TXCRC1, TXCRC2, TXTAIL, TXDONE, TXIDLE, TXRECV, TXPRE1, TXPRE2, TXPRE3, TXSYN1, TXSYN2,
 };
 
-class RFM12B {
+class RFM12B
+{
 
 public:
     /* Constructor */
@@ -97,7 +98,7 @@
 
     void SendStart(uint8_t toNodeId, bool requestACK = false, bool sendACK = false);
     void SendStart(uint8_t toNodeId, const void* sendBuf, uint8_t sendLen, bool requestACK = false,
-            bool sendACK = false);
+                   bool sendACK = false);
     void SendACK(const void* sendBuf = "", uint8_t sendLen = 0);
     void Send(uint8_t toNodeId, const void* sendBuf, uint8_t sendLen, bool requestACK = false);