fixed s123 protocol parse value limit error.
authorTrillGates <williamtrillgates@gmail.com>
Sat, 17 Jul 2021 06:46:10 +0000 (14:46 +0800)
committerTrillGates <williamtrillgates@gmail.com>
Sat, 17 Jul 2021 06:46:10 +0000 (14:46 +0800)
app/src/main/java/com/ic/protocols/protocol_s123.java

index 313b06d..9aa5817 100644 (file)
@@ -1869,7 +1869,7 @@ public class protocol_s123 {
         //140: 血压高压阀值,高压高于该阀值上传血压,如果未设置,则留空
         //95 血氧阈值,低于该阈值终端立即显示报警,并上传血氧消息,如果未设置,则留空(新增)
         String[] list = cmd.split(CMDSPLIT);
-        if (list.length == 9) {
+        if (list.length == 10) {
             String index = list[2];
             String PPGH = list[3];
             String PPGL = list[4];