anti-theft ? - General Discussion and Assistance - CHDK Forum

anti-theft ?

  • 1 Replies
  • 1062 Views
anti-theft ?
« on: 04 / December / 2011, 07:37:07 »
Advertisements
Is it possible to add an anti-theft screen to a camera with chdk, maybe the 4 positions of the menu key could be used as an unlock sequence, or at least a asplash screen with onlys name and contact details instead the plain splash.

just a though for any bored would be hackers.

Re: anti-theft ?
« Reply #1 on: 04 / December / 2011, 07:48:03 »
Yes, and it's partially implemented as a grid. Read this:

http://chdk.wikia.com/wiki/Grids#--_Authorized-Use_Only

It doesn't give you the possibility to lock the camera and unlock it by a specified buttons, but you might use this thing with a kind of script. Scripting in uBasic or LUA is very simple and if you like to enhance your camera it's good to learn one of them;)

I guess the other way to "lock" camera is to use script which would do things like this:

- set the screen console to full-screen [set_console_layout(0,0,40,13) --I'm not sure about numbers]
- write some message like: print("Camera is locked!!!")
- wait for specified clicks to unlock
- in a case of good sequence - end the script to give you usual control
- in a case of few bad clicks start blinking all leds and play random sounds:D

Remember, that all these things will only appear if CHDK is loaded. So one can only remove SD card or format it and the whole anti-thetf system is useless.
if (2*b || !2*b) {
    cout<<question
}

Compile error: poor Yorick

 

Related Topics