diff --git a/libs/thirdParty/fetchUpstream b/libs/thirdParty/fetchUpstream index e54327d7efa889857a1b9367c867a4e3f2a4eeb1..73f92dab0894fa98cf53019eabe9bc494845efe4 100755 --- a/libs/thirdParty/fetchUpstream +++ b/libs/thirdParty/fetchUpstream @@ -50,7 +50,7 @@ function processLib exit 0 ;; *) - echo unknown lib, possibilities are: $libList + echo unknown lib, possiblities are: $libList exit 1 esac REPLY= diff --git a/libs/thirdParty/libxbee/README b/libs/thirdParty/libxbee/README index 574cd2c76487ae150e0a96dec8b3fd652ad631ac..a5dbbfe0f3bd6fc9a433c4532221a140e283b4d4 100644 --- a/libs/thirdParty/libxbee/README +++ b/libs/thirdParty/libxbee/README @@ -7,7 +7,7 @@ site, and I will get to it ASAP: http://code.google.com/p/libxbee/issues/list -Documentation is available via the man page system once you have installed the +Documentation is avaliable via the man page system once you have installed the library, or as HTML in the 'doc' directory. $ man libxbee diff --git a/libs/thirdParty/libxbee/api.c b/libs/thirdParty/libxbee/api.c index 04280c8e988174dc34a57ee8854813a5053e1295..ef5923b56848f5c345c2712c7430919c40d676ba 100644 --- a/libs/thirdParty/libxbee/api.c +++ b/libs/thirdParty/libxbee/api.c @@ -267,7 +267,7 @@ static int xbee_sendATdelay(xbee_hnd xbee, int guardTime, char *command, char *r /* terminate the string */ retBuf[bufi] = '\0'; - xbee_log("sendATdelay: Received '%s'",retBuf); + xbee_log("sendATdelay: Recieved '%s'",retBuf); return 0; } @@ -999,7 +999,7 @@ int _xbee_vsenddata(xbee_hnd xbee, xbee_con *con, char *format, va_list ap) { } /* returns: - 1 - if NAC was received + 1 - if NAC was recieved 0 - if packet was successfully sent (or just sent if waitforACK is off) -1 - if there was an error building the packet -2 - if the connection type was unknown */ @@ -1226,14 +1226,14 @@ xbee_pkt *_xbee_getpacket(xbee_hnd xbee, xbee_con *con) { if ((p = xbee->pktlist) == NULL) { xbee_mutex_unlock(xbee->pktmutex); /*if (xbee->log) { - xbee_log("No packets available..."); + xbee_log("No packets avaliable..."); }*/ return NULL; } l = NULL; q = NULL; - /* get the first available packet for this connection */ + /* get the first avaliable packet for this connection */ do { /* does the packet match the connection? */ if (xbee_matchpktcon(xbee, p, con)) { @@ -1490,18 +1490,18 @@ static int xbee_listen(xbee_hnd xbee) { /* check it is a valid length... */ if (!l) { if (xbee->log) { - xbee_logI("Received zero length packet!"); + xbee_logI("Recived zero length packet!"); } continue; } if (l > 100) { if (xbee->log) { - xbee_logI("Received oversized packet! Length: %d",l - 1); + xbee_logI("Recived oversized packet! Length: %d",l - 1); } } if (l > LISTEN_BUFLEN) { if (xbee->log) { - xbee_logI("Received packet larger than buffer! Discarding..."); + xbee_logI("Recived packet larger than buffer! Discarding..."); } continue; } @@ -1551,7 +1551,7 @@ static int xbee_listen(xbee_hnd xbee) { /* add the checksum */ chksum += xbee_getbyte(xbee); - /* check if the whole packet was received, or something else occured... unlikely... */ + /* check if the whole packet was recieved, or something else occured... unlikely... */ if (l>1) { if (xbee->log) { xbee_logE("Didn't get whole packet... :("); @@ -1754,7 +1754,7 @@ static int xbee_listen(xbee_hnd xbee) { xbee_mutex_unlock(xbee->conmutex); /* ########################################## */ - /* if: 16 / 64bit data receive */ + /* if: 16 / 64bit data recieve */ } else if ((t == XBEE_64BIT_DATARX) || (t == XBEE_16BIT_DATARX)) { int offset; @@ -1816,7 +1816,7 @@ static int xbee_listen(xbee_hnd xbee) { for (;i>offset + 1;i--) p->data[i-(offset + 2)] = d[i]; /* ########################################## */ - /* if: 16 / 64bit I/O receive */ + /* if: 16 / 64bit I/O recieve */ } else if ((t == XBEE_64BIT_IO) || (t == XBEE_16BIT_IO)) { int offset,i2; @@ -1940,7 +1940,7 @@ static int xbee_listen(xbee_hnd xbee) { p->datalen = 0; /* ########################################## */ - /* if: Series 2 data receive */ + /* if: Series 2 data recieve */ } else if (t == XBEE2_DATARX) { int offset; offset = 10; @@ -2354,8 +2354,8 @@ static int _xbee_send_pkt(xbee_hnd xbee, t_data *pkt, xbee_con *con) { xbee_log("Waiting for ACK/NAK response..."); xbee_sem_wait1sec(con->waitforACKsem); switch (con->ACKstatus) { - case 0: xbee_log("ACK received!"); break; - case 1: xbee_log("NAK received..."); break; + case 0: xbee_log("ACK recieved!"); break; + case 1: xbee_log("NAK recieved..."); break; case 2: xbee_log("CCA failure..."); break; case 3: xbee_log("Purged..."); break; case 255: default: xbee_log("Timeout..."); diff --git a/libs/thirdParty/libxbee/doc/man/man3/libxbee.3.html b/libs/thirdParty/libxbee/doc/man/man3/libxbee.3.html index ed424df720442f81e3fc080fe8f1e7e63910bf8b..57b7f6a0c5721c77483ac1c30a3cd7c266aa78c3 100644 --- a/libs/thirdParty/libxbee/doc/man/man3/libxbee.3.html +++ b/libs/thirdParty/libxbee/doc/man/man3/libxbee.3.html @@ -38,7 +38,7 @@ or contact me (Attie) directly:
xbee_pkt(3) - libxbee's packet structure diff --git a/libs/thirdParty/libxbee/doc/man/man3/xbee_getpacket.3.html b/libs/thirdParty/libxbee/doc/man/man3/xbee_getpacket.3.html index 371d72d53643bf8a75d12bf646637783a86cfa98..45063f77369f1abf8072bb1d7e39dfcda77574d4 100644 --- a/libs/thirdParty/libxbee/doc/man/man3/xbee_getpacket.3.html +++ b/libs/thirdParty/libxbee/doc/man/man3/xbee_getpacket.3.html @@ -26,7 +26,7 @@ xbee_getpacket The xbee_getpacket() -function will return the next available packet for the provided connection. +function will return the next avaliable packet for the provided connection. It takes 1 argument.
The argument @@ -49,7 +49,7 @@ You must keep hold of the packet until you are finished with it, and then you mu it to prevent memory leaks.
-If a packet was not available for the provided connection, a +If a packet was not avaliable for the provided connection, a NULL is returned. @@ -69,7 +69,7 @@ For information on using callback functions with connections instead, please see
#include <xbee.h> diff --git a/libs/thirdParty/libxbee/doc/man/man3/xbee_newcon.3.html b/libs/thirdParty/libxbee/doc/man/man3/xbee_newcon.3.html index 16ea278a0533c308faef3d8b06ff05b7789736b8..32f085b2685782320a34654812647c3898b51a46 100644 --- a/libs/thirdParty/libxbee/doc/man/man3/xbee_newcon.3.html +++ b/libs/thirdParty/libxbee/doc/man/man3/xbee_newcon.3.html @@ -37,7 +37,7 @@ It takes at least 2 arguments, and possibly up to 4 depending on the NOTE: Packets will only be collected when they match an active connection. -You must setup a connection in order to receive packets. +You must setup a connection in order to recieve packets.The argument frameID @@ -48,7 +48,7 @@ identifies where the data is coming from or going to. The type -specifies the type of connection you would like. The following types are available: +specifies the type of connection you would like. The following types are avaliable:
diff --git a/libs/thirdParty/libxbee/doc/man/man3/xbee_pkt.3.html b/libs/thirdParty/libxbee/doc/man/man3/xbee_pkt.3.html index 8ebb809a54ff209b69012dc6e982eceaf13ed141..1859405aa7a94fb1384c2d2ba38b0ca6c4fb89df 100644 --- a/libs/thirdParty/libxbee/doc/man/man3/xbee_pkt.3.html +++ b/libs/thirdParty/libxbee/doc/man/man3/xbee_pkt.3.html @@ -51,18 +51,18 @@ and others need explaining. I will touch on the most important here:
1200 diff --git a/libs/thirdParty/libxbee/notes/v1-v2.txt b/libs/thirdParty/libxbee/notes/v1-v2.txt index 8223982f816c53f6aa00447eeea70f65061d6958..cb2e1c923dd418a905c61879eecd69ca14118613 100644 --- a/libs/thirdParty/libxbee/notes/v1-v2.txt +++ b/libs/thirdParty/libxbee/notes/v1-v2.txt @@ -21,7 +21,7 @@ XBee 2.5 0x10* ZigBee Transmit Request 0x11 Explicit Addressing ZigBee Command Frame 0x8B* ZigBee Transmit Status -0x90* ZigBee Receive Packet +0x90* ZigBee Recieve Packet 0x91 ZigBee Explicit Rx 0x92 ZigBee IO Data Sample Rx 0x94 Xbee Sensor Read