I need to send AE A7 04 00 05 09 BC B7 command to BLE device. Can You help me to manage it ? I mean what and how have I to do after connection to device ?
public void WriteValue(String strValue)
{
mNotifyCharacteristic.setValue("AE A7 04 00 05 09 BC B7".getBytes());
mBluetoothGatt.writeCharacteristic(mNotifyCharacteristic);
boolean sendStatus = mBluetoothGatt.writeCharacteristic(mNotifyCharacteristic);"+mNotifyCharacteristic.getProperties());
}
@Override
public void onCharacteristicWrite(BluetoothGatt gatt, BluetoothGattCharacteristic characteristic,
int status)
{
Log.d("TESTING","status !!!= "+status);
}