I´m opening UART2 and I’m able to send data through it after ADL_FCM_EVENT_V24_DATA_MODE event in UART2CtrlHandler(). The UART2DataHandler() looks like this:
bool UART2DataHandler(u16 DataLen, u8 * Data)
{
adl_atSendResponse ( ADL_AT_UNS, “\n\r UART2DataHandler \n\r”);
adl_atSendResponse ( ADL_AT_UNS, Data);
return TRUE;
}
But I receive none of the messages above on UART1.
awneil
June 12, 2008, 9:32pm
2
Note that the ‘Data’ parameter is not a ‘C’ string - so you can’t just pass it to adl_atSendResponse…!
Ok, but I dont receive “\n\r UART2DataHandler \n\r” either. The same code works for UART1
mpuman
July 31, 2008, 7:40pm
4
Sergio,
Did you ever figure this out? I’m having a similar problem.
Coleman
Where do you want to receive this message - through UART1 or UART2?