| ... |
... |
@@ -19,7 +19,7 @@ with the smallest battery.
|
|
19 |
19 |
|
|
20 |
20 |
To use this watchapp, you need a webserver to receive the POST request
|
|
21 |
21 |
sent the watchapp. The append server in my
|
|
22 |
|
-[Simple Web Applicaitons (in Ada)][webapps] was the reference used when
|
|
|
22 |
+[Simple Web Applications (in Ada)][webapps] was the reference used when
|
|
23 |
23 |
developing this watchapp, but any webapp that can work with a POSTed HTML
|
|
24 |
24 |
form should work, and the actual HTML from doesn't even need to exist.
|
|
25 |
25 |
|
| ... |
... |
@@ -45,7 +45,7 @@ format,
|
|
45 |
45 |
minute (9915 here is a lot, my desk activity is a few thousands,
|
|
46 |
46 |
light sleep or watching TV is a few hundreds, and it goes down to
|
|
47 |
47 |
zero during deep sleep)
|
|
48 |
|
-- **ambieent light level**, from 1 (darkest) to 4 (brightest) with 0
|
|
|
48 |
+- **ambient light level**, from 1 (darkest) to 4 (brightest) with 0
|
|
49 |
49 |
meaning unknown
|
|
50 |
50 |
- **activity mask**, currently 3 for deep sleep, 1 for non-deep sleep or 0
|
|
51 |
51 |
for not sleeping.
|
| ... |
... |
@@ -76,7 +76,7 @@ itself, so it can improve throughput to bundle several line in a single
|
|
76 |
76 |
POST request.
|
|
77 |
77 |
|
|
78 |
78 |
If your receiving webapp supports this, you can configure bundling lines,
|
|
79 |
|
-with a percent-encoded separator of your choice. For example, %0d%0a might
|
|
|
79 |
+with a percent-encoded separator of your choice. For example, `%0d%0a` might
|
|
80 |
80 |
be good for a webapp like my Append Server that appends the POSTed field
|
|
81 |
81 |
directly to a text file.
|
|
82 |
82 |
|
| ... |
... |
@@ -96,7 +96,7 @@ and the watchapp javascript engine doesn't do well with cookies. In order
|
|
96 |
96 |
to strengthen the authentication, my Append Server uses HMAC authentication
|
|
97 |
97 |
of data lines.
|
|
98 |
98 |
|
|
99 |
|
-The watchapps can be configured to provide a signature on a the given form
|
|
|
99 |
+The watchapps can be configured to provide a signature on the given form
|
|
100 |
100 |
field, with the usual HMAC-SHA\* algorthm, and can encode the signature in
|
|
101 |
101 |
hexadecimal or base-64 or send it unencoded.
|
|
102 |
102 |
|