[Bluetooth] Added checking for null data