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

Can't find 128-bit UUID and service name

Hi , I use the pc-ble-driver to developer desktop tools, like nRF Connect. Unfortunately,  I don't know Java. I‘ve tried to used examples that work(heart_rate_collector and heart_rate_monitor). So, I use the example heart_rate_collector as template. I can found all services, but can't find the 128bit UUID and services name. How can I found the 128-bit UUID and each services name?

 

    As shown in the figure above, I can reach the services, but I can't find the 128-bit UUID. And also I don't know how to find this services name?

    If I want to use C++ develop a progarm like nRF connect. Can you give me some examples with more functions or some docs?

Parents
  • Hi,

    Are you more familiar with Python, or do you prefer working with C++? I made a GATT client with the pc-ble-driver-py (python wrapper) a while ago which is able to discover the 128-bit Nordic UART service (6E400001-B5A3-F393-E0A9-E50E24DCCA9E). The key difference compared to the regular heart rate collector example is that I added the 128-bit base UUID through ble_vs_uuid_add before initiating service discovery. 

    pc-ble-driver-py NUS client example:

    nus_central.zip

  • HI ,

         Thanks. 

         I found only use handle also can establish a connection. But I still want to search all UUIDs.. How can I do that if I don't want add the specified base ID in advance ?  BYT, How Can I search out all service , characteristic and characteristic description?  Should I search all services first, then all characteristics, and finally all characteristic description? Or Should search services -> characteristics -> characteristic description then loop searches? Which search method is better?

Reply
  • HI ,

         Thanks. 

         I found only use handle also can establish a connection. But I still want to search all UUIDs.. How can I do that if I don't want add the specified base ID in advance ?  BYT, How Can I search out all service , characteristic and characteristic description?  Should I search all services first, then all characteristics, and finally all characteristic description? Or Should search services -> characteristics -> characteristic description then loop searches? Which search method is better?

Children
Related