Package-level declarations
Casio G-Shock B5000/B5600/B2100 API
Description
This library provides an API to communicate and issue commands to the Casio G-Shock B5000, B5600 and B2100 series of watches via the Bluetooth interface. It can perform the following tasks:
Set watch's time
Set Home Time (Home City)
Set Alarms
Set Reminders
Set watch's settings.
Get watch's name
Get watch's battery level
Set watch's Timer
All the API functions are located in the GShockAPI class.
For a quick start, you can take a look at the /app
directory of this project for an example app.
Types
This class contains all the API functions. This should the the main interface to the library.
This class is used to send RX events to the rest of the library and to the application to inform them of some internal events. For example, when a connection is established, a "ConnectionSetupComplete"
event is broadcast. If the application is listening on this event, it can change its UI to reflect this. The app can call Subscriber.start method to start listening to events. Here is an example which can reside in the MainActivity
: