Skip to content

Commit

Permalink
Merge pull request #7054 from TheThingsNetwork/fix/device-session-info
Browse files Browse the repository at this point in the history
Add back devAddr in device session information
  • Loading branch information
ryaplots committed Apr 29, 2024
2 parents 0975a05 + 7e19348 commit 459a40c
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions pkg/webui/console/views/device-overview/index.js
Expand Up @@ -216,6 +216,14 @@ const DeviceInfo = ({ frequencyPlans, device, onExport }) => {
})
}

sessionInfoData.items.push({
key: sharedMessages.devAddr,
value: dev_addr,
type: 'byte',
sensitive: false,
enableUint32: true,
})

if (lorawanVersion >= 100 && lorawanVersion < 110) {
sessionInfoData.items.push(
{
Expand All @@ -228,13 +236,6 @@ const DeviceInfo = ({ frequencyPlans, device, onExport }) => {
)
} else {
sessionInfoData.items.push(
{
key: sharedMessages.devAddr,
value: dev_addr,
type: 'byte',
sensitive: false,
enableUint32: true,
},
{
key: lorawanVersion >= 110 ? sharedMessages.fNwkSIntKey : sharedMessages.nwkSKey,
value: f_nwk_s_int_key.key,
Expand Down

0 comments on commit 459a40c

Please sign in to comment.