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
While working on the ZigbeeNodeControlBridge for JN5168 (JN1216), Can you give an example how to implement this?
Is there an API for achieving this via a callback etc in the Application?
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
Note: The JN-AN-1216 is coordinator example, but you can take as reference the JN-AN-1184 ZigBee PRO Application Template for JN516x
I have to implement this filtering at the coordinator!
Hi Dost,
The JN-AN-1184 provides a coordinator example too. it is not a control bridge. You can check both examples and choose the best option for your application.
Best Regards,
Mario