adl_fcmSwitchV24State()


#1

If You switch from DATA mode to AT mode with something like:

adl_fcmSwitchV24State(Handle, ADL_FCM_V24_STATE_AT)

why can’t you switch back with ATO ?

but when you switch with +++ you can switch back with ATO.

I know it calls back with this pair for +++ then ATO
ADL_FCM_EVENT_V24_AT_MODE_EXT
ADL_FCM_EVENT_V24_DATA_MODE_EXT

and with adl_fcmSwitchV24State()
ADL_FCM_EVENT_V24_AT_MODE
ADL_FCM_EVENT_V24_DATA_MODE

so it seems you can’t mix and match ?


#2

Had to use

             adl_atCmdSubscribe("ato", cmdATOHandler, ADL_CMD_TYPE_ACT);

so I could do a

             adl_fcmSwitchV24State(Handle, ADL_FCM_V24_STATE_DATA);

in the call back routine.