Hello,
I don’t understant how use FCM commands, I want to comunicate the Q2686 with a windows ce application, and I need to send data by RS232, I think I need to use FCM commands, but how can I send a text like:
adl_fcmSendData (FCM_Handle, “Hello”,4); it’s not complining, needs a u8*.
anybody have an exemple about this?
You can read ADL User Guide FCM Service topic. The documantation lists all avaliable functions about UART service.
As adl user guide says; first you have to subscribe uart, then send some data. Of course you have to know communication baudrate and set it before you send data.
i think, with fcm you can send data in also data mode. With adl_atSendResponse you can send only in AT mode. I think you should send&receive data in data mode when you communicate with a microcontroller.
So in your open AT application, you should subscribe uart, switch to DATA mode, then send data:
Now I think I understand better the funcions about FCM, but there one part that I don’t understand. For exemple I subscribe to fcm in uart 1 which it is comunicates with my main board, and my embedded aplication send me some messatge for UART1 how can I process it.
The Data can be a AT command defined previously for my like AT+START, if I recived it i’ll send
adl_atCmdSubscribe ( (ascii*)START_APP, Init_Application, ADL_CMD_TYPE_ACT );