edge split

This commit is contained in:
flower_linux
2026-05-13 16:45:31 +08:00
parent df5eb5529c
commit 238b814057
31 changed files with 1934 additions and 52 deletions

View File

@@ -38,7 +38,9 @@ int main(int argc, char *argv[])
parser.addHelpOption();
parser.addVersionOption();
QCommandLineOption roleOption(QStringLiteral("role"),
QStringLiteral("Daemon role (CoreRouter, CollectorSerial, CollectorCan, Collector, SqlServer)"),
QStringLiteral("Daemon role. CoreRouter: full daemon + D-Bus. "
"Collector* roles are legacy/in-process collectors; "
"prefer standalone softbus_edge_agent repo for Ethernet edge."),
QStringLiteral("role"),
QStringLiteral("CoreRouter"));
parser.addOption(roleOption);
@@ -65,7 +67,8 @@ int main(int argc, char *argv[])
role = CoreService::Role::SqlServer;
} else {
LOG_ERROR() << "Invalid role:" << roleString
<< "valid roles are: CoreRouter, CollectorSerial, CollectorCan, Collector, SqlServer";
<< "valid roles are: CoreRouter, CollectorSerial, CollectorCan, Collector, SqlServer "
"(Ethernet edge uses separate softbus_edge_agent; see docs/EDGE_UPLINK_PROTOCOL_v1.md)";
return 1;
}
// 开启coreserive的初始化工作|线程