Reply
Posts: 4
Registered: ‎09-27-2017

BT Mesh non Publish/Subscribe model

Hi experts

 

Is there a way I can use a custom model with mesh sdk ?

I only want to query devices one by one from the provisioner smart phone.

 

Thanks

Highlighted
Posts: 38
Registered: ‎08-11-2017

Re: BT Mesh non Publish/Subscribe model

Hi @µCbitTwiddler,

This sounds similar to my use case where I will have a single controlling node that will query and send commands to a set of nodes and I really only need the mesh to allow the range of communications to be extended through relaying communications. I don't think you will really be able to use the stack without using pub/sub, it is deeply ingrained into how the stack is built.

 

You might look at using a vendor model unless your use case has a SIG model that corresponds to what you are trying to transmit. You'll have to dig in and do some reading though, there aren't any examples with vendor models yet and I am still working on getting them working for myself.

 

Unless I'm mistaken the source for the mesh smartphone app is not released yet, so you may not be able to write an app to communicate with the nodes until it is released.

Posts: 4
Registered: ‎09-27-2017

Re: BT Mesh non Publish/Subscribe model

Thanks @rjohnson . I am trying to use this to Modbus control Industrial fans and get some bytes from PLC. I assume the UI aspect would be simpler to control from a smart device for this kind of applications.