J2Mod - I/O exception - failed to read

后端 未结 1 1362
萌比男神i
萌比男神i 2020-12-21 16:25

I am using for J2Mod java jar for my project. I am connected with the device through comport but, neither able to read nor write data into the device. Both time when I am tr

1条回答
  •  抹茶落季
    2020-12-21 16:41

    Thanks! all those who participated in this question.

    Now, Let me explain, why I was getting this error.

    Everything is fine with code except the unitid. unitid is nothing but slave address only. In my case slave address was 5.

    0 讨论(0)
提交回复
热议问题