alexozer / jankdrone

The jankest autonomous drone ever built and programmed from scratch

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Frequent disconnects on Linux with NetworkManager

alexozer opened this issue · comments

Sometimes, unless Network Manager is stopped, gatt frequently reconnects and disconnects from the BLE chip. This may be due to the fact that wifi and bluetooth are implemented on the same card in my Macbook Pro 2015 since gatt takes complete control of the card, although this problem does not occur on macOS.

Buying a separate BLE adapter would probably help.

Using go-bluetooth instead of gatt might be a viable option. go-bluetooth appears to use bluez instead of using raw access to the wireless card, which means it may not conflict with the wifi card. However, go-bluetooth does not support macOS.

Architecture switched to radio from bluetooth