-
Notifications
You must be signed in to change notification settings - Fork 129
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
Unable to set WinSize and WinOffset on v1.10.0 #96
Comments
OK, I did a complete revert on the sniffle_hw.py and brought it back to baseline v1.10.0, but I actually still don't see it honoring WindowSize or WindowOffset from the initial values. Here are two values which shouldn't be possible with the initial |
FWIW I tested versions 1.9.0-1.9.3 as well, and never saw a WinSize of 3...so I'm not sure what's up... |
This is "working as designed" though perhaps I should change it. The Line 673 in 6cda3db
Thus, it sets
|
I see. I must have completely imagined it when I thought before that I had successfully set WinSize and WinOffset (probably it was just happening to set WinSize to 1 and then I didn't pay enough attention to other values.) Thanks for the explanation. |
I'm wondering if there's some sanity checking or alteration of CONNECT_IND LLData values somewhere in the firmware that I'm missing? (I did at least look, but it seemed to me that the firmware is just using the LLData as-is.)
I made the following change to
sniffle_hw.py
'sinitiate_conn()
However, it doesn't seem like it's honoring the new requested WinSize or WinOffset values, as this is what I see when I sniff the request:
The values other than WinSize and WinOffset are changing fine, so I'm pulling out my hair trying to figure out what's going on here. When I print out the values, they seem to be appropriate little-endian values across the board:
But what's so weird is that the WinSize isn't even the "3" value that it was in the original code, so I don't know where either WinSize or WinOffset are coming from unless there's some firmware-level fiddling with the data that I missed. I also reverted back to using tagged version 1.10.0 just in case I was getting any sort of weird desynchronization of python vs. fw behavior.
The text was updated successfully, but these errors were encountered: