Linux bluetooth development
 help / color / mirror / Atom feed
* mesh: Send mesh model message to group address
@ 2020-02-15 18:20 Michael N. Moran
  2020-02-15 19:50 ` Gix, Brian
  0 siblings, 1 reply; 5+ messages in thread
From: Michael N. Moran @ 2020-02-15 18:20 UTC (permalink / raw)
  To: linux-bluetooth

Hi,

I'm new to the mailing list, so please be patient.

I've been using meshctl to provision/configure a group of 
mesh nodes.

There does not seem to be a mechanism in meshctl to send 
model messages to group addresses or virtual addresses.

As an example, consider the simple OnOff model. I can 
configure the subscription for an OnOff model with a group 
address. However, the meshctl onoff command will not work 
with a group address set for the onoff target.

I have modified the cmd_set() function in onoff-model.c by 
removing the node_find_by_addr(target) check and this works 
fine. Obviously, that only works for the OnOff model. I'd 
happily submit a patch for that model, but that doesn't seem 
to be a very good general solution.

So is meshctl the right (only) tool to use on Linux?
Is there a newer tool that is planned or under development?

regards,
mike

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

end of thread, other threads:[~2020-02-16 22:32 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-02-15 18:20 mesh: Send mesh model message to group address Michael N. Moran
2020-02-15 19:50 ` Gix, Brian
2020-02-16  4:39   ` Michael N. Moran
2020-02-16 15:17     ` Gix, Brian
2020-02-16 22:32       ` Michael N. Moran

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox