Beispiel #1
0
 public async Task <bool> WriteBoardcastPeriod(BluetoothRobotConstants.BOARDCAST_PERIOD period)
 {
     return(await base.WriteCharacteristicValueAsync(BluetoothRobotConstants.MODULE_PARAMETER_BOARDCAST_PERIOD_CHARACTERISTIC_UUID, new byte[] { (byte)period }));
 }
 public Task <bool> SetBTBoardcastPeriod(BluetoothRobotConstants.BOARDCAST_PERIOD period)
 {
     return(GetService <ModuleParameterService>(BaseService.TYPE.MODULE_PARAMETER).WriteBoardcastPeriod(period));
 }