You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
pschatzmann edited this page Nov 1, 2026
·
2 revisions
Example
cts-client
Reads the time from a BLE device that offers the Current Time Service and prints it every second
cts-server
Serves the time of a software clock, with a time zone and a notification every minute
Both sketches use only TinyCTS.h and the Bluetooth library of your board, so they build for all the boards in Bluetooth Stacks. They print with Serial.print() because not every core has Serial.printf().
To try them together, run cts-server on one board and cts-client on another, or use the Command Line Tool: tinycts scan and tinycts <address> read the server; tinycts serve is a server for your boards.