Does the bluefruit.h library sit over RUI3?

Context: RAK4631 RUI3 Custom BLE

Standard apologies: I’m sorry if this is a dumb question … I’m confused.

I’m trying to get a customised data link going over BLE. ie I’m trying to define my own Service and Characteristics rather than just sending bytes over the Nordic UART service like I have previously. I tried to follow through the code fragments in the RUI3 doco for BLE Custom and managed to make the 4631 lock up so hard that it needs to be rescued by reloading the f/w over my JLink. It would be super if the double reset trick was enabled for RUI3. (I also seem to have bricked the JLink with SDO stuck high but that’s another topic).

So I’m back to trying again with another 4631/RUI3 I have lying around. I looked at the BLE_Health.ino which is from 2020 and it leans on the <bluetooth.h> library. So here’s my question: Is the <bluetooth.h> library still a required part of the custom BLE solution and it sits on top of the RUI3 API, or is that example code left over from the standard Arduino runtime environment before RUI3?

thanks

“BLE_Health.ino” is for the Arduino BSP.
You can’t use it with RUI3.
bluetooth.h is for Arduino BSP only.

Try to start from BLE_Custom_Service from the examples in the RUI3 BSP.

Thanks @beegee,

That’s what I thought, and that’s exactly the code example I couldn’t find.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.