Meshtastic-Android/app/src
James Rich 8c46a0c946 feat: Add disconnect broadcast and improve app port handling
This commit introduces several enhancements to the service broadcasts and data handling:

-   **Disconnect Broadcast**: Adds and triggers a new `ACTION_MESH_DISCONNECTED` broadcast when the mesh connection state changes to `Disconnected`. This provides a more specific intent for apps to listen for disconnection events.

-   **Expanded App Port Handling**:
    -   Adds explicit broadcast actions for various app port numbers (e.g., `ATAK_PLUGIN`, `PRIVATE_APP`, `DETECTION_SENSOR_APP`).
    -   Ensures that packets for `ATAK`, `PRIVATE_APP`, and `DETECTION_SENSOR_APP` are now correctly broadcast to external applications.
    -   Implements a default behavior to broadcast any unrecognized port numbers, allowing for future extensibility and support for third-party apps.

-   **Backward Compatibility**: When broadcasting received data, a secondary broadcast with the numeric port number is also sent to maintain compatibility with older applications that may rely on it.

Signed-off-by: James Rich <2199651+jamesarich@users.noreply.github.com>
2026-02-07 15:10:00 -06:00
..
androidTest/java/com/geeksville/mesh feat: word-based message filtering with quarantine approach (stored but hidden) (#4241) 2026-01-24 16:41:17 +00:00
fdroid/java/com/geeksville/mesh feat(map): Persist Google Maps camera position (#3605) 2025-11-04 13:14:50 +00:00
fdroidDebug/res feat(build): Add distinct names for debug builds (#3707) 2025-11-15 02:03:32 +00:00
google/java/com/geeksville/mesh feat(map): Persist Google Maps camera position (#3605) 2025-11-04 13:14:50 +00:00
googleDebug/res feat(build): Add distinct names for debug builds (#3707) 2025-11-15 02:03:32 +00:00
main feat: Add disconnect broadcast and improve app port handling 2026-02-07 15:10:00 -06:00
test/java/com/geeksville/mesh feat: Improve connection state broadcast and timing (#4498) 2026-02-07 18:52:35 +00:00