<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">That sort of sucks. :(<div class=""><br class=""></div><div class="">I’m happy with the fact I can download the dives using USB on my Mac now, so that is a win… ;) Thanks for the help so far! I have been looking into finding the BLE packet, but am not able to find a way to do so.<br class=""><div class="">
<div style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none;"><br class="Apple-interchange-newline"><br class=""></div><div style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none;"><br class=""></div><div style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none;">Kind regards,</div><div style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none;"><br class=""></div><div style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none;">Martin De Weger</div>
</div>

<div><br class=""><blockquote type="cite" class=""><div class="">Op 18 feb. 2020, om 22:57 heeft Linus Torvalds <<a href="mailto:torvalds@linux-foundation.org" class="">torvalds@linux-foundation.org</a>> het volgende geschreven:</div><br class="Apple-interchange-newline"><div class=""><div class="">On Tue, Feb 18, 2020 at 1:43 PM Linus Torvalds<br class=""><<a href="mailto:torvalds@linux-foundation.org" class="">torvalds@linux-foundation.org</a>> wrote:<br class=""><blockquote type="cite" class=""><br class="">There's two possibilities:<br class=""><br class=""> (a) the Cressi protocol isn't the same on BLE as it is on a regular serial line<br class=""><br class=""> (b) the Nordic UART service needs more setup for the other end (tell<br class="">it baud-rate etc)<br class=""></blockquote><br class="">Ugh. A quick look at some Nordic docs seems to imply that _both_ of<br class="">these will be true.<br class=""><br class="">Not only does Nordic have a APP_UART_FIFO_INIT() thing in their UART<br class="">SDK, there's also magic for reading buttons and setting LED lights<br class="">etc. So it looks like there is a lot more than just "transfer data".<br class=""><br class="">It also looks like the buffering done by the UART->BLE end is line-based:<br class=""><br class="">  "Received characters are buffered into a string until a new line<br class="">character is received or the size of the string exceeds the limit<br class="">defined by NUS_MAX_DATA_LENGTH"<br class=""><br class="">which means that I wouldn't be surprised if Cressi might have added<br class="">newlines to the protocol just to get that UART->BLE side to flush in a<br class="">timely manner.<br class=""><br class="">So ouch. This looks more complex than most BLE things have been.<br class=""><br class="">                Linus<br class=""></div></div></blockquote></div><br class=""></div></body></html>