As I intend to use it by "typing" commands , what should I type to display the viewfinder ?
you can use
!update_connection_status()
after connecting
not sure where is the problem as I was testing a new version of chdk
> connect
connected: Canon PowerShot A2200, max packet size 512> !update_connection_status()
ERROR: call failed:[string "update_connection_status()"]:1: attempt to call global 'update_connection_status' (a nil value)
stack traceback:
[string "update_connection_status()"]:1: in main chunk
[C]: in function 'xpcall'
...uments\doc tech\CANON\chdkptp-r438-win32\lua\cli.lua:456: in function <...uments\doc tech\CANON\chdkptp-r438-win32\lua\cli.lua:453>
(tail call): ?
(tail call): ?
[C]: in function 'xpcall'
...uments\doc tech\CANON\chdkptp-r438-win32\lua\cli.lua:239: in function 'execute'
...uments\doc tech\CANON\chdkptp-r438-win32\lua\gui.lua:608: in function <...uments\doc tech\CANON\chdkptp-r438-win32\lua\gui.lua:605>
(tail call): ?
[C]: in function 'MainLoop'
...uments\doc tech\CANON\chdkptp-r438-win32\lua\gui.lua:630: in function <...uments\doc tech\CANON\chdkptp-r438-win32\lua\gui.lua:616>
(tail call): ?
...ments\doc tech\CANON\chdkptp-r438-win32\lua\main.lua:231: in main chunk
[C]: in function 'require'
[string "require('main')"]:1: in main chunk