I would like to control GPIO25 with WP76xx module.
I am trying sample code as below URL .
But I can’t confirm start of the program.
(I can’t find this log message “===============CF3 gpio application has started”)log.txt (21.8 KB)
Could you please let me know how to try GPIO control.
jyijyi
2
It seems you need to “app start” your application.
You can also try this sample
Thanks for your reply.
I tried sample and confirmed start.
Apr 5 02:36:04 swi-mdm9x28-wp user.info Legato: INFO | gpioCf3Demo[12467]/gpioCf3PinComponent T=main | gpioCf3Pin.c _gpioCf3PinComponent_COMPONENT_INIT() 135 | This is sample gpioctl Legato CF3 GPIO app by using le_gpio.api
But code stopped with the following error.
Apr 5 11:36:04 swi-mdm9x28-wp user.emerg Legato: EMR | gpioService[869]/sysfsGpio T=main | gpioSysfsUtils.c gpioSysfs_SetChangeCallback() 596 | Only one change handler can be registered
Apr 5 02:36:04 swi-mdm9x28-wp user.emerg Legato: EMR | gpioCf3Demo[12467]/framework T=main | le_gpioPin22_client.c SessionCloseHandler() 451 | Component for le_gpioPin22 disconnected
Apr 5 11:36:05 swi-mdm9x28-wp user.err Legato: =ERR= | avcDaemon[862]/avcDaemon T=main | assetData.c assetData_RegistrationUpdate() 1946 | unsupported function called.
Please let me know how to resolve.
jyijyi
4
You can debug the app and see where makes this:
gpioSysfsUtils.c gpioSysfs_SetChangeCallback() 596 | Only one change handler can be registered
jyijyi
5
You might also try the application here