GATT client sample
Posted: Wed Jan 25, 2017 10:28 am
Hi All,
I need to detect a ble device and connect to it as a Central, client then I used the gatt client sample.
I read the code, there is indeed a gap scanning then gatt procedures to get the services and characteristics and notification etc... but during scanning nothing occurs with a ble device like a bluetooth lifetrons audio or a beewi small car.
I waited to see a ESP_GAP_BLE_SCAN_RESULT_EVT event triggered but I always see a ESP_GAP_SEARCH_INQ_CMPL_EVT event without a detection if the advertising of the BLE device.
I modified the code to put in advance the string name of the device I want to detect since the code make a gatt process and an open call to connect after checking the name of the device hard implemented in the program.
Can anyone manage to detect a commercial BLE device with the gatt client sample.
Thanks,
Iro
I need to detect a ble device and connect to it as a Central, client then I used the gatt client sample.
I read the code, there is indeed a gap scanning then gatt procedures to get the services and characteristics and notification etc... but during scanning nothing occurs with a ble device like a bluetooth lifetrons audio or a beewi small car.
I waited to see a ESP_GAP_BLE_SCAN_RESULT_EVT event triggered but I always see a ESP_GAP_SEARCH_INQ_CMPL_EVT event without a detection if the advertising of the BLE device.
I modified the code to put in advance the string name of the device I want to detect since the code make a gatt process and an open call to connect after checking the name of the device hard implemented in the program.
Can anyone manage to detect a commercial BLE device with the gatt client sample.
Thanks,
Iro