Hi guys,
I am trying to get Mobile network time and date using the NRF9160-DK 0.9.0 with the supplied iBasis sim card (in Switzerland)
For this purpose I have executed the following functions
int ret = modem_info_init();
char buffer[128] = {0};
ret = modem_info_string_get(MODEM_INFO_DATE_TIME, buffer, 128);
i get for modem_info_init() the return value 0
and for modem_info_string_get(MODEM_INFO_DATE_TIME, buffer, 128) the return value -22
(I also tested other information like MODEM_INFO_CUR_BAND, MODEM_INFO_AREA_CODE, MODEM_INFO_FW_VERSION, MODEM_INFO_IMEI, MODEM_INFO_IP_ADDRESS
Here I get valid response in the char buffer)