This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

BLE Central tutorial not connecting to my peripheral

The BLE Central tutorial (S130 based) does not connect to my peripheral. My peripheral connects fine to the Android MCP and the 128-bit service UUID is what I expect.

I'm debugging the Central code and looking at the BLE_GAP_EVT_ADV_REPORT case in the on_ble_evt function. It calls adv_report_parse to find advertising data of type BLE_GAP_AD_TYPE_128BIT_SERVICE_UUID_MORE_AVAILABLE and then BLE_GAP_AD_TYPE_128BIT_SERVICE_UUID_COMPLETE. But it never finds advertising data of either type. Shouldn't the 128-bit service UUID be coming in as one of these types?

What might I be doing wrong?

Here's a screenshot of the MCP data received: image description

Here's the UUID as defined in the code of the central:

#define THROUGHPUT_BASE_UUID   {0x9E, 0xCA, 0xDC, 0x24, 0x0E, 0xE5, 0xA9, 0xE0, 0x93, 0xF3, 0xA3, 0xB5, 0x00, 0x00, 0x40, 0x6E} /**< Used vendor specific UUID. */
Related