Commit Graph

61 Commits (d166c4224a64d39e4d35f0606ad39ce9f6d0cce2)

Author SHA1 Message Date
Rob Pilling 566042bdac typescript: generate types (boolean -> ShortBoolean)
also patch btadv
2024-10-15 08:23:26 +01:00
Rob Pilling 91dd1f6ec4 btadv: use `ble_advert` module 2024-06-26 21:56:24 +01:00
Rob Pilling ce28c0d1b6 btadv: preserve existing bleAdvert 2024-06-26 21:44:43 +01:00
Rob Pilling ccf6c2a7e5 Detect unused lint-disable directives 2024-06-25 22:14:00 +01:00
Rob Pilling b4dffbfd0e Use `ble_advert` module 2024-05-24 17:21:23 +01:00
Rob Pilling e53c0cdb31 Revert "Move BLE advertising coordination to a module"
This reverts commit 2a4057666b.

Conflicts:
	.eslintignore
	modules/ble_advert.ts
2024-05-18 17:18:40 +01:00
Rob Pilling 2d113883eb Merge branch 'upstream/master' into feat/bleadvert-module
Conflicts:
	.eslintignore
2024-05-17 21:58:04 +01:00
Rob Pilling 2a4057666b Move BLE advertising coordination to a module 2024-05-17 21:52:08 +01:00
Anton 964ba309fa Unbump apps with only type changes 2024-05-04 23:48:51 +02:00
Anton 62a16815d6 Bump app versions 2024-05-04 23:41:56 +02:00
Anton a78858e1ac Also lint typescript files 2024-05-04 23:21:43 +02:00
Rob Pilling 8cfaf5591e btadv: generate JS 2023-08-08 08:15:12 +01:00
Rob Pilling 6a4c1f2c27 btadv: drop accel button 2023-08-08 08:15:12 +01:00
Rob Pilling 99b72333e5 btadv: integration with existing Bangle.bleAdvert 2023-08-08 08:10:36 +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 1f94a8f26e btadv: advertise on a cycle for long UUIDs 2023-07-31 21:29:45 +01:00
Rob Pilling 1dc9870c07 btadv: fix long uuid 2023-07-31 21:28:30 +01:00
Rob Pilling c385d718b5 btadv: bump version 2023-07-26 21:39:04 +01:00
Rob Pilling 31736cb447 btadv: encode & advertise accelerometer data 2023-07-26 21:39:04 +01:00
Rob Pilling 63cbd45cc6 btadv: add sensor location entry 2023-07-26 07:00:31 +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 d848d40a25 typescript: handle typings which now distinguish setTimeout/Interval 2023-06-13 23:23:54 +01:00
Rob Pilling 9767eb6594 typescript: drop "use strict" generation 2023-04-17 12:02:31 +01:00
Rob Pilling f1bb41743e Add local modules types to require() 2023-03-09 21:14:59 +00:00
Gordon Williams 94be5d4627 Add check for unlinked READMEs 2023-03-09 09:54:26 +00:00
Gordon Williams 95bb0e9ee3
Merge pull request #2596 from bobrippling/ts-helpers
btadv: manually setup TS helpers - use Object.assign()
2023-02-23 10:07:00 +00: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 87a448f76c Add TypeScript details to READMEs
And in some cases, add READMEs

(this is a follow-up to #2589)
2023-02-22 22:10:17 +00:00
Rob Pilling f600c61bf9 btadv: clear approx. hrm (when disabled) 2023-02-19 21:18:50 +00:00
Rob Pilling d16debab87 btadv: remove stale comment 2023-02-19 21:09:30 +00:00
Rob Pilling 7ef78ceb27 btadv: regenerate JS 2023-02-19 21:07:27 +00:00
Rob Pilling 2dae075939 btadv: fallback to mag heading when no GPS 2023-02-19 21:07:12 +00:00
Rob Pilling 5efba8bf4a btadv: convert GPS flags to bits 2023-02-19 21:07:12 +00:00
Rob Pilling 9ad799e0f3 btadv: fix GPS encoding 2023-02-19 21:07:12 +00:00
Rob Pilling 8654f7d56e btadv: correct pressure unit 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 cd7723eb53 Simple tidy-ups 2023-02-14 22:34:09 +00:00
Rob Pilling d0b2d0e306 btadv: update todo 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 f7f6dd2e5e btadv: ui/advert changes to improve idle touch handling 2023-02-14 22:33:30 +00:00
Rob Pilling bd3efc5f9f btadv: change info layout to plain text 2023-02-14 22:33:30 +00:00
Rob Pilling c82e0f4e0a btadv: re-enable serv-update, only show when new 2023-02-14 22:33:30 +00:00
Rob Pilling 414a6817b0 btadv: todo 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 1fbba23b1a btadv: incomplete menu tweaks 2023-02-14 22:33:30 +00:00