How to correctly set the date and time in a bluetooth low energy peripheral?

后端 未结 3 2132
[愿得一人]
[愿得一人] 2021-02-11 00:26

I am developing a sensor device and a corresponding iOS-app that shall communicate using Bluetooth low energy. The sensor device needs to maintain the current date and time in a

3条回答
  •  时光取名叫无心
    2021-02-11 00:46

    The Current Time Service is intended to be a provider of the current time; clients would use it to obtain the time. Hence, having a client write to it does not really make sense. If your device does not have a Real Time Clock then it cannot provide a time service. If your device needs the time and does not have an RTC then your device must become a client to another device which can provide it.

提交回复
热议问题