agl-service-radio does not start with system startup

Description

I can find "agl-service-radio" in the "/usr/local/lib/afm/applications" directory of the system. It comes with the system and has not been changed.
And now I want to call the API it provides and find that it is not bind to the service.

I did not see the radio service process after executing the ps -ef | grep afb command.

There is another problem. When I want to modify the interface provided by the radio service, how should I reinstall the service and start it?

 

Thanks!

Environment

raspberrypi3

Activity

jose bollo 
December 18, 2018 at 10:33 AM

The service radio is normally launched on need by systemd when an application tries to access it.

The service radio is provided by the widget /usr/AGL/apps/autoinstall/agl-service-radio.wgt.
When installed it produces the systemd files

/var/local/lib/systemd/system/afm-api-radio@.service /var/local/lib/systemd/system/afm-api-radio@.socket /var/local/lib/systemd/system/afm-service-agl-service-radio--6.99--main@.service

Note that the version probably differ on FF so replace 6.99 by 6.0 or the value that match your system.

To start it manually the command is

systemctl status afm-service-agl-service-radio--6.99--main@0.service

It may fail ! On my board it fails because I have not hardware for radio.

To get the status, use

systemctl status afm-service-agl-service-radio--6.99--main@0.service

The procedure for reinstalling is at this time really simple. Copy your widget at some place in your board's files (I use /tmp) and run the command

afm-util install /tmp/mywidget
Won't Fix

Details

Assignee

Reporter

Labels

Contract ID

Components

Affects versions

Priority

Created December 18, 2018 at 9:53 AM
Updated February 12, 2019 at 1:23 AM
Resolved February 8, 2019 at 11:59 AM

Flag notifications