This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

How can i get the character's handle on the server side?

Just as the title,using UUID or others paramaters.

  • You have to do ATT_Read_By_Type_Req (GATT_discAllChars) on the Client(Host device) side, this will trigger the ATT_Find_Info_Rsp from Server(Peer device)

    This will list out all the attributes handles along with their UUIDs.

    You can do this in Btool and check.

    Regards,

    Arun

  • Hi,

    You can find  the characteristic's handle using UUID using the following HCI command 

    GATT_DiscAllChars(start handle = 1, end handle = 65535) 

    This will list down all the characteristics in the profile and their respective handles and UUIDs.

    If you want to get the handle of a specific Characteristic whose UUID is known , the following HCI command can be used.

    GATT_DiscCharsbyUUID(start handle = 1, end handle = 65535 , UUID of the Characteristic) 

    Regards,

    Kavitha