Function:
bEncrypt = DEV_isEncrypted(devUrl)
Description:
Get local storage encrypted flag
Arguments:
devUrl – string must be mmc:// or usb://
Return:
bEncrypt – boolean, true, if local storage is encrypted
Function:
bEncrypt = DEV_isEncrypted(devUrl)
Description:
Get local storage encrypted flag
Arguments:
devUrl – string must be mmc:// or usb://
Return:
bEncrypt – boolean, true, if local storage is encrypted
Function:
bEncrypt = DEV_mac()
Description:
Get device MAC address
Return:
jsonMAC – json string representing MAC address value
require
"PLAYER"
device=PLAYER.ne
w()
print(device.DEV_mac())
{"mac":"A8 40 41 16 47 D6"}
Function:
bEncrypt = DEV_regkey()
Description:
Get device Registration Key code
Return:
jsonMAC – json string representing Registration Key code
require "PLAYER" device=PLAYER.new()
print(device.DEV_regkey())
{"regkey":"A269FCEAB4F1C20B"}
SW
115