问题描述
我有一个使用通用"奇偶校验替换"的设备。拨打9位数据的方案。 基本上它涉及切换表单空格和标记奇偶校验以表示9位字符。 这在处理RS422 / 485通信时非常常见。
I have a device that uses a common "parity replace" scheme for dialing with 9 bit data. Basically it involved switching form Space and Mark parity to signify a 9 bit character. This is pretty common when dealing with RS422/485 communications.
然而,通用应用程序的SerialDevice实现甚至比.NET Framework版本更不完整。 没有ParityReplace属性,也无法确定数据流中的哪个字符导致奇偶校验错误。
However, the SerialDevice implementation for universal apps is even less complete than the .NET Framework version. There is no ParityReplace property, and no way to determine which character in the data stream caused the parity error.
是否有人有使用SerialDevice类的经验并处理9可能有一些指针的位数据?
Does anyone have an experience with the SerialDevice class and dealing with 9 bit data that might have some pointers?
谢谢
Roy
推荐答案
I已检查过有关
SerialDevice class 我找到了"ParityReplace属性"不像你提到的那样存在。我想您可以将此请求提交给UseVoice网站:
I've checked the document about SerialDevice class and I found that "ParityReplace property" does not exist like you mentioned. I think you can submit this request to UseVoice site: https://wpdev.uservoice.com/forums/110705-universal-windows-platform
祝你好运,
Barry
这篇关于[UWP] SerialDevice和奇偶校验错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!