On 6/20/19 1:34 PM, Jason Tribe wrote:
We are using the manual method of connecting to a service, where we
write the service config file to /var/lib/connman and then call the
connect function on that services interface without using the agent API.
Just to make sure, you mean the provisioning file with 'service config
The problem we are having is that this method results in a "Not
registered" error message in most cases. The only way we can get this to
work correctly is to disable and then enable the WiFi technology after
writing the config file and before calling the connect function on that
I asked because if you write the config file under
/var/lib/connman/wifi_$ID/settings it's likely not to work when ConnMan
is running. But from your description it sounds like you writing the
Has anyone had a similar issue or is there a better solution to
to a service without using the agent API.
So it always works with the agent registered? If so, can you try to
err = __connman_agent_request_passphrase_input(service,
if (service->hidden && err != -EINPROGRESS)
service->pending = pending;
in service.c:__connman_service_connect() (around line 6616).
I wonder if this makes a difference...