This project builds upon your work with the ebike remote control. The following features have been added:
Dual CONTROLS and LEV ANT slave support
"Long Press" support (depressing a button for 1 sec or more is used to define a long press) this gives us 8 programmable buttons for the ebike.
LEV slave- allows for assist level (and other page 16 info) to be sent to the LEV master (the ebike motor).
ie: Long press of ENTER key could be used to turn motor on/off and long press of STANDBY key could be used for lights on/off
current LEV slave implementation:
wild card pairing to any LEV master device number
7 assist levels supported: short press of PLUS increases assist, short press of MINUS decreases assist.
short press of ENTER key will decrease wheel circumference by 10, long press will increase it by 10 (added for page 16 command testing purposes only)
short press of STANDBY key increases the manufacturer ID by 1, long press decreases it by 1. (again, for page 16 testing purposes only)
CONTROL slave. Works as you designed to implement page control on garmin bike computers. Long press of PLUS for pageup, long press of minus for PAGEDOWN.
Notes:
I used SimulANT for troubleshooting. tried simulating simultaneously both LEV master and Generic controllable device and the remote seems to work well.
I also found that the button timers m_antplus_controls_send and m_lev_send work best with no delay.
The LEV profile works with both the remote and multiple displays (watch, bike computer, etc) simultaneously.
This project builds upon your work with the ebike remote control. The following features have been added:
LEV slave- allows for assist level (and other page 16 info) to be sent to the LEV master (the ebike motor). ie: Long press of ENTER key could be used to turn motor on/off and long press of STANDBY key could be used for lights on/off current LEV slave implementation:
CONTROL slave. Works as you designed to implement page control on garmin bike computers. Long press of PLUS for pageup, long press of minus for PAGEDOWN. Notes:
I used SimulANT for troubleshooting. tried simulating simultaneously both LEV master and Generic controllable device and the remote seems to work well. I also found that the button timers m_antplus_controls_send and m_lev_send work best with no delay. The LEV profile works with both the remote and multiple displays (watch, bike computer, etc) simultaneously.