mirror of
https://github.com/kavishdevar/librepods.git
synced 2026-03-12 17:22:59 +00:00
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:
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user