mirror of
https://github.com/dz0ny/meshcore-sar.git
synced 2026-08-14 01:40:28 +00:00
feat: Implement command queue for BLE command handling
- Added BleCommandQueue to manage command serialization and responses in BleCommandSender. - Updated writeData, writeDataAndWaitForAck, and writeDataAndWaitForResponse methods to utilize the command queue. - Enhanced BleResponseHandler to complete commands based on responses received from the BLE device. - Introduced new commands for channel management, including getChannel and setChannel. - Created LocationTrailLayer and TrailControls widgets for displaying and managing location trails on the map. - Added PermissionRequestDialog to handle location permission requests on app startup. - Updated LocationTrackingService to allow GPS tracking without a BLE connection.
This commit is contained in:
@@ -51,6 +51,10 @@ class AppLocalizationsHr extends AppLocalizations {
|
||||
String get locationPermissionPermanentlyDenied =>
|
||||
'Dopuštenje za lokaciju trajno odbijeno. Molimo omogućite u Postavkama.';
|
||||
|
||||
@override
|
||||
String get locationPermissionRequired =>
|
||||
'Dopuštenje za lokaciju potrebno je za GPS praćenje i koordinaciju tima. Možete ga omogućiti kasnije u Postavkama.';
|
||||
|
||||
@override
|
||||
String get locationServicesDisabled =>
|
||||
'Usluge lokacije su onemogućene. Molimo omogućite ih u Postavkama.';
|
||||
@@ -233,7 +237,7 @@ class AppLocalizationsHr extends AppLocalizations {
|
||||
'Učitajte ili očistite primjere kontakata, poruka kanala i SAR markera za testiranje';
|
||||
|
||||
@override
|
||||
String get loadSampleData => 'Učitaj primjer podataka';
|
||||
String get loadSampleData => 'Učitaj primjer';
|
||||
|
||||
@override
|
||||
String get clearAllData => 'Očisti sve podatke';
|
||||
@@ -701,6 +705,9 @@ class AppLocalizationsHr extends AppLocalizations {
|
||||
@override
|
||||
String get rooms => 'Sobe';
|
||||
|
||||
@override
|
||||
String get channels => 'Kanali';
|
||||
|
||||
@override
|
||||
String get cacheStatistics => 'Statistika predmemorije';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user