BLE connection issues
Posted: Thu Mar 04, 2021 11:25 am
Hi there,
Thanks for the help on another thread. I am testing with 'switch' rainmaker example
I now have code built and running on the ESP32. It boots up and rests at:
The rainmaker app (IoS) cannot see the BLE device (Prov_ ) and a independent BLE scanner app only sees it infrequently.
When I move the phone close enough to almost touch (5cm) I get:
If I turn the phone bluetooth off then on, I can connect as long as the phone is within 5cm. In the debug console I get:
Which I'm sure is because it's the scanner accessing it and not the app.
These were messages when I was scanning with a "BLE Scanner" IOS app.
Any thoughts what may be causing this?
Thank you
Thanks for the help on another thread. I am testing with 'switch' rainmaker example
I now have code built and running on the ESP32. It boots up and rests at:
Code: Select all
I (1641) app_wifi: Provisioning Started. Name : PROV_e885a5, POP : a1eb2b5a
I (2221) protocomm_nimble: mtu update event; conn_handle=0 cid=4 mtu=185
When I move the phone close enough to almost touch (5cm) I get:
Code: Select all
I (51661) protocomm_nimble: mtu update event; conn_handle=0 cid=4 mtu=185
{/code]
And as I pull it away I get:
[code]
GAP procedure initiated: advertise; disc_mode=2 adv_channel_map=0 own_addr_type=0 adv_filter_policy=0 adv_itvl_min=256 adv_itvl_max=256
Code: Select all
E (94021) protocomm_nimble: Outbuf with handle 3 not found
E (94021) protocomm_nimble: Failed to read characteristic with attr_handle = 3
These were messages when I was scanning with a "BLE Scanner" IOS app.
Any thoughts what may be causing this?
Thank you