BLE Device not detected

Hey, If any one used BLE using sample code

I found that the ble device (gr-lychee) not showing in mobile ble list using android app

my serial logs,

Bluetooth sample started
ESP32 ready
GATT initialized
srv_index is 1
Advertising started. Please connect to any client

  • In reply to RiteshGohil:

    I tried the code uploaded by Selva on web compiler. As a result, the LightBlue on my iPhone display as below.

    The above image show "GR-LYCHEE", but first it diplays "Unnamed". I'm not sure the cause, sorry for that.

    Then I click "Unnamed", the below image is displayed.

     

    Then the console displays as following image. I think the code itself is no problem, it depends on apps.

    I'm sorry, but I don't have android, so I've not tried that.

  • In reply to RiteshGohil:

    Did you getting "connected client 0, mac[ ] " print from 'ble_client_conn' function
  • In reply to Selva:

    Actually, I am getting this

    connected client conn_index is 0, mac[73:c0:5f:16:a3:6d]
  • In reply to RiteshGohil:

    Did you got prints "connected client , mac[]" from ble_client_conn() function
  • In reply to RiteshGohil:

    ok i'll try more and tell you the updates
  • In reply to RiteshGohil:

    i tried renesas gatt browser available on playstore it also detects the BLE but its not showing the name.Im only able to see the mac id of BLE.
  • In reply to RiteshGohil:

    Hi,
    I too tried for the above ble code, but my device is not getting recognised..
    but i get this on the serial monitor


    Bluetooth sample started
    ESP32 ready
    GATT initialized
    Advertising started, please connect to any client

    Is the issue solved ?