Is there a way to allow only a specific zigbee device by MAC address? I want to open zigbee Network to allow only joining of specific zigbee device. Is it possible ? and if yes how to achieve it? I am using NXP JN5169 as coordinator.
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
Hi Dost,
Please take a look at the 3.6.2 Association Examples
For a better reference, please see the IEEE 802.15.4 Stack User Guide v2.6
https://www.nxp.com/docs/en/user-guide/JN-UG-3024.pdf?fsrch=1&sr=1&pageNum=1
Note: The JN-AN-1216 is coordinator example, but you can take as reference the JN-AN-1184 ZigBee PRO Application Template for JN516x
Best Regards,
Mario