gemalto: Change offline mode, keep USIM available

Gemalto has two airplane mode:
CFUN=0 disables USIM
CFUN=4 keeps USIM connected
This commit is contained in:
Vincent Cesson 2017-04-13 10:05:46 +02:00 committed by Denis Kenzior
parent 160a03e2bf
commit 920f77b770
1 changed files with 1 additions and 1 deletions

View File

@ -165,7 +165,7 @@ static void gemalto_set_online(struct ofono_modem *modem, ofono_bool_t online,
{
struct gemalto_data *data = ofono_modem_get_data(modem);
struct cb_data *cbd = cb_data_new(cb, user_data);
char const *command = online ? "AT+CFUN=1" : "AT+CFUN=0";
char const *command = online ? "AT+CFUN=1" : "AT+CFUN=4";
DBG("modem %p %s", modem, online ? "online" : "offline");