Trying to connect with IoT device by bluetooth connectivity(Gatt)
问题 I am trying to communicate with an IoT device by BlueTooth connectivity. first, I have paired the device using BlueTooth. Then prepared the Hexadecimal value using AES encryption Send a request to the device using characteristic write I tried to read the response from the device using characteristic Read but I got the status as 1 and data is null. These are the steps which I have done and the code I mentioned below. BluetoothGatt gatt; BluetoothGattCallback gattCallback = new