question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

"Computing hop increment" never ending

See original GitHub issue

I have a problem that the “Computing hop increment” is never ending.

So the -i works fine:

$ btlejack -i
BtleJack version 1.1

[i] Flashing /Volumes/MICROBIT ...
[i] Flashed 1 devices

The -s as well:

$ btlejack -s
BtleJack version 1.1

[i] Enumerating existing connections ...
[...]
[ - 87 dBm] 0xaf9a8da1 | pkts: 50
[...]

But then I do -f and even after 20 minutes the “Computing hop increment” is not finishing:

$ btlejack -f 0xaf9a8da1
BtleJack version 1.1

[i] Detected sniffers:
 > Sniffer #0: fw version 1.1

[i] Synchronizing with connection 0xaf9a8da1 ...
✓ CRCInit = 0xbbc761
✓ Channel Map = 0x1f80680043
✓ Hop interval = 2
\ Computing hop increment^C[i] Quitting

When I aborted and tried again I actually got different Channel Map values (it was still the same BLE connection). Is that a problem (I’m not very familiar with the bluetooth protocol) or expected? Here’s the output of the second run:

btlejack -f 0xaf9a8da1 -j
BtleJack version 1.1

[i] Using cached parameters (created on 2018-08-21 14:07:57)
[i] Detected sniffers:
 > Sniffer #0: fw version 1.1

[i] Synchronizing with connection 0xaf9a8da1 ...
✓ CRCInit: 0xbbc761
✓ Channel Map = 0x1fc3200000
✓ Hop interval = 2
/ Computing hop increment

It’s an iphone 6 talking to a Bluetooth headset (no PIN pairing, I guess it’s the “just works” protocol). I’m using btlejack on MacOS.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:8 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
FrancescoTaurinocommented, Nov 27, 2018

Thank you for your feedback!

0reactions
floyd-fuhcommented, Nov 27, 2018

My Coworker worked with 2 microbits, which was a little bit better but still not good. I personally have only worked with 1. So to answer your question: For certain bluetooth devices the “Computing hop increment” never terminated, for others it did with only 1 microbit.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Minimum number of jumps to reach end - GeeksforGeeks
The task is to find the minimum number of jumps to reach the end of the array starting from index 0. If the...
Read more >
How can a variable increment by 2 in a while loop in ... - Quora
No, but the while condition must be testing something that is changing or the loop will never end. For example a while loop...
Read more >
Why does traceroute increment the destination port by 1 for ...
CISCO IOS routers use UDP port 33434 by default and then increment the destination port number for every hop. Share.
Read more >
How Much of a Raise Should I Ask For? | Indeed.com
... we explain how to ask for a raise, how to calculate your ask, ... go into a raise negotiation asking for too...
Read more >
C++: Loop will run at most once (loop increment never executed)
end (); i++){ cout << i->getAnzahlPlaetze(); } };. So my specific Question: How can I return a value of a function, if it...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found