Can adl_fcmSendData() be called outside the the FCM Control Handler?
The example in the documentation (AirPrime_Open_AT_Tutorial_Rev1.0.pdf, pp 187-188), it is called inside the Control Handler in case ADL_FCM_EVENT_V24_DATA_MODE.
bool fcmCtrlH ( adl_fcmEvent_e event )
TRACE ((1, "Control event received --> %d", event));
TRACE (( 1, "Flow Opened" ));
/* Switching V24 state from AT to Data. */
TRACE (( 1, "Flow in Data Mode" ));
/* sending data to the external application via V24 serial link */
adl_fcmSendData(Handle, "This is a test case", 20);
I tried calling this function in void adl_main() but it is not firing even though I have already subscribed to fcm and already set to data mode.