A libery to connect to telegesis zigbee module. Bassed on implemtation of XBEE

Fork of xbee_lib by Tristan Hughes

Revision:
10:263f7251c111
Parent:
9:c8e4339ccc29
Child:
11:18ff088287ea
--- a/telegesis.h	Sun Oct 13 10:13:35 2013 +0000
+++ b/telegesis.h	Sun Oct 13 20:49:23 2013 +0000
@@ -29,34 +29,36 @@
       * @param numchar Number of characters to read. If 0, will use the size of data_buf.
       */
     void RecieveData(char*, int);
-    /** Read data from zigbee
-      */
-      
+    /** Get hw version and local ID (64bit uniq number) 
+      *
+      */      
     int ATI();
-    /**  
+    /** Sends a ping to Coo or any other adresse   
       *  
       */
     int PingOut();
-    /** Sends a ping to Coo   
+    /** Scan the Pan for nodes   
       */
     int PanScan();
-    /** Scan the Pan for nodes   
+    /** Make a new network. It then gets the role as coordinator
       */
     int Establish_Network();
-    /**    
+    /** Join a pan      
       */
     int JoinNetwork();
-    /** Join a pan   
+    /** 
+      * Scan network       
       */
     int ScanNetwork();    
-    /** Scan network   
+    /**
+      *Give info on what role the modem has in the network   
       */    
+      
    int NetworkInfo();    
-    /** Give info on what role the modem has in the network   
+    /** 
       */    
     /** Sends data using the ascii mode    
-      */      
-      
+      */            
    int UniCast(char *adr,char *payload);
     /** Sends data using the binary mode    
       */      
@@ -64,7 +66,7 @@
    /** Pulls Resetpin
    */
    void Reset();
-   
+      
    /** converts a string to a long
    */    
    unsigned long hexToLong(const char *hex);