Commit Graph

64 Commits

Author SHA1 Message Date
Janez T
9c1922b4fd feat: Update project version to 11 and enhance BLE packet logging with RSSI and SNR information 2025-10-16 14:20:40 +02:00
Janez T
9ae3acb3dc feat: Update project version to 9 and enhance debug print functionality 2025-10-16 14:03:44 +02:00
Janez T
bf4305bdb3 feat: Enhance BLE connection strength indicator with RSSI display and adjust spacing 2025-10-16 13:53:08 +02:00
Janez T
38cda87841 feat: Enhance button styling in direct message sheet for improved visibility 2025-10-16 13:45:52 +02:00
Janez T
520f343261 feat: Remove manual location update functionality and improve password handling in room login 2025-10-16 13:44:35 +02:00
Janez T
23c439a92e Refactor message handling and enhance BLE connection management
- Cleaned up message formatting in MessagesTab for better readability.
- Improved SAR message parsing to include optional inline messages.
- Updated BLE connection manager to monitor RSSI values and added callback for RSSI updates.
- Adjusted drawing message parser to remove sender name from JSON and extract it from packet metadata.
- Enhanced drawing toolbar to reflect changes in message creation without sender name.
- Ensured consistent error handling and logging across BLE operations.
2025-10-16 13:32:58 +02:00
Janez T
5a096c048e feat: Implement compact JSON handling for map drawings and add chat notifications for sent/received drawings 2025-10-15 22:45:30 +02:00
Janez T
800786ec9c feat: Enhance drawing functionality with sender tracking and sharing capabilities 2025-10-15 22:41:57 +02:00
Janez T
317addba9e feat: Update project version to 5 and adjust fullscreen button position in map tab 2025-10-15 22:16:24 +02:00
Janez T
6ee1c9ae79 feat: Update color handling in map drawings and enhance message sync functionality 2025-10-15 22:13:15 +02:00
Janez T
3651f53ef2 feat: Add drawing functionality with line and rectangle support, including toolbar and layer integration 2025-10-15 22:04:23 +02:00
Janez T
aab79a56ea feat: Implement advertisement path tracking with location history and UI integration 2025-10-15 21:59:04 +02:00
Janez T
6be182e20a feat: Add new contact and message tracking features, including unread status and removal functionality 2025-10-15 21:49:33 +02:00
Janez T
2849ab92aa feat: Enhance message display with rich sender names and replace SnackBars with ToastLogger for notifications 2025-10-15 20:15:13 +02:00
Janez T
f5a6e1f9ab Fixes 2025-10-15 19:57:10 +02:00
Janez T
24234e7000 feat: Implement smart ping with automatic fallback and enhance telemetry handling 2025-10-15 19:37:37 +02:00
Janez T
91d9326804 Refactor contacts management and improve path handling
- Updated ContactsProvider to initialize with device public key for filtering out self contacts.
- Added methods to check if a contact has a learned routing path and to get path quality indicators.
- Enhanced AppProvider to initialize ContactsProvider with device public key.
- Modified ConnectionProvider to log path status when sending messages.
- Created ContactStorageService for persisting contacts to local storage.
- Removed import/export functionality from MapManagementScreen.
- Updated UI components in DirectMessageSheet and SarUpdateSheet to use theme colors.
- Removed file_picker dependency from pubspec.yaml and generated plugin registrant.
2025-10-15 19:20:46 +02:00
Janez T
3f03b2e789 feat: Add heading accuracy information and warning display in DetailedCompassDialog 2025-10-15 15:26:42 +02:00
Janez T
f76cd227e1 feat: Adjust padding in SAR Update Sheet for keyboard visibility 2025-10-15 15:19:58 +02:00
Janez T
52efa03d32 feat: Add message deletion functionality with confirmation dialog and options 2025-10-15 15:04:09 +02:00
Janez T
61d0b831ab feat: Enhance message sending feedback and improve reconnection logic with optimized delays 2025-10-15 14:59:00 +02:00
Janez T
829b8605eb feat: Implement automatic reconnection handling and enhance message processing with sender identification 2025-10-15 14:53:55 +02:00
Janez T
f50b429e34 Add fastlane setup for iOS deployment 2025-10-15 14:31:17 +02:00
Janez T
a6e317bc37 Enhance validation and error handling across various screens
- Updated ConnectionProvider to track pending messages before sending to avoid race conditions.
- Integrated ValidationService in DeviceConfigScreen for validating latitude, longitude, frequency, and TX power inputs.
- Added bounds and zoom level validation in MapManagementScreen using ValidationService.
- Refactored MapTab to utilize LocationTrackingService for location updates and removed deprecated location permission handling.
- Replaced BackgroundLocationService with LocationTrackingService in SettingsScreen, improving location update management and error handling.
- Enhanced SAR Update Sheet to validate coordinates, notes length, and location accuracy before sending SAR markers.
2025-10-15 11:09:34 +02:00
Janez T
823a3c50f7 feat: Enhance message handling with recipient public key and delivery status for improved retry support 2025-10-15 10:56:52 +02:00
Janez T
276d0f4470 feat: Add LocationTrackingService for GPS tracking and mesh network integration
- Implemented LocationTrackingService to handle GPS tracking, distance thresholds, and location broadcasting.
- Added permission handling, SharedPreferences persistence, and real-time position updates via callbacks.

