I adding custom module o asset_tracker_v2. In Main.c using the function static void data_get(void), various data requests are added using the instruction:
app_module_event->data_list[count++] = APP_DATA_MODEM_DYNAMIC;
When I add request for custom data, build is successful without any warning and error. During run time, when get_data() function is executed, then buffer overflow error appears in LTE log. I commented one of the default data requested and added custom so that total number of data requests remains same, then it works well.
I concluded that there is some where limit of max data requests through data_list[] in data_get().
1. Is there any such limit ?
2. What is max limit ?
3. Is it SOC Architecture dependent ?
4. Where had it been defined in asset tracker v2 code ?