FAQ杂记: Difference between revisions

From wizarPOS
No edit summary
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 4: Line 4:
</div>
</div>
|
|
* PSAM卡,slot1(索引index 1)是高通模块支持的,超时时间是1.6s, 所以如果卡response time比较长,大于1.6s, 那么就会disconnect, 所以对有些老卡,速度比较慢的,需要使用slot2(索引index 2)及以上, 超时时间最长是5s。Q3BU比较特殊,有6个SAM卡槽,索引index从0开始。超时时间都是5s。其他机器索引index0都是IC卡。
* 非接支持A(14443),B(14443),C(Felica),D(15693)卡
* 非接支持A(14443),B(14443),C(Felica),D(15693)卡
* PSAM卡baudrate问题:在Q3上波特率是9600到9600*8, 波特率默认是9600,这个速度是卡和模块之间协商的,是一个自动的过程,(if the card can support higher baudrate, when get ATR of the card, the module will send an increase baudrate command to the card, if card support the increase, then the communication will use a high baudrate).Q2P上暂时支持不到38400,模块厂商在查。
* PSAM卡baudrate问题:在Q3上波特率是9600到9600*8, 波特率默认是9600,这个速度是卡和模块之间协商的,是一个自动的过程,(if the card can support higher baudrate, when get ATR of the card, the module will send an increase baudrate command to the card, if card support the increase, then the communication will use a high baudrate).Q2P上暂时支持不到38400,模块厂商在查。
Line 41: Line 42:
** POS机上侧边的otg USB, 连Android板,需要Android板上编译高通的usb驱动,高通usb驱动,我们这边最高Android12上的,客户需要,我们可以提供。拷贝驱动到这个目录, kernel/drivers/usb/serial, 然后编译。
** POS机上侧边的otg USB, 连Android板,需要Android板上编译高通的usb驱动,高通usb驱动,我们这边最高Android12上的,客户需要,我们可以提供。拷贝驱动到这个目录, kernel/drivers/usb/serial, 然后编译。
** UU线连接Android板,需要Android板上打开UU线驱动{CONFIG_USB_SERIAL_PL2303,CONFIG_USB_SERIAL_FTDI_SIO},要判断Andrioid板上是否打开UU线驱动,步骤{先插拔UU线,再运行这个命令adb shell dmesg},取dmesg日志。查看到日志里面有这一行:pl2303 converter now attached to...意味着打开了UU线,可以进行通讯。Android板上编译UU线驱动,是这两个:1.LA.UM.9.15.2/LINUX/android/kernel/msm-4.19/drivers/usb/serial/ftdi_sio.c 2.Linux drivers/usb/serial/pl2303.c
** UU线连接Android板,需要Android板上打开UU线驱动{CONFIG_USB_SERIAL_PL2303,CONFIG_USB_SERIAL_FTDI_SIO},要判断Andrioid板上是否打开UU线驱动,步骤{先插拔UU线,再运行这个命令adb shell dmesg},取dmesg日志。查看到日志里面有这一行:pl2303 converter now attached to...意味着打开了UU线,可以进行通讯。Android板上编译UU线驱动,是这两个:1.LA.UM.9.15.2/LINUX/android/kernel/msm-4.19/drivers/usb/serial/ftdi_sio.c 2.Linux drivers/usb/serial/pl2303.c
** Q3UPT背后的串口,1)typc-C(slave), 2)type-A(host), 3)MDB, 4)RJ45(vendor), 其中1)和2)不能同时打开,其他任意三个可以同时打开使用。
* 关于Dukpt实现一次一密的会话定义:DUKPT是指每一次Transaction使用一个唯一的密钥。每个Transaction的密钥都不相同。慧银PINPad对于一次会话的定义:
* 关于Dukpt实现一次一密的会话定义:DUKPT是指每一次Transaction使用一个唯一的密钥。每个Transaction的密钥都不相同。慧银PINPad对于一次会话的定义:
** 每个PINPad的open和close之间:只要使用过了任何一个密钥,下一次open后就认为开始一个新的会话,KSN就需要加1;如果没有使用过任何密钥,这次会话不算,即一下open不会开始一个新的会话。from redmine:26868  
** 每个PINPad的open和close之间:只要使用过了任何一个密钥,下一次open后就认为开始一个新的会话,KSN就需要加1;如果没有使用过任何密钥,这次会话不算,即一下open不会开始一个新的会话。from redmine:26868  

Latest revision as of 07:34, 29 September 2025

This content is restricted to authorized users only. Please log in to access additional information.