Exemplo n.º 1
0
        internal MiBand(IDevice miBand)
        {
            this.device = miBand;

            Vibration = new VibrationService(this);
            Activity  = new ActivityService(this);
            HeartRate = new HeartRateService(this);
        }
 private static HeartRateReading?GetReading(params byte[] buf)
 {
     return(HeartRateService.ReadBuffer(buf, buf.Length));
 }