2 * Copyright (c) 2016-2017, The OpenThread Authors.
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are met:
7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the
11 * documentation and/or other materials provided with the distribution.
12 * 3. Neither the name of the copyright holder nor the
13 * names of its contributors may be used to endorse or promote products
14 * derived from this software without specific prior written permission.
16 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
17 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
18 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
19 * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
20 * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
21 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
22 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
23 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
24 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
25 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
26 * POSSIBILITY OF SUCH DAMAGE.
31 * This file includes definitions for Thread URIs.
34 #ifndef OTBR_AGENT_THREAD_URIS_HPP_
35 #define OTBR_AGENT_THREAD_URIS_HPP_
40 * The URI Path for Address Query.
43 #define OT_URI_PATH_ADDRESS_QUERY "a/aq"
46 * @def OT_URI_PATH_ADDRESS_NOTIFY
48 * The URI Path for Address Notify.
51 #define OT_URI_PATH_ADDRESS_NOTIFY "a/an"
54 * @def OT_URI_PATH_ADDRESS_ERROR
56 * The URI Path for Address Error.
59 #define OT_URI_PATH_ADDRESS_ERROR "a/ae"
62 * @def OT_URI_PATH_ADDRESS_RELEASE
64 * The URI Path for Address Release.
67 #define OT_URI_PATH_ADDRESS_RELEASE "a/ar"
70 * @def OT_URI_PATH_ADDRESS_SOLICIT
72 * The URI Path for Address Solicit.
75 #define OT_URI_PATH_ADDRESS_SOLICIT "a/as"
78 * @def OT_URI_PATH_ACTIVE_GET
80 * The URI Path for MGMT_ACTIVE_GET
83 #define OT_URI_PATH_ACTIVE_GET "c/ag"
86 * @def OT_URI_PATH_ACTIVE_SET
88 * The URI Path for MGMT_ACTIVE_SET
91 #define OT_URI_PATH_ACTIVE_SET "c/as"
94 * @def OT_URI_PATH_DATASET_CHANGED
96 * The URI Path for MGMT_DATASET_CHANGED
99 #define OT_URI_PATH_DATASET_CHANGED "c/dc"
102 * @def OT_URI_PATH_ENERGY_SCAN
104 * The URI Path for Energy Scan
107 #define OT_URI_PATH_ENERGY_SCAN "c/es"
110 * @def OT_URI_PATH_ENERGY_REPORT
112 * The URI Path for Energy Report
115 #define OT_URI_PATH_ENERGY_REPORT "c/er"
118 * @def OT_URI_PATH_PENDING_GET
120 * The URI Path for MGMT_PENDING_GET
123 #define OT_URI_PATH_PENDING_GET "c/pg"
126 * @def OT_URI_PATH_PENDING_SET
128 * The URI Path for MGMT_PENDING_SET
131 #define OT_URI_PATH_PENDING_SET "c/ps"
134 * @def OT_URI_PATH_SERVER_DATA
136 * The URI Path for Server Data Registration.
139 #define OT_URI_PATH_SERVER_DATA "a/sd"
142 * @def OT_URI_PATH_ANNOUNCE_BEGIN
144 * The URI Path for Announce Begin.
147 #define OT_URI_PATH_ANNOUNCE_BEGIN "c/ab"
150 * @def OT_URI_PATH_RELAY_RX
152 * The URI Path for Relay RX.
155 #define OT_URI_PATH_RELAY_RX "c/rx"
158 * @def OT_URI_PATH_RELAY_TX
160 * The URI Path for Relay TX.
163 #define OT_URI_PATH_RELAY_TX "c/tx"
166 * @def OT_URI_PATH_JOINER_FINALIZE
168 * The URI Path for Joiner Finalize
171 #define OT_URI_PATH_JOINER_FINALIZE "c/jf"
174 * @def OT_URI_PATH_JOINER_ENTRUST
176 * The URI Path for Joiner Entrust
179 #define OT_URI_PATH_JOINER_ENTRUST "c/je"
182 * @def OT_URI_PATH_LEADER_PETITION
184 * The URI Path for Leader Petition
187 #define OT_URI_PATH_LEADER_PETITION "c/lp"
190 * @def OT_URI_PATH_LEADER_KEEP_ALIVE
192 * The URI Path for Leader Keep Alive
195 #define OT_URI_PATH_LEADER_KEEP_ALIVE "c/la"
198 * @def OT_URI_PATH_PANID_CONFLICT
200 * The URI Path for PAN ID Conflict
203 #define OT_URI_PATH_PANID_CONFLICT "c/pc"
206 * @def OT_URI_PATH_PANID_QUERY
208 * The URI Path for PAN ID Query
211 #define OT_URI_PATH_PANID_QUERY "c/pq"
214 * @def OT_URI_PATH_COMMISSIONER_GET
216 * The URI Path for MGMT_COMMISSIONER_GET
219 #define OT_URI_PATH_COMMISSIONER_GET "c/cg"
222 * @def OT_URI_PATH_COMMISSIONER_SET
224 * The URI Path for MGMT_COMMISSIONER_SET
227 #define OT_URI_PATH_COMMISSIONER_SET "c/cs"
230 * @def OT_URI_PATH_COMMISSIONER_PETITION
232 * The URI Path for Commissioner Petition.
235 #define OT_URI_PATH_COMMISSIONER_PETITION "c/cp"
238 * @def OT_URI_PATH_COMMISSIONER_KEEP_ALIVE
240 * The URI Path for Commissioner Keep Alive.
243 #define OT_URI_PATH_COMMISSIONER_KEEP_ALIVE "c/ca"
246 * @def OT_URI_PATH_DIAGNOSTIC_GET_REQUEST
248 * The URI Path for Network Diagnostic Get Request.
251 #define OT_URI_PATH_DIAGNOSTIC_GET_REQUEST "d/dg"
254 * @def OT_URI_PATH_DIAGNOSTIC_GET_QUERY
256 * The URI Path for Network Diagnostic Get Query.
259 #define OT_URI_PATH_DIAGNOSTIC_GET_QUERY "d/dq"
262 * @def OT_URI_PATH_DIAGNOSTIC_GET_ANSWER
264 * The URI Path for Network Diagnostic Get Answer.
267 #define OT_URI_PATH_DIAGNOSTIC_GET_ANSWER "d/da"
270 * @def OT_URI_PATH_DIAG_RST
272 * The URI Path for Network Diagnostic Reset.
275 #define OT_URI_PATH_DIAGNOSTIC_RESET "d/dr"
279 #endif // OTBR_AGENT_THREAD_URIS_HPP_