This command, can be used to setup steering whell controls phone hangup button behavior.

Synopsis

SWC CONFIG HANGUP <argument>

Arguments

NOTIFY Used to be notifyed when button is pressed.
Returns only OK.
SILENT Used to unregister notification feature on buttons status changes.
Returns only OK.
PASSTHRU Used to continue to send button changes to the oem radio, also during steering wheel control diversion.
Returns only OK.
BYPASS Used to config button beavior accordingly with diversion status.
Practically reset passthru options.
Returns only OK.

Availability

Not all kinds of events (for example HOLD and RELEASE) are always available.
This depends on car model/setup.

Events

If enabled, unsolicited events will be triggered on button status changes.

EVNT KEY HANGUP CLICK
EVNT KEY HANGUP HOLD
EVNT KEY HANGUP RELEASE

Examples

Enable button notification:

SWC CONFIG HANGUP NOTIFY
OK
...
EVNT KEY HANGUP CLICK

Passthru of the button to the radio:

SWC CONFIG HANGUP PASSTHRU
OK

Notes

  1. Notification settings, are not power loss safe. If you disconnect Carberry from power supply or a watchdog reset rises, all notifications will be disabled.