Skip to content

Commit

Permalink
fix: ZBOSS: fix reverse extended panid (#1293)
Browse files Browse the repository at this point in the history
  • Loading branch information
kirovilya authored Jan 14, 2025
1 parent be62d30 commit 19849dc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/adapter/zboss/driver.ts
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,8 @@ export class ZBOSSDriver extends EventEmitter {
const ieeeAddr = result.payload.ieee;

result = await this.execCommand(CommandId.GET_EXTENDED_PAN_ID, {});
const extendedPanID = result.payload.extendedPanID;
// TODO: bug in extendedPanID - got reversed value
const extendedPanID = result.payload.extendedPanID.reverse();

result = await this.execCommand(CommandId.GET_PAN_ID, {});
const panID = result.payload.panID;
Expand Down

0 comments on commit 19849dc

Please sign in to comment.