Skip to content

Commit

Permalink
Merge pull request #12 from girtgirt/master
Browse files Browse the repository at this point in the history
Make txPower from UInt8 to Int8
  • Loading branch information
futomi authored Nov 23, 2019
2 parents ff51fe7 + 7e84108 commit 0d3de3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/parser-ibeacon.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ BeaconParserIbeacon.prototype.parse = function(peripheral) {
uuid : uuid,
major: manu.slice(20, 22).readUInt16BE(0),
minor: manu.slice(22, 24).readUInt16BE(0),
txPower: manu.slice(24, 25).readUInt8(0)
txPower: manu.slice(24, 25).readInt8(0)
};
};

Expand Down

0 comments on commit 0d3de3f

Please sign in to comment.