You are here

Project #033: BLE RTC | Cypress Semiconductor

Project #033: BLE RTC

In most of the wearable devices, data logging has become an integral part of the system. Along with logging the sensor data, time-stamp information is also logged to keep a track of the data w.r.t. the current time. For such cases, BLE protocol provides a Current Time Service (CTS) to get the current timing information from the mobile device.
 
In a CTS, a GATT Client, typically a wearable device, gets the current timinig information from a GATT Server, typically a mobile phone, and use this information to synchronize or set the system time.
 
In today's example, we demonstrate how to implement a Real Time Clock (RTC) using CTS and configurable wathcdog timers of PSoC 4 BLE device. In this example, the PSoC 4 BLE device, acting as the GATT Client, gets the current timing information when connected with the GATT Server and implements the RTC functionlity.
 
 
Language: 
English

Comments

Lightssout's picture

It only displays Monday and zeros for me.
am I doing something wrong?

bobgoar's picture

This project does not work just displays Monday and 0:0:01 and when you press the S2 switch it advances one at a time, I believe that this will only work with an Iphone not with android device. Need some information on this issue.

Pushek Madaan's picture

The BLE CTS server is in-built in iOS and all the iOS devices supports this service by default. With an Android device, a custom app is required whic instantiates the CTS server.

Are you using this with an Android device?

rohit.warule_1478321's picture

Dear Sir ,

 

i am working on the same , i have to update date and time of the BLE  peripheral device  through android app .

please suggest me how to do this ....waiting for favorable reply.....

jordanss123 jordanss123's picture

fake yeezy boost 350 Thanks for providing such a nice article and now i am searching for clash royale ios cheats to hack clash royale gems and golds so that i play clash royale game freely.

 

sherapova_2972126's picture

Fascinating and stunning how your post is! It Is Useful and accommodating for me That I like it all that much, and I am anticipating Hearing from your next.. Rutabagas

Japan Comp's picture

You have a decent point here!I thoroughly concur with what you have said!!Thanks for sharing your views...hope more individuals will read this article!!! cheap link building

zacknight_2986731's picture

These are some incredible instruments that i certainly use for SEO work. This is an awesome rundown to use later on.. brian holm lawyer san diego

ALL CONTENT AND MATERIALS ON THIS SITE ARE PROVIDED "AS IS". CYPRESS SEMICONDUCTOR AND ITS RESPECTIVE SUPPLIERS MAKE NO REPRESENTATIONS ABOUT THE SUITABILITY OF THESE MATERIALS FOR ANY PURPOSE AND DISCLAIM ALL WARRANTIES AND CONDITIONS WITH REGARD TO THESE MATERIALS, INCLUDING BUT NOT LIMITED TO, ALL IMPLIED WARRANTIES AND CONDITIONS OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT OF ANY THIRD PARTY INTELLECTUAL PROPERTY RIGHT. NO LICENSE, EITHER EXPRESS OR IMPLIED, BY ESTOPPEL OR OTHERWISE, IS GRANTED BY CYPRESS SEMICONDUCTOR. USE OF THE INFORMATION ON THIS SITE MAY REQUIRE A LICENSE FROM A THIRD PARTY, OR A LICENSE FROM CYPRESS SEMICONDUCTOR.

Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Terms and Conditions of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Terms and Conditions of this site. Cypress Semiconductor and its suppliers reserve the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.