Skip to content

Commit

Permalink
Update device pub/sub topics
Browse files Browse the repository at this point in the history
  • Loading branch information
hi-liang committed Aug 8, 2024
1 parent b5c2b1e commit a77605f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions topics.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ exports.TOPICS = Object.freeze({
},
SUBSCRIBE: {
NETWORK: '$NETWORK',
DEVICE: `${REALM}/d/{userName}/#`, // All client placeholder
DEVICE: `${REALM}/d/{deviceName}/#`, // All client placeholder
PROC_REG: `${REALM}/proc/reg`,
PROC_CTL: `${REALM}/proc/control/{uuid}/#`,
PROC_DBG: `${REALM}/proc/debug/{uuid}`,
Expand All @@ -52,7 +52,7 @@ exports.TOPICS = Object.freeze({
},
PUBLISH: {
NETWORK_LATENCY: '$NETWORK/latency',
DEVICE: `${REALM}/d/{nameSpace}/{sceneName}/{idTag}`,
DEVICE: `${REALM}/d/{deviceName}/{idTag}`,
PROC_REG: `${REALM}/proc/reg`,
PROC_CTL: `${REALM}/proc/control`,
PROC_DBG: `${REALM}/proc/debug/{uuid}`,
Expand Down

0 comments on commit a77605f

Please sign in to comment.