Skip to main content
LCata.1
Associate
Mar 10, 2022 8:15 AM UTC
Question

I am using BlueNRG1. My setup consists of a peripheral and controller. I am having issues using the aci_gatt_disc_all_primary_services() function. I input the connection handle received from hci_le_connection_complete_event. Yet, I get an error of 0x

..

    This topic has been closed for replies.

    14 replies

    LCata.1
    LCata.1Author
    Associate
    Mar 10, 2022 2:32 PM UTC

    Hmmmm i dont have a STEVAL-IDB07V1 at hand.

    But I am able to connect to the server/peripheral using an app such as the BLE Scanner app

    LCata.1
    LCata.1Author
    Associate
    Mar 10, 2022 3:10 PM UTC

    Would there be any known patches for the discovery and read functions by any chance? Because I am using the BlueNRG-1 2 DK 3.2.1... I tried using the latest version but since I'm using old code. I ran into some conflicts.

    If not, hci_le_connection_complete_event() should provide the connection handle and it should work with aci_gatt_disc_all_primary_services() without giving an error through aci_gatt_proc_complete_event () right?

    If its a yes to the above, would there be a way to test aci_gatt_read_char_value() on the server locally? Just to test that I am using the function correctly. Or not?