Before You Start
XXTouch OpenAPI is the HTTP interface exposed by the XXTouch daemon running on the device. It listens for incoming requests and executes commands, enabling developers to remotely control XXTouch — ideal for centralized management, remote debugging, and file transfer.
Prerequisites
- Enable Remote Service
If you are developing from a desktop, enable the remote service on the device first.
Steps:
Open App → More → Remote Service → EnableSee the illustrated guide: User Manual
Protocol Conventions
| Item | Value |
|---|---|
| Protocol | HTTP/1.1 |
| Default port | 46952 |
| Text encoding | UTF-8 (both request and response) |
| Success status code | 200 |
| Remote service disabled | All endpoints return 400 |