CONNECTION_ENTRY Structure

MiWi Development Environment

MiWi(TM) Development Environment Help
CONNECTION_ENTRY Structure
C
typedef struct __CONNECTION_ENTRY {
  WORD_VAL PANID;
  WORD_VAL AltAddress;
  BYTE Address[MY_ADDRESS_LENGTH];
  CONNECTION_STATUS status;
  BYTE PeerInfo[ADDITIONAL_NODE_ID_SIZE];
} CONNECTION_ENTRY;
Description

Peer Device Information in Connection Table 

This structure contains device information about the peer device of current node. It is the element structure for connection table. Due to the bank limitation in PIC18 MCU architecture, the size of CONNECTION_ENTRY must be dividable by 256 in case the array is across the bank. In this case, the user need to make sure that there is no problem

Members
Members 
Description 
WORD_VAL PANID; 
PAN Identifier of the peer device. May not necessary in P2P protocol 
WORD_VAL AltAddress; 
Alternative address of the peer device. Not necessary in P2P protocol 
BYTE Address[MY_ADDRESS_LENGTH]; 
Permanent address of peer device 
BYTE PeerInfo[ADDITIONAL_NODE_ID_SIZE]; 
Additional Node ID information, if defined in application layer 
Symbol Reference > Types > CONNECTION_ENTRY Structure
Microchip My Application xx.yy - [Jan 1, 2009]
Copyright © 2009 Microchip Technology, Inc.  All rights reserved.