mirror of
https://github.com/zjs81/meshcore-open.git
synced 2026-06-14 22:55:12 +10:00
cba1e5950c
- Implemented contactTypeIcon and contactTypeColor functions for better UI representation of contact types. - Created colorForName and firstCharacterOrEmoji functions to enhance contact display. - Developed PathEditorSheet widget for managing contact paths with a user-friendly interface. - Introduced RoutingSheet for managing contact routing modes and displaying path history. - Added a script for generating proof of concept (PoC) payloads for clipboard contact import validation.
21 lines
719 B
Dart
21 lines
719 B
Dart
class MeshCoreUuids {
|
|
static const String service = "6e400001-b5a3-f393-e0a9-e50e24dcca9e";
|
|
static const String rxCharacteristic = "6e400002-b5a3-f393-e0a9-e50e24dcca9e";
|
|
static const String txCharacteristic = "6e400003-b5a3-f393-e0a9-e50e24dcca9e";
|
|
|
|
/// Known advertised-name prefixes used by stock MeshCore firmware builds.
|
|
/// Discovery no longer filters on these (it filters on the [service] UUID so
|
|
/// that community forks with custom names are still found); kept for
|
|
/// reference and possible future display heuristics.
|
|
static const List<String> deviceNamePrefixes = [
|
|
"MeshCore-",
|
|
"Whisper-",
|
|
"WisCore-",
|
|
"Seeed",
|
|
"Lilygo",
|
|
"HT-",
|
|
"LowMesh_MC_",
|
|
"NRF52",
|
|
];
|
|
}
|