Hi everybody
I am having a problem switching UART1 to data_mode.
wm_ioSerialSwitchState(WM_IO_UART1,WM_IO_SERIAL_DATA_MODE);
if (wm_fcmOpen(WM_FCM_V24_UART1,120) == 0)
{
wm_sprintf(texta,"\r\nSuccess\r");
wm_atSendUnsolicitedExternalApp ( ( u16 ) ( wm_strlen ( texta ) + 1 ), texta );
}
else {
wm_sprintf(textb,"\r\nFailure\r");
wm_atSendUnsolicitedExternalApp ( ( u16 ) ( wm_strlen ( textb ) + 1 ), textb );
}
The fcmopen(); succeeds. But the:
case WM_IO_SERIAL_SWITCH_STATE_RSP :
wm_sprintf(textc,"\r\nSwitched\r");
wm_atSendUnsolicitedExternalApp ( ( u16 ) ( wm_strlen ( textc ) + 1 ), textc );
break;
isn’t trrigered. Why isn’t it triggered?
Thanks, Stephan