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

Cannot Pair with Vendor UUID using Central device

Hello, 

 I am using SDK 15.2 with softdevice 140 on nrf52840 board. I have been trying to get the development board to pair with a peripheral sensor with UUID "E7D4AA0F-5ACB-55C0-B177-A07D4525E1FA". I've been looking at the ble_app_uart_c example to see how to best do this. I have tried replacing the line with the original nus_base_uuid with this: 

 

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

#define NUS_BASE_UUID                   {{0xFA, 0xE1, 0x25, 0x45, 0x7D, 0xA0, 0x77, 0xB1, 0xC0, 0x55, 0xCB, 0x5A, 0x0F, 0xAA, 0xD4, 0xE7}} /**< Used vendor specific UUID. */

 From what I've read about the pairing process, this should pair with my peripheral using this example, is that not correct? I can successfully pair with my peripheral using a phone that has the nrf_connect app or the lightblue app and see all the characteristics as well as being able to write/read from/to them.   

I have paired with other devices in the past through the multilink example using their names however that has not worked with this one. I have also used some of the search functions such as ble_advdata_name_find(p_gap_evt->params.adv_report.data.p_data, p_gap_evt->params.adv_report.data.len , "VitalgramBLE #35015"  ) however i cannot find the name or the uuid in the advertisement packets. 

The device is clearly advertising however I cannot seem to find it. 

Any ideas? 

Regards, 

Gian

Related