Skip to content

Commit

Permalink
[uri] add DIAG_GET URIs for disgnostic APIs (#267)
Browse files Browse the repository at this point in the history
In order to enable libotcommissioner.jar to support the diagnostic
commands, it is necessary to integrate all diagnostic URIs into the uri
module.
  • Loading branch information
ZhangLe2016 authored May 23, 2024
1 parent e72fcdd commit 86e37dd
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/library/uri.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand Down

0 comments on commit 86e37dd

Please sign in to comment.