This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Regarding current time service

Hi,

I tried testing Current time service example provided in examples of SDK 15.3.0.The things I have noticed were

1)From Apple mobile it is able to discover current time service after getting connect,paired and disconnected and in between the proccess I was able to see some error messages too.Can you please let me know reason for those error messages and how to rectify them and also please let me now the reason why it has to go through connecting,disconnecting and pairing several times before discovering services.The below attached is the log info while testing on Apple mobile

2)From Android mobile it was not discovering service even after connecting several times as done in Apple mobile.The below capture contains log messages while testing CTS with Android mobile.

Please let me know whether I have to delete any bond information?and every time it is advertising erase bonds is being used and I also tried deleting bond information on nRF connect mobile application too.

Parents Reply
  • Hi Swathi,

    swathi p said:
    Can you please let me know how to display exact current time using Current Time Service?

    You already got the exact current time from iOS in this post because the Current Time Service is native to iOS (as described here). Now you have to implement the service on the android phone, and here is a BLE Android tutorial that will cover that. Or take a look at this project that may be helpful. If you have any issue while developing the Current Time Service on android, you should ask the help from the Android forum. 

    -Amanda H.

Children
Related