ANTplus light mode(s)

I’m looking at antplus data from rtl510 and I would like to basically get info on how the lightmode switching (which antplus is doing) is being sent and received and acknowledge By either the watch or the light.

Now, why am I going down this path? Basically because the ANT+ LGT profile is still not made available for members (adopters only and it’s USD1500 which I certainly can’t afford)

I have already gone down (partially) this rabbit hole and before I venture further I though I’ll ask here if what I’m doing would be futile.

I am hoping to be able to dissect / reverse engineer enough of what the watch / SDK is doing in terms of sendData(payload) to the rtl510 such that I can roll my own implementation. I am hoping that by looking at the traffic between the watch (simulator) thru my USB ANT+ stick to the RTL510, I’ll have enough to cobble up some ways to detect what light mode the RTL510 is in or even switch the light modes.

The RTL510 is like a 2-in-1 sensor with device type 35 and 40.

When in device type 40, the ANT+ profile pdf doesn’t state about a light network / mode and thus, I don’t believe it actually sends out any Payload decipting what light mode it is in. (All the println Of payload message doesn’t give me anything)

When I switch to type 35, I get data page 1 and 2 (and some common pages) and a whole bunch of payload numbers.

I cycle thru the lights on the RTL510 and I found bits 6 and 7 changing. (Below are examples as I can’t remember exact numbers from top of my head)

0,0 - off

16,26 - solid

28,45 - flash

I tried sending 0,0 using GenericChannel.SendPayload(data) and sendBurst(data) and seems like nothing happening. (duh...)

Is this even doable? Sniffing the traffic and hoping I can get something? (I actually tried wireshark and sniff the USB port housing the ANT+ stick. But.... I either don’t know what I’m seeing (likely) or I’m not getting anything which resembles useful)

Still looking for a clue Sweat

  • Former Member
    0 Former Member over 5 years ago

    I've been trying to do similar, for my own amusement. Haven't got very far so far.

    I'm using ANTware and the USB, in combination with a See.Sense ACE rear.

    00-50-FF-FF-01-7C-00-01-00-80-DB-19-23-05

    00-51-FF-1D-00-2C-01-00-01-80-DB-19-23-05

    Off:

    00-01-00-28-00-FF-FF-00-00-80-DB-19-23-05

    00-02-00-1E-03-04-FE-00-04-80-DB-19-23-05

    Off (Bluetooth connected to app):

    00-01-00-28-00-FF-FF-00-00-80-DB-19-23-05

    00-02-00-1E-03-04-FE-00-04-80-DB-19-23-05

    So no change yet

    Off, no brake mode:

    00-01-00-28-00-FF-FF-00-00-80-DB-19-23-05

    00-02-00-1E-03-04-FE-00-04-80-DB-19-23-05

    Again, no change

    On (flash):

    00-01-00-28-00-FF-FF-1C-00-80-DB-19-23-05

    00-02-00-1E-03-04-FE-00-04-80-DB-19-23-05

    On (constant):

    00-01-00-28-00-FF-FF-04-00-80-DB-19-23-05

    00-02-00-1E-03-04-FE-00-04-80-DB-19-23-05

    So no change in the Device Command (0x2) page, but device status (0x1) is fruitful

    On (twin):

    00-01-00-28-00-FF-FF-1C-00-80-DB-19-23-05

    Interestingly seems to be folded as "flash"

    On (burst):

     00-01-00-28-00-FF-FF-1C-00-80-DB-19-23-05

    On (pulse):

    00-01-00-28-00-FF-FF-1C-00-80-DB-19-23-05

    On (eco):

    00-01-00-28-00-FF-FF-18-00-80-DB-19-23-05

    So eco is a different mode

    Further digging shows the following pages:

    0x10/0x50 - Manufacturer Information

    0x11/0x51 - Product Information

    0x12 - Main light channel ID

    0x13 - Principal Supplementary Information

    0x30/0x31 - Something about radar, I think the presence of these pages is used to pair a varia.

    0xFA - Impact Information Page

    Page 6 - Sublight mode support, used to enumerate support for custom modes too

    Page 5 - Light mode description - describes one light mode. Clearly, a mode number is involved.

    Page 4 - Sublight Capabilities - Beam, modes, battery,...

    Page 3 - Sublight States - Probably the current mode [1 or 2?] sublights are in

    Page 2 - Bike light capabilities

    Page 1 - Bike Light States