Esempio n. 1
0
 public async Task <bool> WriteTransmitPower(BluetoothRobotConstants.TRANSMIT_POWER power)
 {
     return(await base.WriteCharacteristicValueAsync(BluetoothRobotConstants.MODULE_PARAMETER_TRANSMIT_POWER_CHARACTERISTIC_UUID, new byte[] { (byte)power }));
 }
Esempio n. 2
0
 public Task <bool> SetBTTransmitPower(BluetoothRobotConstants.TRANSMIT_POWER power)
 {
     return(GetService <ModuleParameterService>(BaseService.TYPE.MODULE_PARAMETER).WriteTransmitPower(power));
 }