Skip to contentSkip to conversation

mesh: meshctl - How to access the functions in config-server.c?

DISCUSSION Steve Brown 2 participants 2 messages Oct 30, 2017 Bluetooth drivers

lore
Share & tools
lore
#0 lore raw

The unicast address for meshctl is 0077.

But the command "configure 0077" doesn't appear to be the answer.

Is it possible to route meshctl commands to itself?

Thanks,

Steve

#1 lore raw

Hi Steve,

Quoted 4 lines · Steve Brown

The unicast address for meshctl is 0077.

But the command "configure 0077" doesn't appear to be the answer.

"configure 0077" does result in routing config commands to itself. For example, "set-ttl" will result in change to local-node.json

However, the local config server does not send a status message back. I submitted a patch to take care of that ([PATCH BlueZ] mesh: Add config server response for loopback).

Quoted 7 lines

Is it possible to route meshctl commands to itself?

Thanks,

Steve

I should mention that the implemented functionality in local config server is very scarce: only get/set ttl and set publication are currently handled.

Regards,

Inga