EPD-023 User Manual
76
4.4
Integrate EPD APIs into Your System
We provide easy-to-use APIs to help you integrate into your own system below is the
sample for you to understand it's very easy to integration into your system with our
restful API.
Vertical application need to send Api to ePaper manager the sample code as below.
1.
Our API in Javascript below: setItemData to update data into ePaper manager
and ePaper manager will help forward the data to EPD.
// update Item Data
function setItemData(){
var url = HOST + '/esl/v1/items';
var type = 'PUT';
var data = {
"items": [ JSON.parse($('#log').val()) ]
};
console.log(data);
api(url, type, data, function(res){
if(res && res.result)
alert("Item Successfully Updated!");
else
alert("Ajax request error!");
});
}
2.
User also can use our api: setSensorData to control EPD LED
Summary of Contents for EPD Series
Page 1: ...User Manual EPD Device EPD 023 System Solution Wireless ePaper Display Solution ...
Page 11: ...Chapter 1 1 Product Overview ...
Page 14: ...EPD 023 User Manual 4 ...
Page 15: ...Chapter 2 2 EPD 023 Network Specification ...
Page 21: ...Chapter 3 3 Hardware Specification ...
Page 25: ...Chapter 4 4 EPD 023 in ePaper Manager ...
Page 28: ...EPD 023 User Manual 18 ...
Page 35: ...25 EPD 023 User Manual Chapter 4 EPD 023 in ePaper Manager ...
Page 37: ...27 EPD 023 User Manual Chapter 4 EPD 023 in ePaper Manager ...
Page 48: ...EPD 023 User Manual 38 3 Add Gateway Router to Group ...
Page 60: ...EPD 023 User Manual 50 ...
Page 74: ...EPD 023 User Manual 64 4 Binding template ...
Page 85: ...75 EPD 023 User Manual Chapter 4 EPD 023 in ePaper Manager ...
Page 94: ...EPD 023 User Manual 84 Action Bind Template User can manual binding TEMPLATE to EPD device ...
Page 106: ...EPD 023 User Manual 96 Document User manual Restful API Release Notes ...
Page 107: ...Chapter 5 5 WISE EC EPD Design in Service ...
Page 115: ...105 EPD 023 User Manual Chapter 5 WISE EC EPD Design in Service ...