金融设备

预留预留

非金融设备

预留预留。。

金融设备

金融设备即P系列设备。P系列设备由于安全认证需求,目前终端使用者无法自行进行模式切换,需商米下发授权码后才可进行切换,操作步骤如下:
(1) 联系商米,提供需切换调试模式的设备SN
(2) 商米提供授权码后,在设置—关于设备中连续点击TUSN大约8次
(3) 在跳转界面输入商米提供的四位数字的授权码,进行切换
注意:P系列设备切换调试模式后,无法切换回正常交易模式。切换后屏幕上会永久存在风险水印,仅能用作开发用途。

Debugging Devices

Debugging the Devices

About Sunmi device debugging

(This tutorial is only applicable to
non-financial devices. If you need to enable the debugging permission of Sunmi
series devices, please contact the sales
personnel
)

You can debug after plugging in USB line to
default Sunmi device. Sunmi has also provided the control function for device
debugging permission. After the partner has enabled debugging permission
control in the background (as shown in the following figure), it is necessary
to obtain debugging permission via E-mail or mobile phone number to debug this
device. If you cannot directly debug, please check whether the partner
backstage has enabled this permission.

e1

Note: the control of debugging permission
takes effect only to the devices that have bound partners (channels).

How to debug device while the permission is on

If the partner has enabled “debugging
permission control”, the developer need to obtain the debugging permission via
E-mail and mobile phone number on his/her own device to debug the device. The
partner can add the mobile phone number or E-mail of the debugging
personnel
(developer) on the Sunmi partner platform. Steps to obtain
the device debugging permission as follows:

1.Add debugging
personnel

Before debugging the device, the developer
is required to know the channel that the device belongs to. He/she can look for
the management personnel relevant to his/her own company for inquiry. The management
personnel needs to add the debugging
personnel
’s mobile phone number or E-mail in Sunmi partner platform
background.

e2

2. Plug in USB.(Please switch off the ‘debugging permission control’ temporarily on V1sV2M2L2)

Connect the device to the computer after
confirming that you have your own mobile phone number or E-mail for debugging
permission. It is suggested that the developer debug under windows. If the mobile
phone can be correctly recognized by the computer, the popup prompt as follows
will normally appear:

Screenshot_2017-02-16-11-00-42

    If the device has not been recognized by
    the computer, please confirm whether it is caused by the following causes.

  •  Poor contact. Please confirm by
    plugging & twisting USB port several times.
  •  Data line fault. Try to change
    one data line to see whether it can be recognized.
  •  If the computer has not
    installed mobile device driver, you may use third party tool software to install.

3.Get the veification code

Click the above “I want to debug” item, you
will enter the step of permission verification via mobile phone number or
E-mail. Meanwhile, the USB debugging mode of the device will be enabled by
customization (here it refers to the basic debugging mode, but not permission);
click “Got it” and it will quit the popup and USB debugging mode will not be
enabled.

e4

4. Verify the permission

Click “Obtain the verification code” after
entering the previously added mobile phone number or E-mail. Sunmi will send
the verification code to the mobile phone number or E-mail. Fill in the
verification code and click “Authorize and enable debugging”

e5

5.Open the permission.

After opening the permission, you can check whether there is output
in logcat to judge if it’s OK to debug the device.

e6