MAGPIO configuration %XMAGPIO

The Nordic-proprietary %XMAGPIO command writes the MAGPIO configuration to device's RAM memory.

The MAGPIO pins can be used, for example, to control an external antenna tuner, or any other GPIO-controlled device, whose state depends on modem's RF frequency. The AT command needs to be sent before any modem activity occurs. Based on the given configuration, the modem applies the MAGPIO state corresponding to the RF frequency range automatically during run time. The configuration is stored to Non-volatile Memory (NVM) when the device is powered off with +CFUN=0. The stored configuration is applied when the device is powered on.