Closed neone35 closed 3 years ago
I also see that data is being sent to terminal:
D/MPOS REQUEST: **PROTOCOL=IPP**VERSION=202**LANG=LT**METHOD=PRINT*EXT**SID=d08afb45*bf28*4bab*844d*5749693ef28a**PRINT*DATA=**022*013*014PINIG* PRI*MIMO***022*013*014KVITA...
I've created new app to test out, here's source code: https://github.com/neone35/SlaveTest
Same output in logcat. Connecting but not printing, Android 10, slavesdk 2.0.7 beta (latest) as I can see here https://mvnrepository.com/artifact/com.mypos/slavesdk-beta?repo=jcenter
Tried on Android 7.1.2 Nougat. Doesn't print anyway on SlaveTest app
Contacted support on Feb 8. They asked me about serial and to send logs from terminal to them. Done that. After this they asked me about some "slave mode" which I don't have option to enable on device. On amazon D210 device page I found this answer that only myPOS can enable this function of connecting through multiple interfaces (Bluetooth and SIM), but they're very slow on doing this. Still waiting.
The process after receiving the device is as follows: After placing order for slave version for your terminal. Now you have to update it and then switch it to slave mode. To do so you can follow these steps:
- From the home screen press the FUNC button
- Press 5. Check for update and update the device
- After the update is done it will restart
- When it restarts and goes to the home screen press the FUNC button again and go to Settings menu 3
- Choose 6. Change profile and choose 2.Cash Register
- The devices will restart and will ask you what connection type you want to use – USB/Bluetooth to the master
- After you pick the connection type, you choose how to connect the device to the Internet – receive internet from the master (USB/Bluetooth), Wi-fi, SIM.
- When you connect the device in slave mode, try to initiate the printing command again from our demo app and from your own app.
If you have more questions we will answer them
Best regards, myPOS Team link
Problem has been resolved after support has updated Combo terminal software to version 3.44. Then option to change profile appeared on Settings page 3.
This is my app logcat output:
Pressing retry:
Pressing retry: -> repeats last block
Tried both stable 2.0.2 and now beta 2.0.7. Tried demo app also, which doesn't even connect to the terminal after being updated with latest dependencies and beta sdk. Device used is Combo.