UNPKG
axpert-monitor
Version:
beta (0.0.5-beta.1)
latest (1.0.1)
1.0.1
1.0.0
0.0.5
0.0.5-beta.1
0.0.4
0.0.3
0.0.2-test
0.0.1
Monitor Voltronic/Axpert inverter via USB
github.com/b48736/axpert-monitor
b48736/axpert-monitor
axpert-monitor
/
lib
/
queries
/
QPI.js
8 lines
(6 loc)
•
153 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
//PI<NN>
function
format
(
rawResponse
) {
const
protocolID =
parseInt
(rawResponse[
2
] + rawResponse[
3
]);
return
protocolID; }
module
.
exports
= format;