This is an old revision of the document!
RESISTIVE LEARN
This command, can be used to learn each buttons of a resistive steering wheel control.
There two possible mode to acquire resistive buttons:
- Automatic Mode
- Manual Mode
Synopsis
RESISTIVE LEARN <argument>
Arguments
Management arguments
AUTO | Used to start auto learning procedure. |
ABORT | Used to abort auto learning procedure. |
Single button learning arguments
VOLUM | Used to learn volume minus button. |
VOLUP | Used to learn volume plus button. |
SEEKM | Used to learn seek minus button. |
SEEKP | Used to learn seek plus button. |
SOURCE | Used to learn source button. |
MUTE | Used to learn mute button. |
FACE | Used to learn face (or voice) button. |
ANSWER | Used to learn phone answer button. |
HANGUP | Used to learn phone hangup button. |
Automatic Mode
In Automatic Mode Carberry will recognizes all buttons pressed, if correctly connected, according a standard sequence that is:
- Volume -
- Volume +
- Seek -
- Seek +
- Source
- Mute
- Voice
- Phone Answer
- Phone Hangup
Synopsis
RESISTIVE LEARN AUTO
Example
RESISTIVE CLEAR OK RESISTIVE LEARN AUTO OK EVNT LEARNING NEWKEY NONE //This event means that Carberry has acquires value of none button pressed //From this point is necessary to press button that you want to store according sequence previous indicated EVNT LEARNING NEWKEY VOLUM //Button Volume - acquired EVNT LEARNING NEWKEY VOLUP EVNT LEARNING NEWKEY SEEKM EVNT LEARNING NEWKEY SEEKP EVNT LEARNING NEWKEY SOURCE EVNT LEARNING NEWKEY MUTE EVNT LEARNING NEWKEY FACE EVNT LEARNING RELEASE // This message and next one indicates procedure ending EVNT LEARNING READY //
Manual Mode
Manual mode allows to memorize each single button.
Synopsis
RESISTIVE LEARN <button to memorize>
Example
RESISTIVE LEARN SEEKM OK EVNT LEARNING NEWKEY SEEKM //button pressed
Notification
In order to get a notication each time button is pressed or hold, is necessary to activate notification for each button.
Synopsis
SWC CONFIG <button to notify> NOTIFY
Example
SWC CONFIG SEEKP NOTIFY OK EVNT KEY CLICK SEEKP //event notified in case of single pressure EVNT KEY HOLD SEEKP //event notified in case of long pressure