Commit Graph
3 Commits
Author SHA1 Message Date
jrthomas270andJosé Rebelo 616e8977c6 Support Even Realities G1 Glasses as a Single Device
This change switches G1DeviceSupport from managing to individual devices
to using AbstractBTLEMultiDeviceSupport which allows it to manage both
BLE connections under a single support class. This also updates the
Pairing activity to make it much more reliable at bonding and pairing
both devices.
2025-05-11 15:26:37 +00:00
jrthomas270 9d8f54ff17 Add multi channel BLE device abstract classes
This change adds a class that mirrors AbstractBTLEDeviceSupport, except
that it holds and arrays of bluetooth queues instead of just one. This
allows a single GBDevice to be composited into a single DeviceSupport
class. This is useful if there is a gadget that has multiple bluetooth
radios, but the gadget is a single device. It could also be useful if
multiple gadgets were to be grouped under a single Device (such as a
display and a remote), this way the support class can access both
devices fully without having to send messages or it can aggregate calls
to things like onNotification and make sure it is sent to all devices.

My main goal is to add support for the Even Realities G1 Smart Glasses
which use two BLE radios (one for each lens of the glasses). This code
is quite well tested on the following branch:
2025-03-02 09:06:05 -08:00
jrthomas270andJosé Rebelo 2d6a7d3866 Even Realities: Add initial support for Even G1 Smart Glasses (#4553)
Co-authored-by: jrthomas270 <jrthomas270@noreply.codeberg.org>
Co-committed-by: jrthomas270 <jrthomas270@noreply.codeberg.org>
2025-02-02 16:59:39 +00:00