结帐协议06 [英] Checkout protocol 06

查看:70
本文介绍了结帐协议06的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我是串行编程的新手,我试图创建一个与秤通讯的组件.电子秤通过RS232端口插入电脑,我必须使用检出协议Dialog 06与电子秤进行通讯.
该协议在启动时使用校验和进行验证,这就是我遇到的问题.我尝试使用CRC16和位旋转来创建这些校验和,如电子秤的手册中所述.但是当我将这些校验和发送到销售时,秤总是告诉我这些校验和是不正确的.

有人知道一些使用该协议的好书或代码示例吗?尤其是开始时的身份验证过程.

Hello all,

I am new to serial programing and I am trying to create a component that communicates with a scale. The scale is plugged to the pc using RS232 port and I have to use the checkout protocol Dialog 06 to communicate with the scale.
The protocol uses checksums for verification at start up and that is where i have problems. I tried to create these checksums using CRC16 and bit rotation like mentioned in the manual of the scale. But when I send these checksums to the sale, the scale always tell me that these checksums are incorrect.

Does anyone know some good books or code samples for usage of this protocol? Especially the authentication process at beginning.

推荐答案

请联系秤的硬件制造商获取其SDK.
Contact the scale''s hardware manufacturer for their SDK.


这篇关于结帐协议06的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