Om Alve
acfcf79787
Read the charging case battery (sid 0x81 GlassesCaseInfo)
...
The glasses relay the charging case's state on UX_GLASSES_CASE_APP_ID
(sid 0x81): GlassesCaseDataPackage{commandId=CASE_INFO, magicRandom,
caseInfo{soc, chargeStatus, lidStatus, inCaseStatus, errorCode}}, the
schema in g2-kit-unofficial's glasses_case.proto. The Even app reads it
with an empty caseInfo (ProtoBaseSettings.getGlassesCaseInfo).
Observed on G2 2.3.0.24 / Faceclaw/38: while docked the right temple
pushes a GlassesCaseInfo (flag 0x01, its own magic) on every change --
docking, lid, USB, each 1% -- and answers a read with full data; out of
the case a read comes back with an empty caseInfo. Docking pushes
{inCaseStatus=1} before the level, and proto3 drops zero fields, so a
missing soc means no level rather than 0%.
So read it once at session start (docked glasses may be fully charged
and never enter charging mode) and again on entering charging mode,
which clears the queue; pushes carry every later change. Every 0x81
frame is taken as state in onNotification (pushes skip the ack path by
flag). New readings reach TypeScript through
FaceclawBleCommunicatorListener.onCaseState (level, case-charging), on
Android and iOS. Captured frames are tests.
2026-11-01 20:38:32 +05:30
..
2026-09-20 15:12:13 -07:00
2026-09-25 22:24:22 -07:00
2026-09-07 10:18:30 -07:00
2026-10-31 13:57:18 -07:00
2026-10-31 13:57:18 -07:00
2026-10-31 13:57:18 -07:00
2026-09-29 11:54:22 -07:00
2026-09-22 17:26:09 -07:00
2026-10-31 13:57:18 -07:00
2026-09-26 14:12:29 -07:00
2026-10-26 11:12:55 -07:00
2026-10-27 13:05:13 -07:00
2026-07-04 19:57:41 -07:00
2026-10-25 14:05:36 -07:00
2026-10-17 13:43:52 -07:00
2026-09-19 09:19:26 -07:00
2026-09-19 09:19:26 -07:00
2026-09-22 21:26:51 -07:00
2026-09-01 00:33:07 -07:00
2026-10-10 17:33:32 -07:00
2026-10-10 17:33:32 -07:00
2026-09-29 11:54:22 -07:00
2026-09-19 20:52:36 -07:00
2026-09-19 20:52:36 -07:00
2026-09-29 11:54:22 -07:00
2026-09-19 20:52:36 -07:00
2026-10-25 13:12:25 -07:00
2026-10-25 13:12:25 -07:00
2026-09-18 23:30:07 -07:00
2026-09-18 23:30:07 -07:00
2026-09-18 23:30:07 -07:00
2026-10-10 17:33:32 -07:00
2026-10-10 17:33:32 -07:00
2026-09-18 23:30:07 -07:00
2026-09-18 23:30:07 -07:00
2026-09-19 09:19:26 -07:00
2026-09-19 09:19:26 -07:00
2026-09-19 09:19:26 -07:00
2026-09-22 21:26:51 -07:00
2026-09-11 00:22:36 -07:00
2026-10-25 13:12:25 -07:00
2026-09-11 21:58:31 -07:00
2026-11-01 20:38:32 +05:30
2026-11-01 20:38:32 +05:30
2026-09-07 10:18:30 -07:00
2026-09-27 18:22:44 -07:00
2026-09-19 09:19:26 -07:00
2026-09-25 22:28:45 -07:00
2026-09-22 21:26:51 -07:00
2026-09-19 09:19:26 -07:00
2026-09-22 21:26:51 -07:00
2026-09-02 00:30:50 -07:00
2026-09-07 16:57:49 -07:00
2026-09-07 16:57:49 -07:00
2026-09-07 16:57:49 -07:00
2026-04-26 23:07:54 -07:00
2026-09-22 17:26:09 -07:00
2026-09-29 11:54:22 -07:00
2026-09-01 14:37:09 -07:00
2026-10-12 02:33:22 -07:00
2026-09-27 21:38:04 -07:00
2026-10-17 13:52:43 -07:00
2026-09-19 00:48:26 -07:00
2026-09-19 00:48:26 -07:00
2026-09-18 23:46:27 -07:00
2026-09-25 22:28:45 -07:00
2026-09-01 21:17:42 -07:00
2026-10-31 13:57:18 -07:00
2026-10-31 13:57:18 -07:00
2026-10-31 13:57:18 -07:00
2026-09-29 11:54:22 -07:00
2026-10-12 17:12:36 -07:00
2026-09-18 23:46:27 -07:00
2026-09-07 16:57:49 -07:00
2026-09-25 22:28:45 -07:00
2026-09-18 22:48:20 -07:00
2026-09-22 21:26:51 -07:00
2026-10-31 17:48:45 -07:00
2026-10-31 17:48:45 -07:00
2026-10-31 17:48:45 -07:00
2026-10-31 17:48:45 -07:00
2026-09-18 23:46:27 -07:00
2026-09-18 23:46:27 -07:00
2026-09-18 23:46:27 -07:00
2026-09-18 23:46:27 -07:00
2026-10-23 14:11:40 -07:00
2026-09-18 23:46:27 -07:00
2026-09-18 23:46:27 -07:00
2026-09-18 22:48:20 -07:00
2026-09-08 14:47:58 -07:00
2026-09-18 23:46:27 -07:00
2026-09-08 18:14:25 -07:00
2026-10-31 17:03:09 -07:00
2026-10-31 17:03:09 -07:00
2026-10-24 00:18:04 -07:00
2026-10-31 17:03:09 -07:00
2026-10-31 17:03:09 -07:00
2026-10-31 13:57:18 -07:00
2026-10-31 13:57:18 -07:00
2026-10-12 17:06:38 -07:00
2026-10-25 01:01:54 -07:00
2026-10-25 01:01:54 -07:00
2026-10-31 14:47:02 -07:00
2026-10-31 14:47:02 -07:00
2026-10-31 14:47:02 -07:00
2026-09-08 02:21:50 -07:00
2026-10-31 14:47:02 -07:00
2026-09-18 23:46:27 -07:00
2026-09-11 22:21:57 -07:00
2026-10-31 16:01:25 -05:00
2026-11-01 02:20:37 -08:00
2026-10-25 13:12:25 -07:00
2026-09-29 11:54:22 -07:00
2026-09-27 23:16:41 -07:00
2026-09-08 02:43:51 -07:00
2026-10-17 12:28:23 -07:00
2026-10-12 17:12:36 -07:00
2026-09-29 11:54:22 -07:00
2026-09-19 03:06:56 -07:00
2026-10-17 16:43:18 +02:00
2026-09-22 21:26:51 -07:00
2026-09-22 14:19:23 -07:00
2026-10-31 14:45:43 -07:00
2026-10-31 14:45:43 -07:00
2026-10-31 14:45:43 -07:00
2026-10-23 14:11:40 -07:00
2026-10-23 14:11:40 -07:00
2026-09-22 14:56:54 -07:00
2026-09-27 23:16:41 -07:00
2026-07-25 21:33:58 -07:00
2026-10-10 22:56:07 -07:00
2026-10-10 22:56:07 -07:00
2026-10-25 13:12:25 -07:00
2026-10-31 17:03:56 -07:00
2026-09-05 19:16:56 -07:00
2026-10-24 00:18:04 -07:00
2026-10-31 17:03:09 -07:00
2026-10-31 17:03:09 -07:00
2026-10-31 17:03:09 -07:00
2026-10-24 00:18:04 -07:00
2026-10-31 17:03:09 -07:00
2026-10-31 17:03:09 -07:00
2026-09-19 00:02:15 -07:00
2026-09-22 21:26:51 -07:00
2026-09-19 00:02:15 -07:00
2026-09-19 01:27:01 -07:00
2026-09-05 22:59:37 -07:00
2026-09-20 15:12:13 -07:00
2026-09-25 22:28:45 -07:00
2026-09-05 19:16:56 -07:00
2026-09-28 14:11:04 -07:00
2026-10-31 17:03:56 -07:00
2026-10-25 13:12:25 -07:00
2026-10-17 16:43:18 +02:00
2026-10-17 16:43:18 +02:00
2026-09-29 11:54:22 -07:00
2026-10-23 14:11:40 -07:00
2026-10-17 13:43:52 -07:00
2026-09-25 22:24:22 -07:00