1
안녕하세요 (rflink)CONCAT 버퍼하여 SerialPort
myport.on('data', (data) => {
console.log(data)})
내가
<Buffer 32 30>
<Buffer 3b 30 30 3b 4e 6f 64 6f 20 52 61 64 69 6f 46 72 65 71 75 65 6e 63 79 4c>
<Buffer 69 6e 6b 20 2d 20 52 46 4c 69 6e 6b 20 47 61 74 65 77 61 79 20 56 31 2e>
<Buffer 31 20 2d 20 52 34 38 3b 0d 0a>
받을 시리얼 포트의 버퍼를 연결하는 시도하거나 내가 1 개 라인이 아닌 N 라인을 얻고 자하는
내가 해왔다.
var receiveData = '';
myport. on (' data', (data) => {
receiveData += data
console.log(receiveData)}
myport = new serialport(com, {
baudRate: 57600,
databits: 8,
parity: 'none',
stopBits: 1,
buffersize : 4096,
flowControl: false,
parser: new serialport.parsers.Readline('\n\r')
을 다음과 같이난 그냥
20;00;Nodo RadioFrequencyLink - RFLink Gateway V1.1 - R48;
누군가가 나를 도울 수 받기 원하는
20;00;Nodo RadioFr
20;00;Nodo RadioFrequencyLink - RFLink Gat
20;00;Nodo RadioFrequencyLink - RFLink Gateway V1.1 - R48;
내 시리얼 포트가 구성되어 나타납니다?