CC1312R1 Launchpad
Coprocessor firmware from simplelink_cc13x2_sdk_2_10_00_48
TI Sniffer 2 used to monitor all 4 active channels in my configuration
My apps (device and coordinator) use non-beacon mode only and 4 active channels in APIMAC_STD_US_915_PHY_1. I'm trying to flesh out my device app orphan notification scan confirmation callback handler. Everything is working as described in the TI Stack Users Guide in that my orphan notifications get transmitted on each channel with a scan duration of 5 and my coordinator app detects it (gets the orphan indication callback) and acknowledges recognizing the device by issuing a coordinator realignment which aborts the orphan scan (whatever their shared current logical channel might be).
The problem is there's no way to determine from the contents of the ApiMac_mlmeScanCnf_t receive from the scan callback that a coordinator realignment was received. Whether I receive it or not (I tested blocking the coordinator app from issuing the ApiMac_MlmeOrphanRsp call) status is always ApiMac_status_success and scan_Type ApiMac_scantype_orphan. ApiMac_status_t has a member ApiMac_status_realignment but it, apparently, isn't used. I can't use the unscanned channels list as a clue because I might only be using one or the last one (clue being that the scan aborted) .
What I'm doing now (and what is working) is to clear the coordinator short address in the device before issuing the orphan scan and then checking it on the scan callback to see if the received coordinator realignment sets it. If so I then read all the updated coordinator parameters from the stack. It would be much simpler to just know the coordinator realignment was received with a status of ApiMac_status_realignment .
Am I missing something in my understanding here?
P.S. Saw nothing in the latest SimpleLink library release 2_20_00_71 that would change this behavior.