Skip to content

Custom BLE service freezes bangle while peripheral to iPad #7782

Answered by gfwilliams
AndySmee asked this question in Bangle.js
Discussion options

You must be logged in to vote

Is that code enough to reproduce the problem completely? And your Bangle.js firmware is up to date?

One thing I guess might be an issue is if you're writing a lot of log information to the console? Maybe the fact that the iPad connects via Bluetooth but then doesn't request information from the Bluetooth UART service means that Bangle.js stores everything you're outputting via console.log/print and then when the output buffer gets full it stalls?

I honestly thought I had added something to work around that (detecting when notifications are enabled and ignoring console.log calls if not) but maybe there's something about iOS that's confusing it.

So maybe try one of:

  • Commenting out all cons…

Replies: 3 comments 13 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
8 replies
@AndySmee
Comment options

@fanoush
Comment options

@AndySmee
Comment options

@fanoush
Comment options

@AndySmee
Comment options

Comment options

You must be logged in to vote
5 replies
@AndySmee
Comment options

@AndySmee
Comment options

@gfwilliams
Comment options

@AndySmee
Comment options

@AndySmee
Comment options

Answer selected by AndySmee
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants