* Executing task: mkapp ${LEGATO_DEF_FILE} -s components -t ${LEGATO_TARGET} -w ${LEGATO_OBJECT_DIR} -o ${LEGATO_OUTPUT_DIR} && update ${LEGATO_UPDATE_FILE}
[1/7] Compiling C source
FAILED: /home/user/Desktop/workspace/legato-af-master/_build_atHelloWorldTest/wp76xx/component/7c0045bcc82f724a3076b37cde1889f9/obj/6f76d9aae15904c80a25537be805ee48.o
/home/user/Desktop/workspace/legato-af-master/leaf-data/testing/wp76-toolchain/sysroots/x86_64-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi-gcc --sysroot=/home/user/Desktop/workspace/legato-af-master/leaf-data/testing/wp76-toolchain/sysroots/armv7a-neon-poky-linux-gnueabi -MMD -MF /home/user/Desktop/workspace/legato-af-master/_build_atHelloWorldTest/wp76xx/component/7c0045bcc82f724a3076b37cde1889f9/obj/6f76d9aae15904c80a25537be805ee48.o.d -Wall -Werror -fvisibility=hidden -c /home/user/Desktop/workspace/legato-af-master/apps/test/atServices/atServerHelloWorld/atHelloWorldComponent/atHelloWorld.c -o /home/user/Desktop/workspace/legato-af-master/_build_atHelloWorldTest/wp76xx/component/7c0045bcc82f724a3076b37cde1889f9/obj/6f76d9aae15904c80a25537be805ee48.o -DLE_FILENAME=`basename /home/user/Desktop/workspace/legato-af-master/apps/test/atServices/atServerHelloWorld/atHelloWorldComponent/atHelloWorld.c` -DMK_TOOLS_BUILD -DLEGATO_EMBEDDED -fPIC -I /home/user/Desktop/workspace/legato-af-master/_build_atHelloWorldTest/wp76xx -I/home/user/Desktop/workspace/legato-af-master/leaf-data/testing/wp76-legato/interfaces -I/home/user/Desktop/workspace/legato-af-master/leaf-data/testing/wp76-legato/framework/include -I/home/user/Desktop/workspace/legato-af-master/leaf-data/testing/wp76-legato/build/wp76xx/framework/include -I/home/user/Desktop/workspace/legato-af-master/apps/test/atServices/atServerHelloWorld -I/home/user/Desktop/workspace/legato-af-master/_build_atHelloWorldTest/wp76xx/component/7c0045bcc82f724a3076b37cde1889f9/src -DLE_COMPONENT_NAME=atHelloWorldComponent -DLE_LOG_SESSION=atHelloWorldComponent_LogSession -DLE_LOG_LEVEL_FILTER_PTR=atHelloWorldComponent_LogLevelFilterPtr
/home/user/Desktop/workspace/legato-af-master/apps/test/atServices/atServerHelloWorld/atHelloWorldComponent/atHelloWorld.c:9:10: fatal error: atServerIF.h: No such file or directory
#include “atServerIF.h”
^\~\~\~\~\~\~\~\~\~\~\~\~\~
compilation terminated.
ninja: build stopped: subcommand failed.
* The terminal process “/usr/bin/bash ‘-c’, ‘mkapp ${LEGATO_DEF_FILE} -s components -t ${LEGATO_TARGET} -w ${LEGATO_OBJECT_DIR} -o ${LEGATO_OUTPUT_DIR} && update ${LEGATO_UPDATE_FILE}’” terminated with exit code: 1.
* Terminal will be reused by tasks, press any key to close it.
jyijyi
August 28, 2025, 5:17am
3
Which module are you using?
which firmware are you using?
Even the latest firmware R17 with legato 21.05, I don’t see such application:
module wp7608
legato 20.08.0
jyijyi
August 28, 2025, 6:11am
5
i don’t see such application in this legato version:
jyijyi
August 28, 2025, 7:58am
7
there is no official firmware for this master branch
can u help me….. i have wp7608 modem i have github repo legato AF i want to any one service build to to Test AT command
jyijyi
August 28, 2025, 8:17am
9
i don’t even see the atServerIF.h.
can you see this file in your main branch of source code?
BTW, what do you want to do with the application?
Maybe we have other sample code to meet your purpose.
basically i want open AT command like AT+jyijyi its return hii or something
how to i can make this cmd understand my issue???
jyijyi
August 28, 2025, 8:22am
11
you can see here for custom AT command:
You can use my attached application as reference. Steps: enter the following AT commands in AT command port: AT!ENTERCND=“A710” AT!USBCOMP=1,1,8014D at!RESET compile and download the application in console type the following: app...
(lsh:test) user@user-Precision-Tower-3620:~/Downloads/UART_KHTTP_Demo1$ mkapp -t wp76xx atServerIntegrationTest.adef
** ERROR:
/home/user/Downloads/UART_KHTTP_Demo1/atServerTestComp/Component.cdef:6:8: error: * Couldn’t find file ‘le_mcc.api.’
(lsh:test) user@user-Precision-Tower-3620:~/Downloads/UART_KHTTP_Demo1$ this error will come when i am build from Cmd and also i tried with VSCode and getting same error: * Couldn’t find file ‘le_mcc.api.’
jyijyi
August 28, 2025, 9:20am
13
you need to add some more parameter in mkapp command line:
Here is my example on helloworld sample:
in hello1.adef, add
bindings:
{
hello1.hello1Component.le_avc → avcService.le_avc
}
in Component.cdef, add
requires:
{
api:
{
le_avc.api
}
}
leaf shell
(lsh:swi-wp76_4.7.0) owner@ubuntu:~/leaf/apps/Demo/hello1$ mkapp ${LEGATO_DEF_FILE} -s components -t ${LEGATO_TARGET} -w ${LEGATO_OBJECT_DIR} -o ${LEGATO_OUTPUT_DIR} -i ${LEGATO_ROOT}/interfaces/airVantage
FAILED: /home/user/Desktop/UART_KHTTP_Demo1/_build_atServerIntegrationTest/wp76xx/component/a80dbb63607285cfa34f1fa6c5fcdb81/obj/9c07e8f60fe34387bde34bcc36d6f963.o
/home/user/Desktop/UART_KHTTP_Demo1/leaf-data/test/wp76-toolchain/sysroots/x86_64-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi-gcc --sysroot=/home/user/Desktop/UART_KHTTP_Demo1/leaf-data/test/wp76-toolchain/sysroots/armv7a-neon-poky-linux-gnueabi -MMD -MF /home/user/Desktop/UART_KHTTP_Demo1/_build_atServerIntegrationTest/wp76xx/component/a80dbb63607285cfa34f1fa6c5fcdb81/obj/9c07e8f60fe34387bde34bcc36d6f963.o.d -Wall -Werror -fvisibility=hidden -c /home/user/Desktop/UART_KHTTP_Demo1/atServerTestComp/atServerTest.c -o /home/user/Desktop/UART_KHTTP_Demo1/_build_atServerIntegrationTest/wp76xx/component/a80dbb63607285cfa34f1fa6c5fcdb81/obj/9c07e8f60fe34387bde34bcc36d6f963.o -DLE_FILENAME=basename /home/user/Desktop/UART_KHTTP_Demo1/atServerTestComp/atServerTest.c
-DMK_TOOLS_BUILD -DLEGATO_EMBEDDED -fPIC -I /home/user/Desktop/UART_KHTTP_Demo1/_build_atServerIntegrationTest/wp76xx -I/home/user/Desktop/UART_KHTTP_Demo1/leaf-data/test/wp76-legato/interfaces -I/home/user/Desktop/UART_KHTTP_Demo1/leaf-data/test/wp76-legato/framework/include -I/home/user/Desktop/UART_KHTTP_Demo1/leaf-data/test/wp76-legato/build/wp76xx/framework/include -I/home/user/Desktop/UART_KHTTP_Demo1 -I/home/user/Desktop/UART_KHTTP_Demo1/_build_atServerIntegrationTest/wp76xx/component/a80dbb63607285cfa34f1fa6c5fcdb81/src -I/home/user/Desktop/UART_KHTTP_Demo1/_build_atServerIntegrationTest/wp76xx/api/6b3d4c5315c3e74255ca066d5234ad6e -I/home/user/Desktop/UART_KHTTP_Demo1/_build_atServerIntegrationTest/wp76xx/api/6b3d4c5315c3e74255ca066d5234ad6e -I/home/user/Desktop/UART_KHTTP_Demo1/_build_atServerIntegrationTest/wp76xx/api/6b3d4c5315c3e74255ca066d5234ad6e/client -I/home/user/Desktop/UART_KHTTP_Demo1/_build_atServerIntegrationTest/wp76xx/api/6b3d4c5315c3e74255ca066d5234ad6e/client -I/home/user/Desktop/UART_KHTTP_Demo1/_build_atServerIntegrationTest/wp76xx/api/4f8367b7a2dc033771364b78fc781535 -I/home/user/Desktop/UART_KHTTP_Demo1/_build_atServerIntegrationTest/wp76xx/api/4f8367b7a2dc033771364b78fc781535 -I/home/user/Desktop/UART_KHTTP_Demo1/_build_atServerIntegrationTest/wp76xx/api/4f8367b7a2dc033771364b78fc781535/client -I/home/user/Desktop/UART_KHTTP_Demo1/_build_atServerIntegrationTest/wp76xx/api/4f8367b7a2dc033771364b78fc781535/client -I/home/user/Desktop/UART_KHTTP_Demo1/_build_atServerIntegrationTest/wp76xx/api/12c6fd07adc4341ee4e298e27a247d0f -I/home/user/Desktop/UART_KHTTP_Demo1/_build_atServerIntegrationTest/wp76xx/api/12c6fd07adc4341ee4e298e27a247d0f/client -I/home/user/Desktop/UART_KHTTP_Demo1/_build_atServerIntegrationTest/wp76xx/api/944ff3e3d40feb684def4e2e6e467664 -I/home/user/Desktop/UART_KHTTP_Demo1/_build_atServerIntegrationTest/wp76xx/api/944ff3e3d40feb684def4e2e6e467664/client -I/home/user/Desktop/UART_KHTTP_Demo1/_build_atServerIntegrationTest/wp76xx/api/12c6fd07adc4341ee4e298e27a247d0f/client -I/home/user/Desktop/UART_KHTTP_Demo1/_build_atServerIntegrationTest/wp76xx/api/944ff3e3d40feb684def4e2e6e467664/client -DLE_COMPONENT_NAME=atServerTestComp -DLE_LOG_SESSION=atServerTestComp_LogSession -DLE_LOG_LEVEL_FILTER_PTR=atServerTestComp_LogLevelFilterPtr
In file included from /home/user/Desktop/UART_KHTTP_Demo1/leaf-data/test/wp76-legato/framework/include/legato.h:188:0,
from /home/user/Desktop/UART_KHTTP_Demo1/atServerTestComp/atServerTest.c:47:
/home/user/Desktop/UART_KHTTP_Demo1/atServerTestComp/atServerTest.c: In function ‘AtCmdHandler’:
/home/user/Desktop/UART_KHTTP_Demo1/atServerTestComp/atServerTest.c:736:15: error: implicit declaration of function ‘le_atServer_SendFinalResponse’; did you mean ‘le_atServer_SendFinalResultCode’? [-Werror=implicit-function-declaration]
LE_ASSERT(le_atServer_SendFinalResponse(commandRef, LE_ATSERVER_OK, false, “”) == LE_OK);
^
/home/user/Desktop/UART_KHTTP_Demo1/leaf-data/test/wp76-legato/framework/include/le_log.h:981:9: note: in definition of macro ‘LE_FATAL_IF’
if (condition) { LE_FATAL(formatString, ##VA_ARGS ); }
^~~~~~~~~
/home/user/Desktop/UART_KHTTP_Demo1/atServerTestComp/atServerTest.c:736:5: note: in expansion of macro ‘LE_ASSERT’
LE_ASSERT(le_atServer_SendFinalResponse(commandRef, LE_ATSERVER_OK, false, “”) == LE_OK);
^~~~~~~~~
cc1: all warnings being treated as errors
ninja: build stopped: subcommand failed.
The terminal process “/usr/bin/bash ‘-c’, ‘mkapp ${LEGATO_DEF_FILE} -s components -t ${LEGATO_TARGET} -w ${LEGATO_OBJECT_DIR} -o ${LEGATO_OUTPUT_DIR}’” terminated with exit code: 1.
Terminal will be reused by tasks, press any key to close it.
jyijyi
August 28, 2025, 12:49pm
15
I don’t see such problem with R16.3 (legato 19.11.6)
(lsh:wp76) owner@ubuntu:~/leaf/apps/Demo/UART_KHTTP_Demo1$ mkapp -t wp76xx -o Target_Legato_Debug -w Target_Legato_Debug -i ${LEGATO_ROOT}/interfaces/modemServices atServerIntegrationTest.adef
[22/22] Packaging app
Hi jyijyi, now i am able to compile the code and run it on the modem which you have provided, can you specify me from where i can pick the APIs for making customize AT cmd in the code you have provided so i can start with my work
jyijyi
August 29, 2025, 5:28am
17
you can diff to the original code to know what I add to the source code:
i want to make
The Input will be like AT+plm
And it should scan the PLMN using the API le_mrc_ScanNetworks() and return the list of operators.
can u share a code with me i am stucked???
jyijyi
September 1, 2025, 6:45am
19
why don’t you just use “AT+COPS=?”
basically i want make my own command that’s why i am asking can u help???