Descargar Imprimir esta página

Ecler PLAYER ONE Manual De Usuario página 104

Ocultar thumbs Ver también para PLAYER ONE:

Publicidad

9.1
PLAYER LUA SDK V1.02
9.1.1
CHANGELIST
• v1.02 – xxxx/xx/xx
✔ Added DEV_reboot function
✔ Added CFG_backup2 function with type parameter: user, admin and gallery
✔ Bug fix CFG_backup was calling to Device.Backup instead Settings.Backup
✔ Typo, Calendar general_enabled changed to bEnabled
✔ Typo, Scripts enabled change to bEnabled
• v1.01 – 2018/03/14
✔ Added DEV_mac function
✔ Added DEV_regkey function
• v1.00 – 2018/02/08
✔ First version of the document also named "Preliminary version"
9.2
HOW TO USE PLAYER MODULE
In order to use PLAYER module you must include it in your source code using require
statement. PLAYER automates this function for you, but you can also include PLAYER module
manually and create your PLAYER object as you need using the next two lines of code:
require "PLAYER"
mydev = PLAYER.new()
In this case you can program actions directly to your PLAYER device, but also it is possible to
access PLAYER directly from your PC (in this case it is recommended to use some LUA
development tool like Eclipe/LUA)
If you want to use PLAYER directly from your PC you can call "new" function with IP and
PORT parameters as shown next:
require "PLAYER"
mydev = PLAYER.new("10.120.120.4", 2003)
Where 10.120.120.4 is the PLAYER IP address, that you can check by pressing ENTER button
for 10 seconds and going to WIFI or ETHERNET menu. 2003 is the JSON port.
One time PLAYER object is created is possble to access all functions in it.
Let see what you can do.
SW
104

Publicidad

loading

Este manual también es adecuado para:

Player zero