linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* meshctl cannot parse its own config file
@ 2017-11-20 18:19 Michał Hobot
  2017-11-21  7:25 ` Stotland, Inga
  0 siblings, 1 reply; 5+ messages in thread
From: Michał Hobot @ 2017-11-20 18:19 UTC (permalink / raw)
  To: linux-bluetooth

[-- Attachment #1: Type: text/plain, Size: 689 bytes --]

Hi,
I'm testing meshctl of bluez 5.47 with a lighting device with Silvair mesh stack.
I am able to provision a device using a following sequence of commands:

provision a9d8....(UUID follows)
add-appkey 1
bind 0 1 1000

Im then able to turn the light on and off using onoff 1 / onoff 0. Get also works.

When I'm leaving meshctl and start it once again, it fails while parsing provisioner_db.json

I found out that the problem was caused by:

"bind":[
  1
]

in nodes/elements/models
When I remove "bind" element, everything seems to work fine.

Is it a bug in the software or am I doing something wrong?

Attaching configuration files.

Regards,
Michal Hobot


[-- Attachment #2: local_node.json --]
[-- Type: application/json, Size: 1185 bytes --]

[-- Attachment #3: prov_db.json --]
[-- Type: application/json, Size: 1352 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2017-11-28 14:09 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-11-20 18:19 meshctl cannot parse its own config file Michał Hobot
2017-11-21  7:25 ` Stotland, Inga
2017-11-24 21:13   ` Michał Hobot
2017-11-27 18:45     ` Stotland, Inga
2017-11-28 14:09       ` Johan Hedberg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).