Boomer-III User Manual & Integrator’s Guide______________________Appendix B – SDK NCL-API and Port Server
BM310012WT04
103
Copyright Wavenet Technology © October 2003
NCLProdId
prod_id;
NCLVersion
sw_version;
NCLRpmId
rpm_id;
WORD
reserved;
WORD
max_data_size;
}NCLConfigBlock;
/* Status block structure */
typedef struct NCLStatusBlock
{
BYTE
rx_status;
BYTE
tx_status;
BYTE
antenna;
BYTE
radio_in_range;
BYTE
flow_control;
BYTE
rcv_mode;
BYTE
event_states;
WORD
ob_msg_count;
WORD
ib_msg_count;
WORD
radio_channel;
}NCLStatusBlock;
/* Channel block structure */
typedef struct NCLChanBlock
{
BYTE
radio_in_range;
WORD
radio_channel;
BYTE
attribute;
BYTE
protocol;
BYTE
rssi;
}NCLChanBlock;
#define MAX_GROUP_LLIS
8
#define LLI_BYTE_WIDTH
8
#define NCL_NUM_CHANNELS 64
/* Group LLIs array */
typedef struct NCLGroupLlis
{
BYTE lli[MAX_GROUP_LLIS][LLI_BYTE_WIDTH];
BYTE num;
}NCLGroupLlis;
/* Channel Table */
typedef struct NCLChannelTable
{
WORD
channel[NCL_NUM_CHANNELS];
BYTE num;
}NCLChannelTable;
/* Vendor Spesific: Wavenet Get Settings*/
typedef struct NCLWaveSettings {
BYTE
LLI[4];
BYTE
SerNum[16];
} NCLWaveSettings;
/* Vendor Spesific: Wavenet Get Radio Settings*/