In class CGMSManager, GlucoseManager, ProximityManager.
error: no suitable method found for writeCharacteristic(BluetoothGattCharacteristic)
method BleManager.writeCharacteristic(BluetoothGattCharacteristic,byte[]) is not applicable
(actual and formal argument lists differ in length)
method BleManager.writeCharacteristic(BluetoothGattCharacteristic,byte[],int) is not applicable
(actual and formal argument lists differ in length)
In Ble Manager I add the missing function
/**
* Writes the characteristic value to the given characteristic.
* The write type will be read from the characteristic.
*
* @param characteristic the characteristic to write to
* @return true if request has been enqueued
*/
protected final boolean writeCharacteristic(final BluetoothGattCharacteristic characteristic) {
return enqueue(Request.newWriteRequest(characteristic, characteristic.getValue()));
}
In class CGMSManager, GlucoseManager, ProximityManager.
error: no suitable method found for writeCharacteristic(BluetoothGattCharacteristic) method BleManager.writeCharacteristic(BluetoothGattCharacteristic,byte[]) is not applicable (actual and formal argument lists differ in length) method BleManager.writeCharacteristic(BluetoothGattCharacteristic,byte[],int) is not applicable (actual and formal argument lists differ in length)
In Ble Manager I add the missing function