Library for HopeRF RFM22 / RFM22B transceiver module ported to mbed. Original Software from Mike McCauley (mikem@open.com.au) . See http://www.open.com.au/mikem/arduino/RF22/

Dependents:   RF22_MAX_test_Send Geofence_receiver Geofence_sender Geofence_sender ... more

More Info about RFM22-modules like connecting and a demo-program see RF22-Notebook

Revision:
5:0386600f3408
Parent:
0:79c6d0071c4c
--- a/RF22Router.h	Sun Feb 19 21:12:10 2012 +0000
+++ b/RF22Router.h	Sat Mar 02 20:49:07 2013 +0000
@@ -2,7 +2,7 @@
 //
 // Author: Mike McCauley (mikem@open.com.au)
 // Copyright (C) 2011 Mike McCauley
-// $Id: RF22Router.h,v 1.7 2011/02/15 01:18:03 mikem Exp $
+// $Id: RF22Router.h,v 1.8 2012/05/30 01:51:25 mikem Exp $
 // ported to mbed by Karl Zweimueller
 
 #ifndef RF22Router_h
@@ -172,7 +172,7 @@
     /// Constructor. 
     /// \param[in] thisAddress The address to assign to this node. Defaults to 0
     /// \param[in] slaveSelectPin the Arduino pin number of the output to use to select the RF22 before
-    /// accessing it
+    /// accessing it. Defaults to the normal SS pin for your Arduino (D10 for Diecimila, Uno etc, D53 for Mega)
     /// \param[in] interrupt The interrupt number to use. Default is interrupt 0 (Arduino input pin 2)
     //RF22Router(uint8_t thisAddress = 0, uint8_t slaveSelectPin = 10, uint8_t interrupt = 0);
     RF22Router(uint8_t thisAddress ,PinName slaveSelectPin , PinName mosi, PinName miso, PinName sclk, PinName interrupt );
@@ -213,11 +213,9 @@
     /// local routing table
     void clearRoutingTable();
 
-#ifdef RF22_HAVE_SERIAL
     /// If RF22_HAVE_SERIAL is defined, this will print out the contents of the local 
     /// routing table using Serial
     void printRoutingTable();
-#endif
 
     /// Sends a message to the destination node. Initialises the RF22Router message header 
     /// (the SOURCE address is set to the address of this node, HOPS to 0) and calls 
@@ -323,4 +321,3 @@
 };
 
 #endif
-