Inicio Foros Anuncios BLE connect to non-advertising peripheral

Este debate contiene 0 respuestas, tiene 1 mensaje y lo actualizó  kankhajura hace 1 mes, 1 semana.

Viendo 1 publicación (de un total de 1)
  • Autor
  • #2148



    I have some BLE peripherals that intentionally do not advertise themselves. Using an Android app I wrote, I am able to connect to these devices – no problem at all. But I am unable to get this to work on the ESP32. Here I wait for ESP_GATTC_REG_EVT and then, instead of calling esp_ble_gap_set_scan_params(), I directly call esp_ble_gattc_open(gattc_if, [hardcoded target address], true). But this does not establish a connection. Is there maybe a hard requirement for BLE scanning to always go first, before a connection can be established? This should not be the case.

    Any help will be apprecited.

    I didn’t find the right solution from the Internet.

    Business video studio

    Thank you.

Viendo 1 publicación (de un total de 1)

Debes estar registrado para responder a este debate.