Hi Dost,
As you know the The PAN Co-ordinator device already has a fixed 64-bit IEEE (MAC) address, sometimes called the 'extended' address, but must also assign itself a local 16-bit network address, usually called the 'short' address.
The PAN Co-ordinator is usually assigned the short address 0x0000.
In this case you will use the extended address for filtering purpose.
6.1.19 MAC_MlmeRspAssociate_s
This structure contains an Associate response.
struct tagMAC_MlmeRspAssociate_s
{
MAC_ExtAddr_s sDeviceAddr;
uint16 u16AssocShortAddr;
uint8 u8Status;
uint8 u8SecurityEnable;
} MAC_MlmeRspAssociate_s;
where:
sDeviceAddr contains the associating device's 64-bit extended address
u16AssocShortAddr contains the 16-bit short address allocated to the associating device by the PAN Co-ordinator. If the association was unsuccessful, the short address will be set to 0xFFFF
Best Regards,
Mario