feat: Introduce MapMarkerService for managing map markers

- Created MapMarkerService to generate contact and SAR markers, calculate distances, and manage marker display.
- Included methods for user location markers and distance/bearing calculations.

feat: Implement ValidationService for input validation and sanitization

- Developed ValidationService to validate coordinates, radio parameters, distances, time intervals, and names.
- Added parse and sanitize methods for common input types, ensuring robust error handling and user feedback.
2025-10-15 10:55:11 +02:00
Janez T
d69a83fded feat: Implement auto-zoom functionality for preselected contacts and SAR markers in DetailedCompassDialog 2025-10-15 10:47:33 +02:00
Janez T
3c3db22eb0 style: Update padding and text styles in LocationDisplay and CompassHeader for improved UI consistency 2025-10-15 10:44:46 +02:00
Janez T
dbaf09e701 feat: Add LocationDisplay widget for reusable location display with modal formats
feat: Enhance CompassContactList and CompassSarList with relative bearing display
refactor: Update DetailedCompassDialog to integrate LocationDisplay and improve layout
2025-10-15 10:39:14 +02:00
Janez T
86711dbb27 refactor: Improve connection and room login state management by utilizing helper methods 2025-10-15 10:34:50 +02:00
Janez T
e831612a1a Add CompassSarList widget and refactor DetailedCompassDialog
- Introduced CompassSarList widget to display filtered SAR markers with distance and bearing information.
- Refactored DetailedCompassDialog to integrate CompassSarList and CompassContactList for better organization.
- Removed the previous filter dialog implementation and replaced it with a more modular CompassFilters widget.
- Simplified the handling of zoom and scale updates in the compass view.
- Cleaned up unused code related to previous implementations of contact and SAR marker lists.
2025-10-15 10:30:21 +02:00
Janez T
8af96c3fec Add MapLegend widget to display counts of various map elements
- Introduced a new MapLegend widget that shows a legend for team members, found persons, fires, staging areas, and objects on the map.
- Each legend item includes an icon, label, and count, styled appropriately.
- The widget uses a Card for visual separation and includes padding for better layout.
2025-10-15 10:16:07 +02:00
Janez T
9baee65c28 feat: Implement SAR Update Sheet for creating and sending SAR markers 2025-10-15 10:04:24 +02:00
Janez T
9b38d4d05e feat: Add refresh button for telemetry requests in contact details 2025-10-15 09:55:17 +02:00
Janez T
7320a876f0 feat: Enhance contact details display with public key copy functionality and location formats 2025-10-15 09:51:00 +02:00
Janez T
c88533b187 feat: Add location tracking and distance calculation to contacts display 2025-10-15 09:44:14 +02:00
Janez T
9124b53073 feat: Enhance MeshCoreBleService with new callbacks and message handling
- Added new callback types for path updates, message sent, message delivered, status responses, binary responses, and battery/storage information.
- Implemented handling for binary responses and path updates, including parsing and notifying via callbacks.
- Updated message sending logic to include acknowledgment and delivery confirmation.
- Enhanced log parsing for received data, including detailed interpretations and analysis.
- Introduced status request functionality to query operational status from repeater or sensor nodes.
- Updated battery and storage information handling to provide detailed metrics and trigger callbacks.
- Deprecated legacy methods in favor of more robust alternatives.
2025-10-15 09:31:19 +02:00
Janez T
05b90d7f1f feat: Implement default destination selection for SAR Update Sheet
- Added logic to set the default destination to the first available room, or the first channel if no rooms exist.
- This enhancement improves user experience by automatically selecting a relevant destination upon initialization.
2025-10-14 22:58:33 +02:00
Janez T
846cc9dce4 feat: Implement room login state management and enhance SAR message handling 2025-10-14 22:55:38 +02:00
Janez T
fd54392d3c feat: Implement self advertisement functionality and enhance location broadcasting settings 2025-10-14 21:36:50 +02:00
Janez T
2cb6c34167 feat: Add device info handling and improve UI for telemetry settings 2025-10-14 21:20:00 +02:00
Janez T
9238be1a59 feat: Enhance HomeScreen with RX/TX indicators and long press functionality
- Added GestureDetector to RX/TX indicators for long press to open PacketLogScreen.
- Refactored RX/TX indicator code for better readability.
- Updated disconnect button to maintain functionality.

