Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Calibike autolock #776

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open

Calibike autolock #776

wants to merge 7 commits into from

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