Advantech EPD-132 User Manual page 104

Epd control board, wireless epaper display solution
Hide thumbs Also See for EPD-132:
Table of Contents

Advertisement

code: string
name (group name): string
content: JSON string
body(example)
{ "items": [ { "code": "X001", "name": "John", "content: "{"name": "John","age":
"18"}" } ] }
response(example)
{ "result": true }
3. Update EPD Data
path: /esl/v1/items
method: PUT
header: Basic Authorization
body parameters:
code: string
name (group name): string
content: JSON string
body(example) (Notes: you have to give all content in body even if you only
need to edit partial content)
{ "items": [ { "code": "X001", "name": "John", "content": "{"name": "John","age":
"20"}" } ] }
response(example)
{ "result": true }
4. Delete EPD Data
path: /esl/v1/items
method: DELETE
header: Basic Authorization
body parameters:
code: string
body(example)
{ "items": [ { "code": "X001" } ] }
response(example)
{ "result": true }
5. Get EPD Tag AgentID
path: /esl/v1/tags/agentid
method: GET
header: Basic Authorization
url parameter: ?itemcode=[ITEM CODE]
response(example)
{ "agentid": "00000001-0000-0000-0012-4b001557aa72" }
6. Get EPD Tag Status
path: /esl/v1/tags/status
method: GET
header: Basic Authorization
url parameter: ?agentid=[DEVICE AGENT ID]
response(example) (Notes: all possible status are "sending command", "com-
mand timeout", "setting image", "set image okay", "set image error", "refreshing
image", "refresh image okay", "refresh image error")
{ "status": "set image okey" }
7. Set EPD Tag Binding
path: /esl/v1/tags/setBinding
EPD-132 Board User Manual
94

Advertisement

Table of Contents
loading

Table of Contents