1

我正在尝试为特定模块打开会话,但我收到一条消息,提示“此服务版本太低。”。

我该如何解决这个问题?这个模块是唯一一个服务版本高于所有其他模块的模块,我不想太高以至于其他模块无法工作,因为服务版本太高了。

我使用的 SPI 和 API 版本是 0x0B020003,它适用于所有其他模块,除了这个是 3.10。

任何帮助将不胜感激,谢谢。

4

1 回答 1

1

You don't need to use the highest version available. Use the version you need. If your app doesn`t need any 3.10 specification new features, for example, and 3.00 is all that you need, you are free to open this SPI as 3.00.

To open a SPI as 3.10, use 0x0A03 value meaning 0A = 10, 03 = 3. This version specification is standard, not vendor dependent.

Set dwSrvcVersionsRequired as 0x0A030A03 to open this SPI always as 3.10.

Any SPI can support a versions range. For example, form 3.00 to 3.20. The first thing to do from app is to negociate the version you are going to use (because your app has been compiled using xfsapi.h, xfspin.h from a specific version). WFSStartUp negociates version with XFS manager. WFSOpen negociates version with SPI.

The vendor install the SPI in the ATM, supporting the complete version range. So you can open each SPI using the version you need from the supported version range.

于 2021-07-16T06:59:32.483 回答