From 86e37dda46a4ba29a4092e0a990e5a3994525923 Mon Sep 17 00:00:00 2001 From: ZhangLe2016 <156590889+ZhangLe2016@users.noreply.github.com> Date: Fri, 24 May 2024 02:09:28 +0800 Subject: [PATCH] [uri] add DIAG_GET URIs for disgnostic APIs (#267) In order to enable libotcommissioner.jar to support the diagnostic commands, it is necessary to integrate all diagnostic URIs into the uri module. --- src/library/uri.hpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/library/uri.hpp b/src/library/uri.hpp index c528ba9a6..d8535eb93 100644 --- a/src/library/uri.hpp +++ b/src/library/uri.hpp @@ -75,6 +75,14 @@ static const char *const kJoinEnt = "/c/je"; static const char *const kJoinFin = "/c/jf"; static const char *const kJoinApp = "/c/ja"; +/* + * Thread diagnostic URIs + */ +static const char *const kDiagGet = "/d/dg"; +static const char *const kDiagGetQuery = "/d/dq"; +static const char *const kDiagGetAns = "/d/da"; +static const char *const kDiagRst = "/d/dr"; + /* * Thread Network Layer URIs */