Best way to do it?


Hi everybody,

I have played around with Fastrack M1306B module few weeks. I have made few test applications to it, and it works fine.

Now, I have question to all of you, who know OpenAT better than me.

I have a device (non PC), which sends strings from serial output. I planning to connect this to Fastrack serial port.
So, I need to do an application which traps incoming data from Fastrack serial port, analyze it and send SMS if needed (SMS sending part is done already, and it works!).

What is best way to do it?



Try the following steps:
Subscribe to the fcm service:

SioHandle = adl_fcmSubscribe(

In SioEventHandler catch the ADL_FCM_EVENT_FLOW_OPENNED event and switch to data state:

adl_fcmSwitchV24State(SioHandle, ADL_FCM_V24_STATE_DATA);

You will now receive external device’s data in SioDataHandler.
You will need to response to other events in SioEventHandler appropriately.
You can switch the port between V24 and AT mode from outside world with +++ and ATO commands.
The fcm use of UART1 makes debbuging little harder, but can be done. Anyway, I suggest to debug other parts of application thoroughly before turning on the fcm part.

See also other topics in FCM forum (where this post in fact belongs).




I take a look fcm topics.