2017-10-30 16:50:10

by Steve Brown

[permalink] [raw]
Subject: mesh: meshctl - How to access the functions in config-server.c?

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




2017-10-30 19:12:53

by Stotland, Inga

[permalink] [raw]
Subject: Re: mesh: meshctl - How to access the functions in config-server.c?

Hi Steve,

On Mon, 2017-10-30 at 12:50 -0400, Steve Brown wrote:
> 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).

> 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


Attachments:
smime.p7s (3.19 kB)