T1

Software Development Description

Enable wireless debugging

Start to debug

As for T1, the insertion of MicroUSB debugging line will cause the other external USB devices fail to work, thus it is required to enable wireless debugging on T1 devices (you need to log in debugging personnel first for authorization if the channel devices have already enabled debugging protection)

1.    
Enter after adb shell has
accessed T1 console: setprop service.adb.tcp.port 5555

2.    
ifconfig check ip address

3.    
Unplug USB

4.    
adb connect

5.    
For example: adb connect
192.168.0.219

6.    
Normal debugging can be carried
out after displaying: connected to : 5555

7.    
If the connection is rejected:
insert the usb debugging line : adb tcpip 5555

8.    
Connect the second screen after
the first screen, and the second screen has a port number of 5554

If connection fails at this time, you can turn on USB debugging switch once again, or check whether they are under the same network

T2 second screen docking guidance

T2 second screen is a standard android
supporting device, and the developers can develop documentation referring to
android second screen.Sunmi has provided a simple & easy demo in (General
Function Modules ) to show how to use Print , Scan QR code , Use the functions
of secondary screen, Face Pay , etc

T1 second screen docking guidance

T1 can be equipped with optional 7 inch or
14 inch second screen, which is mainly consumer-oriented and focused on display
& simple interaction. Among them, 7 inch screen doesn’t support touch
control operation and the installation of custom customer display program while
14 inch screen supports them.Main screen and second screen are two sets of
independent systems, which communicate with each other through USB virtual
serial port.As for how to customize the display content of second screen, we
have provided two solutions:

1. Customer Screen Built-in Display Application Development Documentation

We have set a built-in program in the second screen, and designed several sets of display solutions. Thus we can quickly & easily display the information onto the second screen by directly invoking the encapsulated method with main screen App. Currently, it supports multiple display solutions such as figures, text, lists, videos, etc. And it can display the contents such as order information, marketing advertisement, payment QR code, etc.

2. Customer Screen 3rd Display Application Development Documentation 

As for T1 device, only 14 inch second screen supports custom second screen display.

When Sunmi built-in second screen program cannot satisfy your customized demands, you may also directly produce APP applied for second screen display & interaction.