** init() start ...
>> version << ptpcam: 1.0
camera: 1.0 (Length: 24)
>> script-support << script-support:0x1 lua=yes (Length: 26)
>> luar not(os.stat("A/CHDK/LUALIB/lptpgui.lua")==nil) << script:1
1:ret:true (Length: 20)
>> luar require("lptpgui").version << script:2
2:ret:89 (59) (Length: 23)
>> luar get_buildinfo() << script:3
3:ret:'platform a495
build_date Mar 31 2011
build_number 1.1.0
build_time 21:28:45
version CHDK-DE
platsub 100f
build_revision 608
platformid 12783
os dryos
' (Length: 177)
CHDK-DE=True
>> luar get_config_value(67) << script:4
4:ret:1 (1) (Length: 21)
current powersave mode: 1
>> help << q quit quit program
h help list commands
r reset reconnect to camera
version get CHDK PTP version (ptpcam and camera)
shutdown shutdown camera (soft)
reboot reboot camera
reboot <filename> reboot camera using specified firmware update
reboot-fi2 reboot camera using default firmware update
m memory <address> get byte at address
m memory <address>-<address> get bytes at given range
m memory <address> <num> get num bytes at given address
set <address> <long> set long value at address
c call <address> <arg1> ... call function at address with given arguments
upload <local> <remote> upload local file to camera
download <remote> <local> download file from camera
mode <val> set mode (0=playback,1=record)
lua <code> execute lua code
luar <code> execute "return <code>" and retreive result
script-support show supported script interfaces
script-status show script execution and message status
getm get messages / return values from script
putm <message> send <message> to running script (Length: 1359)
** init() successful
>> luar get_mode() << script:5
5:ret:false (Length: 21)
>> mode 1 << script:6 (Length:
>> script-status << script-status:0x0 run=no msg=no (Length: 31)
>> luar get_mode() << script:7
7:ret:false (Length: 21)
>> luar get_mode() << script:8
8:ret:false (Length: 21)
>> luar get_mode() << script:9
9:ret:false (Length: 21)