-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[DATA] Martijn 2 #4
Comments
i decided to put some more in a xlsx |
By the way, are you sure that the first line of the output you've put in this issue is correct? |
i think that this bit of data is a bit broken since the "id" is different |
Yeah, that is what I thought. It could be a coincidence, but the ID of your Fit Meter is the same as mine. It could be that they all use the same ID. I believe your 6th byte is also a bit off, because it's always the same in your spreadsheet, but it doesn't match up with the one in your issue. That basically leaves the 5th and the 6th byte left to guess. My initial guess for the 5th byte right now is that it is an indication of what kind of action the meter is looking doing. 0x3 could be announcing its presence, 0x4 could be that it is polling for other fit meters. |
but now i wonder how a "conversation" between fitmeters would go or the connection between the gamepad and a meter? and what if we could replay data to the fitmeter? i think if we could send data to the fitmeter and see how it responds to certain data we can figure out how the protocols work! |
That's what I'm currently trying. Sending |
i just relayed your "id" and i got a ton of data back! i think i've managed to get it to think my 3ds is a fit meter! |
Can you post the data here, if you still have it? I apparently forgot to include the 8th byte in that message I posted before, which is the checksum. Maybe the fit meter ignores it? |
If that happens, it probably means I requested way too much |
i think also the reason the connection failed because you're sending data before giving your id making the meter think it has missed some data and cancelling because when sending the id you get a timed out |
i'll launch a fork and try a few things |
as i expected the same thing happens |
any idea on how to fix this compile error: error: invalid conversion from 'u8*' {aka 'unsigned char*'} to 'u8' {aka 'unsigned char'} [-fpermissive] |
Use: instead. You might have to |
holy snap thank you so much, i gave up and one second later you reply! also it works, i'm now testing the changes i've made |
as soon as the fitmeter recieves a 04 04 it gives an error:( also could you give me your response to a5 00 84 01 03 04 5f fc? |
i think this is how the conversation between meters goes: |
i got a step further by starting the conversation as the 3ds: here with actual data: |
ok so now it did this: so 03 04 means that a meter starts a conversation since it should only happen once nvm this, its just an error in the program |
also the wii u gamepad message is: |
Thanks a lot! So this means the Wii U gamepad uses messages of 5 bytes long. Interesting. This probably means the documentation should be changed partly. |
If you don't mind, I'll take the discussion of the protocol to issue #13, so it's more visible to other people. |
Program output
Please keep this indented with 4 spaces
This is example data, which isn't real
Fit Meter Data
This data probably isn't used in the handshake
kCal: 480
Steps taken: 1791
Altitude: 24m
Time: 20:48
Date: 26-02-2019
Temperature: 21.3 °C
Mii name: Martijn
The text was updated successfully, but these errors were encountered: