www.beck-ipc.com
www.beck-ipc.comwww.beck-ipc.com  | ImprintImprint
FAQFAQ  | SearchSearch  |
RegisterRegister   |LoginLogin

how to see AT command and response in ppp client on SC145

Questions and discussions about the operating system RTOS-LNX and the corresponding C-LIB.
Hello,

I am new to Beck-IPC and currently using the evaluation kit DK-151 having SC145 controller.

I want to connect an external serial modem to UART5 of DK151 as ppp client. For this I used and modified the sample ppp client program pppclie.c , an example from SC2x3.

While running this program, the program termintes at ppp_client_open() with its return status as -4 as below.


IPC@CHIP PPP client example, Freenet mobile
ppp_Client_Installed return : 1
PPP client: Opening connection
ppp_Client_Open return : -1
Establish link failed -4
ppp_Client_GetStatus : -1
Exit program


Now I want to know, where exactly the ppp_client_open() call fails.
How can I verify whether the AT commands were sent to the modem or not ? Is there any way to see the sequnece of AT commands and response recieved to be seen on console ? On many other ppp discussions on this forum I have seen AT command sequences as part of te output .

(e.g. like below
17-17:06:39;0; PPPLink: Trying to open connection on port 1 at baud 115200
17-17:06:39;0; PPPLink: Authentication method: 1
17-17:06:39;0; PPPLink: PPP Flow Control = 2
IPC@CHIP->Modem: AT
Modem->IPC@CHIP: OK
IPC@CHIP->Modem: AT+CGATT=0
Modem->IPC@CHIP: OK
IPC@CHIP->Modem: ATS0=0+FCLASS=0
Modem->IPC@CHIP: OK
IPC@CHIP->Modem: AT^SGAUTH=1
Modem->IPC@CHIP: OK
)

Regards,
..Sharmila

Hello Sharmila,

this modem trace functionality can be activated for the legacy RTOS versions with the MODEMTRACE=1 CHIP.INI entry. However, this trace functionality is currently not implemented for the SC1x5 RTOS-LNX. I'm sorry.

I'll write a ticket that requests to add this trace functionality.

Best regards,
André Pribil
Software Development
Beck IPC GmbH

Moved to relevant forum section.
Michael G. Etairidis
Software Development
Beck IPC GmbH

Thank you very much for the information and immediate response.

Any expected period to get this MODEMTRACE feature enabled in RTOS-LNX ?

How would I come to know whether this MODEMTRACE feature is released ?

Thanks once again,

Regards,
..Sharmila

Hello Sharmila,

it will be released with RTOS-LNX V1.19. (The V1.18 is already on the way.)

However, I can offer a Beta version with this feature included. Please send me an email, if you like to receive such a Beta version.

Best regards,
André Pribil
Software Development
Beck IPC GmbH

yes, sent you a mail. Please do send the same.

Thank you.

..Sharmila

Return to RTOS-LNX


Who is online

Users browsing this forum: No registered users and 1 guest


cron