Get BLE UUID for iOS pairing

SombraRPK
Posts: 15
Joined: Wed Jul 04, 2018 2:37 am

Get BLE UUID for iOS pairing

Postby SombraRPK » Thu Feb 28, 2019 3:04 am

Hi! I'm developing an iOS app and i'm trying to establish BLE connection with the esp32 board but i need a UUID. My main idea is create a random UUID, display it on a QR code, read with the app and go directly to pair with my board. Any idea is really welcomed.

Thanks in advance!

Franco
Posts: 52
Joined: Thu Dec 10, 2015 1:11 pm

Re: Get BLE UUID for iOS pairing

Postby Franco » Fri Mar 01, 2019 1:39 pm


SombraRPK
Posts: 15
Joined: Wed Jul 04, 2018 2:37 am

Re: Get BLE UUID for iOS pairing

Postby SombraRPK » Fri Mar 01, 2019 5:56 pm

Thank you Franco. My issue is more about how can i set ESP32's UUID and and use that UUID to connect my iOS app directly.

SombraRPK
Posts: 15
Joined: Wed Jul 04, 2018 2:37 am

Re: Get BLE UUID for iOS pairing

Postby SombraRPK » Fri Mar 01, 2019 11:48 pm

This is the UUID i'm talking about, I attach this image. Any idea?

Thanks in advance!!
Attachments
IMG_1013.jpg
IMG_1013.jpg (221.12 KiB) Viewed 1170 times

Wangcheng
Posts: 50
Joined: Wed Mar 06, 2019 3:26 am

Re: Get BLE UUID for iOS pairing

Postby Wangcheng » Mon Apr 08, 2019 2:11 am

SombraRPK wrote:
Fri Mar 01, 2019 11:48 pm
This is the UUID i'm talking about, I attach this image. Any idea?

Thanks in advance!!
If you want to set the UUID of the ESP32,You only need to modify the value of uuid.The specific operation depends on the DEMO we provide.

Code: Select all

/* Disable OOB security for SILabs Android app */
static esp_ble_mesh_prov_t provision = {
    .uuid = dev_uuid,
#if 0
    .output_size = 4,
    .output_actions = ESP_BLE_MESH_DISPLAY_NUMBER,
    .input_actions = ESP_BLE_MESH_PUSH,
    .input_size = 4,
#else
    .output_size = 0,
    .output_actions = 0,
#endif
};

Who is online

Users browsing this forum: Adham Aboud, Google [Bot], MSN [Bot] and 30 guests