Hello all,
I’ve unsuccessfully tried to find existing topic of behaviour that I’m experiencing.
Environment:
Module: SL6087 (on Sierra development platform board)
Dev Framework: 2.37
FW: 7.47
OS: 6.37
Basically I’m doing stress test of AT commands interface (adl_atCmdSubscribe). Design plan is to use that link as main communication link with second processor (like RPC link). I’m unable to resolve strange behaviour so any help is welcomed.
After couple of minutes of test (test description below) there is no more responses from UART on which test is run. Not just subscribed commands but all commands (including simple ‘AT’ command).
In order to restore AT functionality I must
a) restart module OR
b) disable/enable port by issuing at+wmfm commands through unaffected port (second UART or USB port)
Test description:
- subscribe to test command handler with adl_atCmdSubscribe (see below code)
- from external application (for example docklight) send at-test=“123456789012345678901234567890123456789012345678901234567890”
- external application resend at-test command from step 2. after each detection of “Finished\r\n”
Interesting observations:
‘Broken’ port is firing unsolicited responses without a problem (not shown in below test). It seems like just AT command processing is affected.
I’ve tried with switching to Production mode in DS, tried to switch off USB and unused UART before test, tried to download release version and exit DS before test… with no new clues…
Can somebody push me in the right direction with this, please?
// Application tasks declaration table
const adl_InitTasks_t adl_InitTasks [] =
{
{ main_task, DECLARE_CALL_STACK ( 2048 ), "main", 1 },
{ 0, 0, 0, 0 }
};
//
void ATCommandsInterpreter_CmdHandler_Test(adl_atCmdPreParser_t *paras)
{
switch(paras->Type)
{
case ADL_CMD_TYPE_PARA:
{
adl_atSendStdResponsePort ( ADL_AT_RSP, paras->Port, ADL_STR_OK );
adl_atSendResponsePort ( ADL_AT_UNS, paras->Port, "Finished\r\n" );
}
break;
}
}
void main_task ( void )
{
adl_atCmdSubscribe("at-test", ATCommandsInterpreter_CmdHandler_Test, ADL_CMD_TYPE_PARA | 0x0011 );
}