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

Custom UUID service on nRF51

Hello, 

Currently I am connecting between nrf51822 and Rn4871 BLE of Microchip

The issue is that Rn4871 is advertising a service called transparent UART UUID : 49535343-FE7D-4AE5-8FA9-9FAFD205E455 with the characters below:

TX : 49535343-1E4D-4BD9-BA61-23C647249616

RX : 49535343-8841-43F4-A8D4-ECBE34729BB3

i worked on modifying the NUS example

#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 BLE_UUID_NUS_SERVICE 0x0001                                  //< The UUID of the Nordic UART Service.
#define BLE_UUID_NUS_TX_CHARACTERISTIC 0x0002            //< The UUID of the TX Characteristic.
#define BLE_UUID_NUS_RX_CHARACTERISTIC 0x0003            //< The UUID of the RX Characteristic.

which basically build :

service : 6E400001- B5A3-F393-E0A9-E50E24DCCA9E

TX char : 6E400002- B5A3-F393-E0A9-E50E24DCCA9E

TX char : 6E400003- B5A3-F393-E0A9-E50E24DCCA9E

The NUS allowed me to only modify "BLE_UUID_NUS_TX_CHARACTERISTIC " and "BLE_UUID_NUS_TX_CHARACTERISTIC " but the characteristics of the Transparent uart service of RN4871 have some differences even in other bytes of the service.

How would i modify my service and characteristics of the Nrf51822 to be identical to the Rn4871 characteristics so i could send/receive data between these modules?

Could someone help please? 

Parents
  • What SDK version are you using for development, and what changes exactly have you made to teh ble_app_uart example? I understand what you'd like to do, but I'm struggling to see what exactly you're struggling with. In the example project Bjørn uploaded in the case I linked to he configures a service with different UUID bases, which seems like what you'd like to do as well.

    From your initial post it doesn't seem like you have modified the NUS base UUID at all. You will need to edit it to match the Rn4871 service and characteristics.

    Best regards,

    Simon

Reply
  • What SDK version are you using for development, and what changes exactly have you made to teh ble_app_uart example? I understand what you'd like to do, but I'm struggling to see what exactly you're struggling with. In the example project Bjørn uploaded in the case I linked to he configures a service with different UUID bases, which seems like what you'd like to do as well.

    From your initial post it doesn't seem like you have modified the NUS base UUID at all. You will need to edit it to match the Rn4871 service and characteristics.

    Best regards,

    Simon

Children
No Data
Related