기본적으로 Temp: 23C는 ACK를 받는데 Temp: 23°C는 NAK를 받고, 보드에는 아무것도 안 떠요. 로그 줄은 rx: "\25"예요. baud를 4800으로 낮추고, :flowcontrol hw로 바꾸고, 다시 꽂아 봐도 아무것도 달라지지 않았어요. tx: 줄은 제 눈엔 정상으로 보여요. 이거 serial 계층 문제일까요?
프레이밍 코드예요:
(defun fw-console--frame (payload)
(concat (string fw-console-stx)
(string (length payload))
payload
(string (fw-console--checksum payload))))
포트는 :coding 'utf-8로 열어요.
영어에서 번역·원문 보기Basically, Temp: 23C gets an ACK but Temp: 23°C gets a NAK, and the board shows nothing. The log line is rx: "\25". Lowering the baud to 4800, :flowcontrol hw, and re-plugging all changed nothing. The tx: line looks normal to me. Is this a serial-layer problem?
The framing code:
(defun fw-console--frame (payload)
(concat (string fw-console-stx)
(string (length payload))
payload
(string (fw-console--checksum payload))))
The port is opened with :coding 'utf-8.