I am working with an nrf9161 and I can see that the IMEI is not programmed and likely causing my connection issue. I only have the modem connected to an rtt and nrf5340 what would be the best way to program it. I tried the AT client sample and added at shell but at AT%IMEIWRITE=0,"123456789123458" returns error in the shell. Other commands like battery voltage work but not the IMEI.
Thanks
Ed