I'm trying to find a way to override the defaultTCLinkKey in the coordinator.
I'm using Zstackapi_bdbSetActiveCentralizedLinkKeyReq() as follows:
LinkKeyRequest.zstack_CentralizedLinkKeyModes = zstack_UseAPSKey;
LinkKeyRequest.pKey = UserSpecificKey;
Zstackapi_bdbSetActiveCentralizedLinkKeyReq(H8Interface_ZstackId, &LinkKeyRequest);
Where the UserSpecificKey[] can be specified by a user. I realize this is non-interoperable, but that's what we want.
I do this before I call Zstackapi_bdbStartCommissioningReq();
This seems to work for a Router because it no longer recognizes the TRANSPORT_KEY message, but the coordinator keeps using "ZigbeeAlliance09" in the TRANSPORT_KEY message.
Is there a way to get the coordinator to use a different TCLinkKey?
Thanks,
- Bill