0

My app must run forever without user interaction and receive data from Bluetooth Mesh Network. The app what I made works fine so far. But there are some issues on the Mesh Library(CSRMesh of Qualcomm) especially on bridge connection so that app can communicate no longer through the Mesh Network. Furthermore there is no technical support, I want to be free from that library at least data sending and receiving parts. I have tested and figured out that without BLE connection, only with scanning function can receive mesh data and decrypted successfully with Network key. But I'm not sure that is good way or not.

The practical way to communicate through Mesh Network is

  1. Scan nearby mesh devices.
  2. Connect to some mesh device.(from this step Android can stop scanning)
  3. Start communication through connected mesh device.

Without BLE connection, I must keep scanning to communicate Mesh Network. I think the reason that BLE connection requires to communicate is to save battery of Android device.

Phantômaxx
  • 37,901
  • 21
  • 84
  • 115
조경상
  • 43
  • 6
  • For the CSRMESH, you have to use the ```MeshLibraryManager``` in the android demo code to implement the scanning and connection. I tried before using generic Bluetooth scanning. It appeared none but in BLE is visible. Yet connection still requires using CSR MESH. – 钟智强 Feb 22 '21 at 02:15

1 Answers1

3

There is no issue to exchange data over BLE adverts instead of over a Bluetooth connection. In fact BLE mesh technology is inherently an advert-based technology, i.e. there is no BLE connection involved when data is sent throughout the network. Furthermore, you should theoretically save more power by depending on adverts instead of connection as you don't have to send empty packets to maintain the connection.

More information on BLE mesh can be found here:-

Mesh Networking Specification

I hope this helps.

Youssif Saeed
  • 11,789
  • 4
  • 44
  • 72
  • I thought like that. But I have more confidence thanks to your answer. Still need to care more about android side. – 조경상 Jan 23 '20 at 11:35