Hi,
I’m new to mangoh and i’m trying to test the gpsPublish demo app (in the /mangOH/samples/Demos/GpsPublish git repository). I have no problem to compile the app and to transfert it on my mangoh Red (wp85). On the mangoh, the app is running, no problem, but i don’t have any print i should receive with logread, and at the same time no errors (but a lot of informations i don’t understand i must admit). I just add a simple LE_INFO at the beginning of the component init and i can’t see it…I suspect that I don’t understand something elementary, but i can’t see what.
Here is the logread when i stop and start the app :
(app stop gpsPublish, app start gpsPublish, logread | grep gpsPublish
Also, if i want to comment some code in the component init to see what part is source of error, i can’t build the app anymore : i have an error that explain that some of my importations are not used, so quite complex to debug.
I have the same results. When i don’t add “grep gpsPublish”, i also always have :
Dec 10 15:04:35 swi-mdm9x15 user.debug kernel: [ 1440.956233] NMEA read driver miss interrupt, abandon current buff
However it is not specific to this application. I also must say that it not the only app where I met this problem (not any LE_INFO but no errors).
For the error in the build console: i replace all the component init with a single LE_INFO and here is the result when i try to mkapp :
then why helloworld application is working fine but not for your application?
Maybe you can port those code to helloworld so that you can know where is the place that makes your application cannot print log.
Here is how I write it (-C -Wno-error=unused-function) in Developer studio:
This morning I tested with differents others app such as wiredSensor and i have exactly the same problem, so i went to the legato tutorial and i did the Extended helloworld app (within a single process) : i also don’t have any LE_INFO. So it works for the most simple hello app application, but not for the extended one with two components. It should at least simplify the problem : it is not related to the gpsPublish app. Furthermore, i have at my disposition a mangoh yellow and a mongoh red, and I have exactly the same behaviour with the two cards.