feat: Extend MeshCoreBleService with new login and message handling features

- Introduced new callbacks for device info, message waiting, login success, and login fail.
- Implemented handling for new message waiting and login success/fail pushes.
- Enhanced device info parsing to include additional fields such as firmware version, max contacts, and more.

fix: Correct MeshCoreConstants response codes

- Added new response codes for custom variables, advertisement path, and tuning parameters.
2025-10-14 21:11:54 +02:00
Janez T
219eeecacd feat: Enhance Device Configuration Screen with Device Info and Telemetry Modes
- Added a new section to display device information including Device Type, Max Contacts, Max Channels, Telemetry Modes, and Manual Add Contacts.
- Implemented helper methods to convert device types and telemetry modes to user-friendly strings.
- Removed Message History Screen and its references from the Home Screen.
- Simplified message sending logic in Messages Tab to always send to the public channel.
- Introduced a new channel selection feature in the SAR Update Sheet for sending messages.
- Updated MeshCore BLE service to handle send confirmation responses and improved message sending protocols.
2025-10-14 20:43:58 +02:00
Janez T
5ff4138de0 feat: Update message synchronization and filtering logic for improved clarity and functionality 2025-10-14 20:15:55 +02:00
Janez T
3bcf3fc59f feat: Enhance SAR message handling with improved parsing and object marker generation 2025-10-14 20:10:10 +02:00
Janez T
13df47b297 feat: Enhance BLE packet logging with opcode names and descriptions 2025-10-14 16:49:19 +02:00
Janez T
59de627289 feat: Add Packet Log Screen for BLE packet logging and exporting
- Implemented PacketLogScreen to display and filter BLE packet logs.
- Added functionality to export logs as CSV and text files.
- Introduced clipboard copy feature for hex data.
- Implemented clear logs functionality with confirmation dialog.
- Enhanced MeshCoreBleService to log TX and RX packets with descriptions.
- Added BufferReader methods for reading unsigned and signed 16-bit integers (big-endian).
- Updated CayenneLppParser to read values as big-endian.
- Created MessageStorageService for persisting messages to local storage.
- Enhanced map markers to display telemetry data including voltage, humidity, and pressure.
2025-10-14 15:27:18 +02:00
Janez T
ccec842672 feat: Add display name getter to DeviceInfo and update usage in HomeScreen; refactor contact type handling in MapMarkers 2025-10-14 11:18:59 +02:00
Janez T
373998bc7d feat: Add RX/TX activity indicators and packet counters; update GPS coordinate conversion 2025-10-14 10:46:07 +02:00
Janez T
62bbb342ec feat: Add detailed logging for BLE connection and scanning processes 2025-10-14 10:33:22 +02:00