Accessing Ambient Light Sensor on Microsoft Band

前端 未结 4 1218
时光说笑
时光说笑 2021-02-04 22:16

There is an Ambient Light Sensor with Microsoft Band, and some apps in the Windows Store show the ALS value in Lux, But I can\'t find a way in the Band SDK to read the ALS Lux v

4条回答
  •  再見小時候
    2021-02-04 23:01

    If you're on Win or iOS use can you RFCOMM. But then you have to write everything by yourself. Subscribing for sensor data is easy, so is parsing the response. But it gets complicated if you need interaction with the device - communicating the tiles and so on. If you're on Android you get the support of MS Health app, but as it does not expose this functionality you cannot use it. Only if you disable (uninstall?) MS Health app and again write everything by yourself.

提交回复
热议问题