diff --git a/lib/stringMsg.js b/lib/stringMsg.js index 9435fb5..1081aac 100644 --- a/lib/stringMsg.js +++ b/lib/stringMsg.js @@ -53,7 +53,8 @@ exports.encodeActisense = ({ prio, pgn, src, dst, data.length, byteString(data) ].join(',')) -exports.toActisenseSerialFormat = (pgn, data, dst=255, src=0) => encodeActisense({ + +exports.toActisenseSerialFormat = (pgn, data, dst=255, src=0) => exports.encodeActisense({ pgn, data, dst, src, })