Hi all,
I'm new to the whole kconfig system, and I can't seem to change the Asset Tracker to passive mode.
I've tried adding these lines to the prj.conf file:
CONFIG_DATA_DEVICE_MODE_PASSIVE=y
CONFIG_DATA_DEVICE_MODE_ACTIVE=n
and I changed the default of the DATA_DEVICE_MODE choice in Kconfig.data_module to DATA_DEVICE_MODE_PASSIVE
Which does seem to add the following line to the autogenerated autoconf.h file:
#define CONFIG_DATA_DEVICE_MODE_PASSIVE 1
But the asset tracker is still in active mode. I checked this by placing break points in the
Where do these messages come from, and how do I change this?
apply_config() function in sensor_module.c, which shows me that it is still configuring the system based on messages that turn it into active mode, so it is calling:
accelerometer_callback_set(false);
Where do these messages come from, and how do I change this?