I tried to build an app that adds gps coordinates but came to the conclusion after a long trial an error time that a blank program such as hello world will crash by simply just adding the api in question. I have looked over the RedSensorToCloud sample at what bindings are needed to be added but to no success. I looked at documentation but those are the only bindings required am I missing something? le_pos
.adef file
executables:
{
hellotrial = ( hellotrialComponent )
}
bindings:
{
hellotrial.hellotrialComponent.le_pos -> positioningService.le_pos
}
processes:
{
envVars:
{
LE_LOG_LEVEL = DEBUG
}
run:
{
( hellotrial )
}
maxCoreDumpFileBytes: 512K
maxFileBytes: 512K
}
version: 1.0.0
maxFileSystemBytes: 512K
.cdef file
sources:
{
hellotrialComponent.c
}
requires:
{
api:
{
positioning/le_pos.api
}
}
Just by placing those in the app will crash, any help would be much appreciated