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.
<P>
The argument
@ -49,7 +49,7 @@ You must keep hold of the packet until you are finished with it, and then you mu
@@ -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.
<P>
If a packet was not available for the provided connection, a
If a packet was not avaliable for the provided connection, a
<B>NULL</B>
is returned.
@ -69,7 +69,7 @@ For information on using callback functions with connections instead, please see
@@ -69,7 +69,7 @@ For information on using callback functions with connections instead, please see
<ANAME="lbAF"> </A>
<H2>EXAMPLE</H2>
To receive a packet from a previously made connection:
To recieve a packet from a previously made connection:
@ -37,7 +37,7 @@ It takes at least 2 arguments, and possibly up to 4 depending on the
@@ -37,7 +37,7 @@ It takes at least 2 arguments, and possibly up to 4 depending on the
<B>NOTE:</B>
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.
<P>
The argument
<I>frameID</I>
@ -48,7 +48,7 @@ identifies where the data is coming from or going to.
@@ -48,7 +48,7 @@ identifies where the data is coming from or going to.
The
<I>type</I>
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:
<DLCOMPACT>
<DT><B>xbee_localAT</B>
@ -57,11 +57,11 @@ communicates AT commands with the local XBee
@@ -57,11 +57,11 @@ communicates AT commands with the local XBee
<DT><B>xbee_txStatus</B>
<DD>
receives transmit status information from the local XBee
recieves transmit status information from the local XBee
<DT><B>xbee_modemStatus</B>
<DD>
receives modem status information from the local XBee
recieves modem status information from the local XBee
<DT><B>xbee_16bitRemoteAT</B>
<DD>
@ -73,19 +73,19 @@ communicates AT commands with a remote node (using 64-bit addressing)
@@ -73,19 +73,19 @@ communicates AT commands with a remote node (using 64-bit addressing)
<DT><B>xbee_16bitData</B>
<DD>
sends/receives data through a remote node (using 16-bit addressing)
sends/recieves data through a remote node (using 16-bit addressing)
<DT><B>xbee_64bitData</B>
<DD>
sends/receives data through a remote node (using 64-bit addressing)
sends/recieves data through a remote node (using 64-bit addressing)
<DT><B>xbee_16bitIO</B>
<DD>
sends/receives I/O data through a remote node (using 16-bit addressing)
sends/recieves I/O data through a remote node (using 16-bit addressing)
<DT><B>xbee_64bitIO</B>
<DD>
sends/receives I/O data through a remote node (using 64-bit addressing)
sends/recieves I/O data through a remote node (using 64-bit addressing)
@ -51,18 +51,18 @@ and others need explaining. I will touch on the most important here:
@@ -51,18 +51,18 @@ and others need explaining. I will touch on the most important here:
<DT><B>atCmd</B>
<DD>
This is the 2 character identifier for the AT command response you just received.
This is the 2 character identifier for the AT command response you just recieved.
Of course if you didnt setup an AT connection, you should never see, or try to see data here.
<DT><B>Addr64</B> and <B>Addr16</B>
<DD>
These contain the address of the XBee that you received the packet from. You should really know this
These contain the address of the XBee that you recieved the packet from. You should really know this
because you setup the connection. However remote AT packets will contain both 16 and 64 bit
addresses.
<DT><B>data</B>
<DD>
This is the data you just received. Either the AT reponse, or the data from the remote XBee node.
This is the data you just recieved. Either the AT reponse, or the data from the remote XBee node.
@ -46,7 +46,7 @@ is the path to the serial port that the XBee is connected to (e.g. /dev/ttyUSB0)
@@ -46,7 +46,7 @@ is the path to the serial port that the XBee is connected to (e.g. /dev/ttyUSB0)
The
<I>baudrate</I>
is the baud rate that the local XBee is configured to run at. The following are available:
is the baud rate that the local XBee is configured to run at. The following are avaliable: