mirror of
https://github.com/openharmony/device_manager.git
synced 2026-07-20 21:58:27 -04:00
!12 【轻量级 PR】:Revert https://gitee.com/openharmony/device_manager/pulls/8
Merge pull request !12 from BlancWu/N/A
This commit is contained in:
@@ -29,12 +29,9 @@
|
||||
namespace OHOS {
|
||||
namespace DistributedHardware {
|
||||
namespace {
|
||||
// PIN_CODE一般为随机6位数字字符串, 例如;
|
||||
const std::string PIN_CODE = "123456";
|
||||
|
||||
// PORT为server端的监听端口号,随机端口范围一般为1024~65534, 例如
|
||||
const int32_t PORT = 10001;
|
||||
|
||||
// demo solution, may has security issues, later will be replaced by a formal plan
|
||||
const std::string PIN_CODE = "";
|
||||
const int32_t PORT = -1;
|
||||
|
||||
const std::string DEVICE_MANAGER_APP = "ohos.distributedhardware.devicemanager";
|
||||
const std::string DEVICE_MANAGER_GROUPNAME = "DMPeerToPeerGroup";
|
||||
|
||||
Reference in New Issue
Block a user