If you’re more interested in a ready to use Bluetooth mesh gateway, there are a few options available to you. You can make Raspberry built-in bluetooth adapter acting as Bluetooth gateway .

How to deploy the bluetooth mesh gateway on Pi?

• A raspberry pi Bluetooth mesh gateway platform may be created by developing the mesh gateway on raspberry pi.

• Firstly, BLE mesh Proxy gateway code could be utilized in making a gateway node and the BLE specification enables this kind of mixed topology.

• This is only supported by the Bluetooth version starting from Bluetooth mesh 4.2. (an external BLE module may be used).

• Remote access board through SSH

• Build kernel locally on Raspberry pi (cross-compile could make process shorter).

• Create and Install the Kernel and modules.

• Verify Kernel installation.

 

 Bluetooth versions support mesh networking

In 2016, Bluetooth specification, that is, Bluetooth 5 mesh gateway was unveiled as an upgrade to the existing version (4.0). These superior features such as improved speed, improved range, improved output power, and improved data transfer rate make Bluetooth 5 mesh gateway better than Bluetooth 4.0 mesh.

There is also the Bluetooth gateway mesh 4.2 which supports mesh networking.

 

Hardware

https://www.matterxiaomi.com/boards/topic/14462/diy

 

Here is the radio I am using:

TP-Link USB Bluetooth Adapter for PC, 5.0 Bluetooth Dongle Receiver (UB500)https://www.amazon.com/dp/B09DMP6T22/ref=cm_sw_r_cp_api_glt_i_GNV2YENRNG6516S04SZK?_encoding=UTF8&psc=1 15

 

I use a TP-link UB400 with a raspberry pi, which is working fine.

detail:https://www.matterxiaomi.com/boards/topic/14414/passive-ble-monitor/page/3#20150

 

 

    
Failed to start discovery: org.bluez.Error.NotReady 

rfkill list

rfkill unblock all

detail

detail

Set scan parameters failed: Input/output error

sudo hciconifg hci0 down

sudo hciconfig hci0 up

 

detail
    
    

 

Useful links

https://peyanski.com/xiaomi-bluetooth-home-assistant-integration/

 

 

Comments


Comments are closed