index Struct Reference

Structure : used for storing the needed information about the received packets. More...

#include <WaspXBeeCore.h>


Data Fields

uint8_t packetID
 Structure Variable : Application Level ID.
uint8_t macSL [4]
 Structure Variable : 32b Lower Mac Source.
uint8_t macSH [4]
 Structure Variable : 32b Higher Mac Source.
uint8_t naS [2]
 Structure Variable : 16b Network Address Source.
uint8_t macOH [4]
 Structure Variable : 32b Higher Mac Origin Source.
uint8_t macOL [4]
 Structure Variable : 32b Lower Mac Origin Source.
uint8_t naO [2]
 Structure Variable : 16b Network Address origin.
char niO [20]
 Structure Variable : Node Identifier Origin. To use in transmission, it must finish in "#".
uint8_t typeSourceID
 Structure Variable : Source Type ID -> 0=NetAdrress ; 1=MacAddress ; 2=NodeIdentifier.
uint8_t address_typeS
 Structure Variable : Source Address Type -> 0=16B ; 1=64B.
uint8_t mode
 Structure Variable : Sending Mode -> 0=unicast ; 1=broadcast ; 2=cluster ; 3=synchronization.
uint8_t SD
 Structure Variable : Source Endpoint.
uint8_t DE
 Structure Variable : Destination Endpoint.
uint8_t CID [2]
 Structure Variable : Cluster Identifier.
uint8_t PID [2]
 Structure Variable : Profile Identifier.
uint8_t opt
 Structure Variable : Sending Options (depends on the XBee module).
uint16_t RSSI
 Structure Variable : Receive Signal Strength Indicator.
long time
 Structure Variable : Time in miliseconds at the first fragment was received.
uint8_t complete
 Structure Variable : Specifies if the global packet is complete -> 1=Complete ; 0=Uncomplete ; -1=Empty.
uint8_t totalFragments
 Structure Variable : Specifies the total number of fragments that are expected -> -1=Empty.
uint8_t recFragments
 Structure Variable : Specifies the number of fragments received till now. -1=Empty.
uint16_t data_length
 Structure Variable : Real Data Length.


Detailed Description

Structure : used for storing the needed information about the received packets.

Definition at line 319 of file WaspXBeeCore.h.


Field Documentation

uint8_t index::packetID

Structure Variable : Application Level ID.

Definition at line 327 of file WaspXBeeCore.h.

Referenced by WaspXBeeCore::readXBee().

uint8_t index::macSL[4]

Structure Variable : 32b Lower Mac Source.

Definition at line 332 of file WaspXBeeCore.h.

Referenced by WaspXBeeCore::readXBee().

uint8_t index::macSH[4]

Structure Variable : 32b Higher Mac Source.

Definition at line 337 of file WaspXBeeCore.h.

Referenced by WaspXBeeCore::readXBee().

uint8_t index::naS[2]

Structure Variable : 16b Network Address Source.

Definition at line 342 of file WaspXBeeCore.h.

Referenced by WaspXBeeCore::readXBee().

uint8_t index::macOH[4]

Structure Variable : 32b Higher Mac Origin Source.

Definition at line 347 of file WaspXBeeCore.h.

Referenced by WaspXBeeCore::readXBee().

uint8_t index::macOL[4]

Structure Variable : 32b Lower Mac Origin Source.

Definition at line 352 of file WaspXBeeCore.h.

Referenced by WaspXBeeCore::readXBee().

uint8_t index::naO[2]

Structure Variable : 16b Network Address origin.

Definition at line 357 of file WaspXBeeCore.h.

Referenced by WaspXBeeCore::readXBee().

char index::niO[20]

Structure Variable : Node Identifier Origin. To use in transmission, it must finish in "#".

Definition at line 362 of file WaspXBeeCore.h.

Referenced by WaspXBeeCore::readXBee().

Structure Variable : Source Type ID -> 0=NetAdrress ; 1=MacAddress ; 2=NodeIdentifier.

Definition at line 367 of file WaspXBeeCore.h.

Referenced by WaspXBeeCore::readXBee().

Structure Variable : Source Address Type -> 0=16B ; 1=64B.

Definition at line 372 of file WaspXBeeCore.h.

Referenced by WaspXBeeCore::readXBee().

uint8_t index::mode

Structure Variable : Sending Mode -> 0=unicast ; 1=broadcast ; 2=cluster ; 3=synchronization.

Definition at line 377 of file WaspXBeeCore.h.

Referenced by WaspXBeeCore::readXBee().

uint8_t index::SD

Structure Variable : Source Endpoint.

Definition at line 382 of file WaspXBeeCore.h.

Referenced by WaspXBeeCore::readXBee().

uint8_t index::DE

Structure Variable : Destination Endpoint.

Definition at line 387 of file WaspXBeeCore.h.

Referenced by WaspXBeeCore::readXBee().

uint8_t index::CID[2]

Structure Variable : Cluster Identifier.

Definition at line 392 of file WaspXBeeCore.h.

Referenced by WaspXBeeCore::readXBee().

uint8_t index::PID[2]

Structure Variable : Profile Identifier.

Definition at line 397 of file WaspXBeeCore.h.

Referenced by WaspXBeeCore::readXBee().

uint8_t index::opt

Structure Variable : Sending Options (depends on the XBee module).

Definition at line 402 of file WaspXBeeCore.h.

Referenced by WaspXBeeCore::readXBee().

uint16_t index::RSSI

Structure Variable : Receive Signal Strength Indicator.

Definition at line 407 of file WaspXBeeCore.h.

Referenced by WaspXBeeCore::readXBee().

Structure Variable : Time in miliseconds at the first fragment was received.

Definition at line 412 of file WaspXBeeCore.h.

Referenced by WaspXBeeCore::freeAll(), WaspXBeeCore::freeIndex(), WaspXBeeCore::freeIndexMatrix(), and WaspXBeeCore::readXBee().

uint8_t index::complete

Structure Variable : Specifies if the global packet is complete -> 1=Complete ; 0=Uncomplete ; -1=Empty.

Definition at line 417 of file WaspXBeeCore.h.

Referenced by WaspXBeeCore::readXBee().

Structure Variable : Specifies the total number of fragments that are expected -> -1=Empty.

Definition at line 422 of file WaspXBeeCore.h.

Referenced by WaspXBeeCore::readXBee().

Structure Variable : Specifies the number of fragments received till now. -1=Empty.

Definition at line 427 of file WaspXBeeCore.h.

Referenced by WaspXBeeCore::readXBee().

Structure Variable : Real Data Length.

Definition at line 432 of file WaspXBeeCore.h.


The documentation for this struct was generated from the following file:

Generated on Tue Jul 20 09:31:01 2010 for WaspmoteAPI by  doxygen 1.5.6