Hello,
I am trying to adjust a peripheral device to connect a central device based on ble_app_uart_c example. Although this example has been discussed numerous times I was not able to find what's wrong by browsing previous discussions.
In short, about a year ago I have adjusted ble_app_uart_c to work with a previously developed peripheral device (using a TI CC2650), that's why service UUID and characteristic UUID were modified. The previously developed device connects to the central just fine. However, I am working on a new device, which is based on nRF52832, and trying to adjust it to connect the same central device. I adjusted the service and characteristic IDs as shown below, but still can't get them connected, and I am a bit out of ideas what I am missing, any help would be appreciated.
The configuration of the central device is:
// service ID #define NUS_BASE_UUID {{0xFB, 0x34, 0x9B, 0x5F, 0x80, 0x00, 0x00, 0x80, 0x00, 0x10, 0x00, 0x00, 0xF0, 0xFF, 0x00, 0x00}} #define BLE_UUID_NUS_SERVICE 0xFFF0 #define BLE_UUID_NUS_RX_CHARACTERISTIC 0x0002 #define BLE_UUID_NUS_TX_CHARACTERISTIC 0xFFF4
On the other side, the configuration of the peripheral device is:
#define BLE_UUID_DEV_CHARACTERISTC_UUID 0xFFF4 #define BLE_UUID_DEV_BASE_UUID {0xFB, 0x34, 0x9B, 0x5F, 0x80, 0x00, 0x00, 0x80, 0x00, 0x10, 0x00, 0x00, 0xF0, 0xFF, 0x00, 0x00} #define BLE_UUID_DEV_SERVICE 0xFFF0