Skip to content

Air Relay 0.4.2

Latest

Choose a tag to compare

@ThoreKoritzius ThoreKoritzius released this 26 Nov 16:29
· 19 commits to main since this release
f1e878c

Air Relay only; the fitbit_air package is not republished. Its native
changes below ship inside Air Relay and go into the next package release.

Package

  • A rejected tap is no longer reported as verified. A tap at the wearer's
    own strength leaves that strength unchanged, so reading it back after the
    Air rejected the tap still matched and the tap counted as verified. A
    rejection now fails with HAPTIC_TAP_FAILED, and a tap whose reply is lost
    fails with HAPTIC_UNCONFIRMED (never resent) instead of counting as played.
  • A fresh connection after a silent warm link can always send. If the
    warm link's last write never reported completion, the replacement
    connection inherited the "write in progress" state and its first handshake
    packet never left, so the command timed out as if the Air did not answer.
    The outstanding write now belongs to its connection; a handshake retry on
    the same connection still waits for the write Android is finishing.
  • A packet Android declines as busy is retried every 25 ms for up to half
    a second, instead of waiting for the next packet to move the queue on. Any
    other refusal (Android 13 and newer report why) fails at once with TX
    instead of ending in a timeout; nothing reached the Air, so nothing is
    resent.
  • Setup steps Android declines fail fast and are logged: a service
    discovery Android does not start now fails with GATT_DISCOVERY instead of
    waiting for the operation timeout, and the warm link logs which setup step
    (discovery or subscription) did not start.

Example app

  • Phone calls straight from Android (#43): turning on Rules → Incoming
    calls also asks for the Phone permission. With calls already on, Home
    asks once (Let phone calls ring reliably); after declining, the
    Incoming calls sheet still offers it. With it, Air Relay follows Android's
    call state for phone calls, on every SIM, instead of relying on how the phone
    maker's call app shows the call. The Air rings while the call rings and
    stops as soon as it is answered or ends, whether the call state or the call
    notification started the ring. A call waiting during another call stays
    quiet, and SIMs added while the relay runs are covered. Only the state is
    read, never the number. The call notification stays as a fallback, and app calls such as
    WhatsApp still come from notifications.
  • Turning on Incoming calls works on Android 13 and older: the switch
    showed since 0.4.1 but saving it still required Android 14.
  • Apps that alert through their notification group summary now buzz
    (Gmail does this): Android posts each message quietly and alerts for the
    group summary, and the relay kept the messages quiet but also dropped the
    summary, so the Air never buzzed. The summary now buzzes once for the new
    messages behind it, still honoring muted chats, keyword mutes and "only saved chats".

Install

Download air-relay-0.4.2.apk on your Android phone and open it. Your Fitbit Air must already be paired in Google Health on the same phone.

Verify the download (optional):

shasum -a 256 -c air-relay-0.4.2.apk.sha256

The APK is signed with the Air Relay release key. Certificate SHA-256:
e7:a3:c8:ed:72:68:d0:95:ca:97:b9:7c:ca:ed:89:51:99:cb:1e:8f:06:e1:74:97:c1:50:6f:89:62:0d:33:b4