Commit Graph

23 Commits (163f08b9908ed0f756ef7a5e28d68084efc3c848)

Author SHA1 Message Date
Rob Pilling 8cfaf5591e btadv: generate JS 2023-08-08 08:15:12 +01:00
Rob Pilling 701f8c7733 btadv: properly encode acc readings 2023-07-31 21:40:06 +01:00
Rob Pilling b61e4fb137 btadv: fix long uuid (characteristic) 2023-07-31 21:35:28 +01:00
Rob Pilling 19c0a9af08 btadv: generate JS 2023-07-31 21:30:34 +01:00
Rob Pilling 31736cb447 btadv: encode & advertise accelerometer data 2023-07-26 21:39:04 +01:00
Rob Pilling 77ff7fa58b btadv: localise definitions (for typescript)
Typescript treats all TS files as sharing the same global namespace,
so this prevents name collision errors.
2023-06-30 12:23:22 +01:00
Rob Pilling 9767eb6594 typescript: drop "use strict" generation 2023-04-17 12:02:31 +01:00
Rob Pilling 2b39b1e285 btadv: manually setup TS helpers - use Object.assign()
Currently we have `tsc` [generate code for es5], because we don't yet have es6 destructuring support in JSV (used [here], for example).

As a follow on from #2587, this disables the TS poiyfill and points it at our `Object.assign`, so we benefit from these new features, while still keeping the target at es5.

[generate code for es5]: 380af9c600/tsconfig.json (L4-L4)
[here]: 380af9c600/apps/btadv/app.ts (L235)
2023-02-22 22:27:12 +00:00
Rob Pilling f600c61bf9 btadv: clear approx. hrm (when disabled) 2023-02-19 21:18:50 +00:00
Rob Pilling 7ef78ceb27 btadv: regenerate JS 2023-02-19 21:07:27 +00:00
Rob Pilling 9ad799e0f3 btadv: fix GPS encoding 2023-02-19 21:07:12 +00:00
Rob Pilling 2c3edd5c7b btadv: clear hrmAny when turned off 2023-02-14 22:34:09 +00:00
Rob Pilling 794c373588 btadv: fit "waiting" message on screen 2023-02-14 22:34:09 +00:00
Rob Pilling 2d1a3cec8f btadv: minimum confidence level for HRM 2023-02-14 22:34:09 +00:00
Rob Pilling 74aa06ec77 btadv: rebuild app.js 2023-02-14 22:34:08 +00:00
Rob Pilling bd3efc5f9f btadv: change info layout to plain text 2023-02-14 22:33:30 +00:00
Rob Pilling 9e8bba280b btadv: togglable layouts 2023-02-14 22:33:30 +00:00
Rob Pilling d0245f0c64 btadv: tsc rebuild 2023-02-14 22:33:30 +00:00
Rob Pilling c36a6a5fbb btadv: handle remaining sensors 2023-02-14 22:33:30 +00:00
Rob Pilling b671ca5952 btadv: hide stale values from menu 2023-02-14 22:33:30 +00:00
Rob Pilling eaed0f8215 btadv: fix menus, avoid magic numbers 2023-02-14 22:33:30 +00:00
Rob Pilling da58969924 btadv --> typescript 2023-02-14 22:33:30 +00:00
Rob Pilling 1477029762 btadv app: initial hrm support 2023-02-14 22:33:30 +00:00