Troubleshooting
Serial port is not accessible (Permission denied)
On LINUX
sudo usermod -a -G tty my_username sudo usermod -a -G dialout my_username .. and logout // if not work, try chmod 777 /dev/ttyACM0
Native Library bluecove_x64 not available (LINUX)
Exception: Caused by: javax.bluetooth.BluetoothStateException: BlueCove library bluecove not available;
Check if dependencies has installed: Bluetooth Requirements
Data lost in MQTT
You'll need to increase the underlying MQTT library's memory limit. The PubSubClinet MQTT library has a default memory limit that is not enough to you use case.