Hi,
I would like a sensor to "randomly" use either security key 1 or key 2 for outgoing frames. This works (it's able to use both defined security frames for outgoing frames).
The "issue" is that the collector must be able to accept both type of secured frames (distinguished by key index) from one specific sensor node. Since ApiMac_secAddDevice(&device) only accepts ONE security "setting" for each node (to my understanding), the collector can only accept one security setting per associated sensor node. Is this true, or is it possible for the collector to accept more than just one type of "security key" frame from the same sensor?
As a side note: Both types of security frames works (individually) if I define the correct keyIdLookupList[keyIndex] in ApiMac_secAddDevice.