STM32WB55XXX Zigbee and Network Key Settings
Hello guys,
I'm currently working on a STM32WB55VGY and I have some problem setting up the Zigbee network.
Using the example I found in the repository I was able to create a simple Zigbee network using the preconfiguredLinkKey.
Now I would like to go further and trying using the network key to protect the communication but I found some problem setting the network with the network key.
From the source code, I read that
" /**< Configures the Network Key with key type set to ZB_SEC_KEYTYPE_STANDARD_NWK.* Only applicable if startupControl is ZbStartTypePreconfigured. */"
So I configured
zigbee_app_info.startupControl = ZbStartTypePreconfigured;
Then I Setup the Extended Pan ID to a Random value (From the Source code " *If startupControl is ZbStartTypePreconfigured a non-zero extendedPanId must be provided.")
ZbNwkSet(zigbee_app_info.zb, ZB_NWK_NIB_ID_ExtendedPanId, &PanId , 8);
And then I start up the ZigBee with the command
status = ZbStartupWait(zigbee_app_info.zb, &config);
But from the Callback, i received the answer
ZB_NWK_STATUS_INVALID_REQUEST
Any of you have ever tried to set up a Zigbee network using a network key?
thanks
Jonny
