defs/si_sha/zigbee.h File Reference

ZigBee technology data structures, constants and utilities. More...

Go to the source code of this file.

Classes

struct  sc_zigbeeBridgeVersionInfo
 ZigBee Bridge version information. More...

Defines

#define ZIGBEE_NETID   0x02
 NetId for ZigBee.
#define zb_aprint(b, a)
 Macro to print zigbee addresses to a character buffer.
#define zb_tprint(b, t)   sprintf(b,"%02X-%02X-%02X",ZIGBEE_NETID,(int)(((t)>>8) & 0xFF),(int)((t) & 0xFF))
 Macro to print zigbee types to a character buffer.
#define ZB_RAVENBRGT   (0x00020001)
 Type assigned to Atmel's RAVEN bridge device.
Remote command indexes.
Remote commands are a shorthand between the JavaScript side device and the bridge side.

#define ZC_DISCOVER   1
#define ZC_STDMESSAGE   2
#define ZC_EXTMESSAGE   3
#define ZC_GRPMESSAGE   4
#define ZC_GETVERSION   5
#define ZC_FORMNETWORK   6


Detailed Description

ZigBee technology data structures, constants and utilities.


Define Documentation

#define zb_aprint ( b,
 ) 

Value:

sprintf(b,"%02X-%02X-%02X-%02X-%02X-%02X-%02X-%02X-%02X",\
            (int)ZIGBEE_NETID,\
            (int)(((a) >> 56) & 0xFF),\
            (int)(((a) >> 48) & 0xFF),\
            (int)(((a) >> 40) & 0xFF),\
            (int)(((a) >> 32) & 0xFF),\
            (int)(((a) >> 24) & 0xFF),\
            (int)(((a) >> 16) & 0xFF),\
            (int)(((a) >> 8)  & 0xFF),\
            (int)(((a) >> 0)  & 0xFF))
Macro to print zigbee addresses to a character buffer.

27 characters are required in buffer to hold the address.

#define zb_tprint ( b,
 )     sprintf(b,"%02X-%02X-%02X",ZIGBEE_NETID,(int)(((t)>>8) & 0xFF),(int)((t) & 0xFF))

Macro to print zigbee types to a character buffer.

9 characters are required in buffer to hold the type.

#define ZIGBEE_NETID   0x02

NetId for ZigBee.

Given by the LASE system to distinguish it from other automation networks.


doxygen