Hi, I am testing legato applications in GL7605.
I try to install “atServerIntegrationTest” in legato-af and overwrite a new command.
I could get the unedited sample atServerIntegrationTest with reference to https://mangoh.discourse.group/t/at-cmds-for-mirage-talon-from-mangoh-red-board-at-port/4803/15 .
I want to add an AT command and need the API with SIM information.
However, when I overwrote .adef and .cdef to add the API “le_sim.api”, a command is not working properly.
I would like you to investigate the cause of the problem.
More details are described below.
- PC environment: Ubuntu 20.04.4 LTS 64 bit/ 5.15.0-46-generic
- Product: GL7605 w/ WP7605 version SWI9X07Y_02.28.03.05 (from AT+GMR)
- leaf version: 2.4.0 / swi-wp76_4.0.3
- legato version: 19.02.0_4cb954265427b8c2c668a010ff5be274_modified
- Settings:
>AT!ENTERCND=“A710”
>AT!USBCOMP=1,1,8014D
- Error command:
$ ssh root@192.168.2.2
# app runProc atServerIntegrationTest --exe=atServerTest -- tty /dev/ttyHS0
If normal, during the execution of this command, UART will receive AT command input.
However, when I add the le_sim.api description, the command exits immediately after execution.
I tried with other APIs (e.g. le_antenna.api) and it works correctly.
- Overwitten content:
- Component.cdef
api{
atServices/le_atServer.api
(my directory)/legato-af/interfaces/modemServices/le_mcc.api *
(my directory)/legato-af/interfaces/modemServices/le_sim.api
}
*The sample code could not read le_mcc.api, so it is rewritten.
- atServerIntegrationTest.adef
bindings{
atServerTest.atServerTestComp.le_atServer -> atService.le_atServer
atServerTest.atServerTestComp.le_mcc -> atService.le_mcc
atServerTest.atServerTestComp.le_sim -> atService.le_sim
}