initial commit: push everything
This commit is contained in:
18
lib/views/helpers/constants/mqtt_constants.dart
Normal file
18
lib/views/helpers/constants/mqtt_constants.dart
Normal file
@@ -0,0 +1,18 @@
|
||||
class MqttConstants {
|
||||
static const String brokerHost = '66.116.225.226'; // Updated with VPS IP
|
||||
static const int brokerPort = 1883;
|
||||
static const String username = 'admin';
|
||||
static const String passwordString = 'Package@321#'; // Provided by user
|
||||
|
||||
// Topic Structure
|
||||
static const String topicRiderStatus = 'nearle/riders/{riderId}/status';
|
||||
static const String topicRiderProfile = 'nearle/riders/{riderId}/profile';
|
||||
static const String topicRiderLocation = 'nearle/riders/{riderId}/location';
|
||||
static const String topicRiderTelemetry = 'nearle/riders/{riderId}/telemetry';
|
||||
static const String topicRiderLogs = 'nearle/riders/{riderId}/logs';
|
||||
|
||||
// Status Values
|
||||
static const String statusOnline = 'Online';
|
||||
static const String statusOffline = 'Offline';
|
||||
static const String statusIdle = 'Idle';
|
||||
}
|
||||
Reference in New Issue
Block a user