Hi all,
I imported this sample app from github. My need is just to perform a call and play a .wav file during a hold.
So maybe this app is overdimensioned but I wanted to start by something which has been validated.
I just slightly modified the component INIT section to perform a call (see below)
When buiding I get a warning about the bindings (see image below) and when running the app it seems to stop before the first instructions. I also attached output logs.
Blockquote
COMPONENT_INIT
{
LE_INFO(“voiceCallApp started!”);
char* number = "+33612345678";
LE_INFO("Make sure voiceCallService is running and SIM is registered on Network and is in ready state.");
system("app start voiceCallService");
//! [AddStateHandler]
VoiceCallHandlerRef = le_voicecall_AddStateHandler(MyCallEventHandler, NULL);
//! [AddStateHandler]
puts(number);
myCallRef = le_voicecall_Start(number);
if (!myCallRef)
{
LE_INFO("Problem with number");
}
VoiceCallHandlerRef = le_voicecall_AddStateHandler(MyCallEventHandler, NULL);
//! [AddStateHandler]
}
Blockquote
Blockquote
Mar 22 14:27:13 | supervisor[645]/supervisor T=main | app.c app_Start() 2926 | Starting app ‘voiceCallApp’
Mar 22 14:27:13 | supervisor[645]/supervisor T=main | app.c CreateFileLink() 1619 | Created file link ‘/legato/systems/current/apps/voiceCallApp/read-only/lib/libComponent_voiceCallComponent.so’ to '/legato/systems/current/appsWriteable/
Mar 22 14:27:13 | supervisor[645]/supervisor T=main | app.c CreateFileLink() 1619 | Created file link ‘/legato/systems/current/apps/voiceCallApp/read-only/lib/libComponent_ctrlComponent.so’ to '/legato/systems/current/appsWriteable/voice
Mar 22 14:27:13 | supervisor[645]/supervisor T=main | app.c CreateFileLink() 1619 | Created file link ‘/legato/systems/current/apps/voiceCallApp/read-only/bin/voiceCallApp’ to '/legato/systems/current/appsWriteable/voiceCallApp/bin/voice
Mar 22 14:27:13 | supervisor[645]/supervisor T=main | app.c CreateFileLink() 1619 | Created file link ‘/legato/systems/current/apps/voiceCallApp/read-only/bin/voice’ to ‘/legato/systems/current/appsWriteable/voiceCallApp/bin/voice’.
Mar 22 14:27:13 | supervisor[645]/supervisor T=main | app.c CreateFileLink() 1619 | Created file link ‘/legato/systems/current/apps/voiceCallApp/read-only/male.wav’ to ‘/legato/systems/current/appsWriteable/voiceCallApp/male.wav’.
Mar 22 14:27:13 | supervisor[645]/supervisor T=main | app.c CreateFileLink() 1619 | Created file link ‘/legato/systems/current/apps/voiceCallApp/read-only/piano.wav’ to ‘/legato/systems/current/appsWriteable/voiceCallApp/piano.wav’.
Mar 22 14:27:13 | supervisor[645]/supervisor T=main | resourceLimits.c SetRLimitValue() 282 | Setting resource limit maxCoreDumpFileBytes to value 102400.
Mar 22 14:27:13 | supervisor[645]/supervisor T=main | resourceLimits.c SetRLimitValue() 282 | Setting resource limit maxFileBytes to value 102400.
Mar 22 14:27:13 | supervisor[645]/supervisor T=main | resourceLimits.c SetRLimitValue() 282 | Setting resource limit maxLockedMemoryBytes to value 8192.
Mar 22 14:27:13 | supervisor[645]/supervisor T=main | resourceLimits.c SetRLimitValue() 282 | Setting resource limit maxFileDescriptors to value 256.
Mar 22 14:27:13 | supervisor[645]/supervisor T=main | resourceLimits.c SetRLimitValue() 282 | Setting resource limit maxMQueueBytes to value 512.
Mar 22 14:27:13 | supervisor[645]/supervisor T=main | resourceLimits.c SetRLimitValue() 282 | Setting resource limit maxThreads to value 20.
Mar 22 14:27:13 | supervisor[645]/supervisor T=main | resourceLimits.c SetRLimitValue() 282 | Setting resource limit maxQueuedSignals to value 100.
Mar 22 14:27:13 | supervisor[645]/supervisor T=main | proc.c proc_Start() 1389 | Starting process ‘voiceCallApp’ with pid 2519
Mar 22 14:27:13 | updateDaemon[684]/updateDaemon T=main | app.c app_InstallIndividual() 788 | App voiceCallApp <9b7d2a67818a2bd944962e4d3dc120d4> installed
Mar 22 14:27:13 | updateDaemon[684]/updateDaemon T=main | updateDaemon.c ApplyAppUpdate() 914 | App ‘voiceCallApp<9b7d2a67818a2bd944962e4d3dc120d4>’ installed properly.
Mar 22 14:27:13 | updateDaemon[684]/updateDaemon T=main | updateDaemon.c StartProbation() 218 | System on probation (timer started).
Mar 22 14:27:13 | supervisor[645]/supervisor T=main | supervisor.c SigChildHandler() 783 | Reaping unconfigured child process 2518.
Mar 22 14:27:13 | supervisor[2519]/supervisor T=main | proc.c proc_Start() 1354 | Execing ‘voiceCallApp’
Mar 22 14:27:13 | avcDaemon[1053]/avcDaemon T=main | avcAppUpdate.c NotifyObj9List() 691 | Found 2 object 9 instances
Mar 22 14:27:13 | avcDaemon[1053]/avcDaemon T=main | avcAppUpdate.c NotifyObj9List() 692 | obj9ListLen; 25 obj9List: </lwm2m/9/0>,</lwm2m/9/1>