RedBear Duo / Particle & Adafruit Bluefruit App

ble
Tags: #<Tag:0x00007fe21f5fcbf8>

#1

Hi,

I sadly ordered a bunch of Redbear Duo’s for teaching a undergraduate class without realising they were getting being phased out. I’m trying to demonstrate some basic BLE examples, but I’m wondering how easy it would be to add some simple features to a basic BLE example for the Redbear Duo? My goal would be to be able to interact over the Adafruit Bluefruit app: https://learn.adafruit.com/bluefruit-le-connect/features

I can connect to the RedBear running an example, but there’s no characteristics I can see. Any pointers?

Cheers


#2

Maybe @eugene0501 can chime in on this - IIRC he was part of the RedBear Duo project and should know best.


#3

Resolved thanks to this: https://webcache.googleusercontent.com/search?q=cache:ttFzMQPnzqUJ:https://discuss.redbear.cc/t/use-adafruit-bluefruit-app-to-substitute-redbear-ble-controller-app/4535+&cd=2&hl=en&ct=clnk&gl=uk

I needed to change the UUID on the SimpleChat RedBearDuo BLE example from:


static uint8_t service1_uuid[16]    = { 0x71,0x3d,0x00,0x00,0x50,0x3e,0x4c,0x75,0xba,0x94,0x31,0x48,0xf1,0x8d,0x94,0x1e };
static uint8_t service1_tx_uuid[16] = { 0x71,0x3d,0x00,0x03,0x50,0x3e,0x4c,0x75,0xba,0x94,0x31,0x48,0xf1,0x8d,0x94,0x1e };
static uint8_t service1_rx_uuid[16] = { 0x71,0x3d,0x00,0x02,0x50,0x3e,0x4c,0x75,0xba,0x94,0x31,0x48,0xf1,0x8d,0x94,0x1e };

to the following:

static uint8_t service1_uuid[16]    = { 0x6E, 0x40, 0x00, 0x01, 0xB5, 0xA3, 0xF3, 0x93, 0xE0, 0xA9, 0xE5, 0x0E, 0x24, 0xDC, 0xCA, 0x9E};
static uint8_t service1_tx_uuid[16] = { 0x6E, 0x40, 0x00, 0x02, 0xB5, 0xA3, 0xF3, 0x93, 0xE0, 0xA9, 0xE5, 0x0E, 0x24, 0xDC, 0xCA, 0x9E};
static uint8_t service1_rx_uuid[16] = { 0x6E, 0x40, 0x00, 0x03, 0xB5, 0xA3, 0xF3, 0x93, 0xE0, 0xA9, 0xE5, 0x0E, 0x24, 0xDC, 0xCA, 0x9E};