Other Parts Discussed in Thread: CC1310
Hello,
We're developing a system whereby the 802.15.4 devices have non-replaceable alkaline batteries and the PAN coordinator will be mains powered. Additionally our sensors will be mobile and only within range of a PAN for around 10 minutes per day. As such, we're trying to use the non-beacon mode of 802.15.4 to maximise the battery life of our sensors. In the previous 802.15.4 stack, we had non-beacon mode working however as we've migrated to the new Simplelink v1 SDK, we can no longer get non-beacon mode to work.
Our sensor is based on the Simplelink V1 sensor example and we have attempted to enable non-beacon mode through the following changes:
config.h:
#define CONFIG_SECURE false /* So that we can view data messages using the packet sniffer */ #define CONFIG_PAN_ID 0xffff /* snip */ #define CONFIG_BEACON_ORDER 15 #define CONFIG_SUPERFRAME_ORDER 15 /* snip */ #define CONFIG_CHANNEL_PAGE (APIMAC_CHANNEL_PAGE_9) #define CONFIG_PHY_ID (APIMAC_STD_ETSI_863_PHY_3)
features.h
#define FEATURE_ALL_MODES
By implementing the ScanCnfCallback, we noted that the first 2 scan results returned a status of ApiMac_status_unsupportedSecurity, the next ~30 returned a status of ApiMac_status_noBeacon and every subsequent scan results in a status of ApiMac_status_noResources.
We've verified that there are no packets being captured on the packet sniffer (that works fine in beacon mode) and the spectrum analyser (albeit with an antenna and not a cable directly in) doesn't appear to be picking anything up either.
Has anybody managed to get the CC1310 Simplelink V1 stack working in non-beacon mode? If so what are we missing from our config?
Thanks,
Steve