Skip to content

Conversation

@rafeh1
Copy link

@rafeh1 rafeh1 commented Oct 31, 2024

I created bldc with autolock. After 3 minutes of nonuse bldc locks and needs user cell phone to unlock
the original worked but i cant test since I am unable to build vesc_tool

Added auto lock function to vesc.
This function is run from command line of terminal
This allows user to lock and unlock bike using cell phone.
It also has autolock function which if enabled The vesc will autolock after 5 minutes of no use.
The default password is Calibike
The terminal commands are

  1. ul [<enable/disable>]

example: "ul Calibike enable" enables the auto lock function
"ul Calibike" unlocks bike

  1. sp

example:

"sp Cali1234"

this will switch password to Cali1234

  1. lk

this locks the system
example
"lk"

The code is in password.c and password.h

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants