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

Questions related to UUID

Dear nordic,

I am developing a robot controller(Central, nRF51822).

However, I am having a problem with UUID.

And I am using the ble_central (s130 ble_app_uart) example.

The screenshot below(nRF Connect App) and UUID is the information of the robot I want to control.

-Unknown Servie UUID :             8903136C-5F13-4548-A885-C58779136701

-Unknown Characteristic UUID : 8903136C-5F13-4548-A885-C58779136702

-Unknown Characteristic UUID : 8903136C-5F13-4548-A885-C58779136703

(As you can see, only the first BYTE value is different.)

-----------------------------------------------------------------------------------------------------------

And when analyzed with wireshark, the following results were obtained.

1) The screenshot above is when controlling the LED of the robot. 

And the following UUID is used.

-service UUID : 8903136C-5F13-4548-A885-C58779136701

-UUID :              8903136C-5F13-4548-A885-C58779136703

 

2) The screenshot above is when controlling the Motor of the robot. 

And the following UUID is used.

-service UUID : 8903136C-5F13-4548-A885-C58779136701

-UUID :              8903136C-5F13-4548-A885-C58779136702

(If I try to control the motor and use the UUID required for LED control, I cannot control the motor.)

----------------------------------------------------------------------------------------------------------------------------------

I want to control this robot using a controller (Central).

However, in the ble_central (s130, ble_app_uart) example, I can't figure out what to fix.

Please tell me this part.

Thank you very much.

Parents
  • There will be a significant amount of changes:

    The idea is to add each of the UUIDs as a new vendor specific UUID using sd_ble_uuid_vs_add ()  function.

    This needs a change in SD BLE configuration to allow enough vendor specific UUIDs. In turn, the softdevice needs more RAM, so you need to change the linker configuration/script in order to reflect this.

Reply
  • There will be a significant amount of changes:

    The idea is to add each of the UUIDs as a new vendor specific UUID using sd_ble_uuid_vs_add ()  function.

    This needs a change in SD BLE configuration to allow enough vendor specific UUIDs. In turn, the softdevice needs more RAM, so you need to change the linker configuration/script in order to reflect this.

Children
No Data
Related