linux: hearing aid support (#230)

* linux: add hearing aid

it's just a simple python script, with a toggle in the main app. i dont want to mess with the main app because it uses ATT instead of the AACP protocol which is implemented in the app.

* linux: implement adding hearing aid test results

* docs: add linux screenshot

* docs: add linux hearing aid script

* linux: add reset button for hearing aid adjustments

* linux: remove MAC address logging for security
This commit is contained in:
Kavish Devar
2025-10-16 12:13:57 +05:30
committed by GitHub
parent 28ffd217d6
commit f062eb43b3
7 changed files with 570 additions and 1 deletions

View File

@@ -107,6 +107,16 @@ namespace AirPodsPackets
inline std::optional<bool> parseState(const QByteArray &data) { return Type::parseState(data); }
}
// Hearing Aid
namespace HearingAid
{
using Type = BasicControlCommand<0x2C>;
static const QByteArray ENABLED = Type::ENABLED;
static const QByteArray DISABLED = Type::DISABLED;
static const QByteArray HEADER = Type::HEADER;
inline std::optional<bool> parseState(const QByteArray &data) { return Type::parseState(data); }
}
// Allow Off Option
namespace AllowOffOption
{