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