]> git.kernelconcepts.de Git - metawatch.git/blob - README.txt
Add fixes for RTC and NVAL commands from Oleg Titov - thanks!
[metawatch.git] / README.txt
1 For compilation of the mw_main test application the following additional
2 libraries are needed:
3
4 libbluetooth-dev
5 libdbus-glib-1-dev
6 libdbus-1-dev
7
8 On Debian/Ubuntu they can be installed like this (as user root) from the
9 commandline:
10
11         apt-get install libbluetooth-dev libdbus-glib-1-dev libdbus-1-dev
12
13 After successful compilation you can try the application like this, inside
14 the course directory execute:
15
16         ./metawatch C1:F4:23:96:4E:79
17
18 (replace the BT MAC against the one of your watch)
19 It should connect and print the connected watch type - in most cases
20 "digital".
21 After that the application waist for input, from the watch and
22 keyboard/console. You can then try commands like "srtc" for setting the RTC
23 of the watch or "cal" to add a nice month calendar to the idle screen etc.
24
25 Currently supported commands (most zre just for testing):
26
27 - quit - exit the applicaition
28 - ahand # - advance the analogue watch hands by # minutes
29 - srtc - sets the watch RTC to the current system time
30 - grtc - get the RTC from the watch and print it
31 - gistr # - get and print one of the four info strings from the watch
32   (firmwares up to 0.7.28 do not support this yet)
33 - gdtype - get and print watch device type
34 - rvbat - read and print the watch's battery voltage
35 - rlight - read and print the watch's ambient light sensor value
36 - modecfg - test command for mode settings, hardcoded to configure idle mode
37 - rbtfg - read and print watch button config
38 - svib - execute the watch vibration motor
39 - tbmp - test sending a sample bitmap
40 - t2bmp - another bitmap test ;)
41 - text - test text rendering of the library
42 - tline - test line drawing of the library
43 - rbmp - reads the b&w pbm bitmap file "test.pbm" and sends it to watch idle
44   screen
45 - tnote - test notification mode
46 - tapp - test applicaiton mode
47 - eoled # - enable one of the OLED display of the analogue watch
48 - toled - test the analogue watch OLED displays (displays text)
49 - cal - draw a nice one moth calendar to the idle screen