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

Fork of xbee_lib by Tristan Hughes

Revision:
9:c8e4339ccc29
Parent:
8:4682155753ec
Child:
10:263f7251c111
--- a/telegesis.h	Sun Oct 13 10:00:23 2013 +0000
+++ b/telegesis.h	Sun Oct 13 10:13:35 2013 +0000
@@ -54,24 +54,35 @@
    int NetworkInfo();    
     /** Give info on what role the modem has in the network   
       */    
-      
-   void UniCast(char *adr,char *payload);
     /** Sends data using the ascii mode    
       */      
-   void UniCastb(char *adr,char *payload, char payloadSize);      
+      
+   int UniCast(char *adr,char *payload);
     /** Sends data using the binary mode    
       */      
-   
+   int UniCastb(char *adr,char *payload, char payloadSize);      
+   /** Pulls Resetpin
+   */
    void Reset();
    
+   /** converts a string to a long
+   */    
    unsigned long hexToLong(const char *hex);
-   /** converts a string to a long
-   */ 
-   unsigned int hexToInt(const char *hex)
    /** convertes a string to a int
    */
-   
+   unsigned int hexToInt(const char *hex);
+   /**
+   */
    int EUI64;  
+   /** COO or FBB
+   */
    char Devicetype[3];
-   int channel, NodeID, EPID;
+   /** Gives type of HW
+   */
+   char HWType[15];
+   /** incomming data
+   */
+   char Zdata[100]; 
+   
+   int channel, NodeID, EPID,framesize;
 };
\ No newline at end of file