Hi everybody
I am working on a developer Kit with a Q2426B module. There are two serial jacks and I want to be able to configure and turn UART2 ON. I know by default UART1 is open, so I used at+wmfm=0,1,2 to open the second, and then subscribed this way:
adl_atCmdCreate(“AT+WMFM=0,1,2”,FALSE,CMEECmdResp,"*",NULL);
adl_atCmdCreate( “AT+IPR=115200”, ADL_AT_PORT_TYPE( ADL_AT_UART2, FALSE), CMEECmdResp,"*", NULL );
adl_atCmdCreate( “AT+ICF=3,4”, ADL_AT_PORT_TYPE( ADL_AT_UART2, FALSE), CMEECmdResp, “*”, NULL );
adl_atCmdCreate( “AT+IFC=2,2”, ADL_AT_PORT_TYPE( ADL_AT_UART2, FALSE), CMEECmdResp,“OK”, NULL );
adl_atCmdCreate( “AT&W”,TRUE, CMEECmdResp, “*”, NULL );
U2_Handler = adl_fcmSubscribe ( ADL_FCM_FLOW_V24_UART2,MyCtHnd2,MydataHnd2);
but nothing happens in UART2. Is it necessary to have the serial cable connected to the RS232-2 jack?.
Do you have any idea? or if possible do you have any example.
Thanks in advance
Camilo.