Hi,
I have a ble device that uses nRF52 chip. I would like to know if it is possible to do ble automation on that device.
Here is my setup:
OS: Ubuntu 20.04 LTS
Bluetooth receiver: Running this on DELL XPS-13-9370 laptop which has a wifi chip that has both wifi and bluetooth capability (Killer Wi-Fi 6 AX1650 (2 x 2) and Bluetooth 5.1)
Bluetooth stack: Bluez 5.53 that came with Ubuntu system. Website:http://www.bluez.org/
Programming Language: in Kotlin with the help of possibly this library to connect to bluetooth device: https://github.com/hypfvieh/bluez-dbus
Here is what I am having issue with, basically not being able to keep connection alive
Logs:
Extracted from btmon.
> HCI Event: Disconnect Complete (0x05) plen 4 #88 [hci0] 43.895587
Status: Success (0x00)
Handle: 3
Reason: Remote User Terminated Connection (0x13)
Extracted from journalctl. What is reason 3?
src/adapter.c:dev_disconnected() Device XX:XX:XX:XX:XX:XX disconnected, reason 3
Any ideas on how to move further is greatly appreciated.
Thanks