Search found 14 matches

by ESP_Prasad
Fri May 29, 2020 1:27 pm
Forum: ESP32 IDF
Topic: Crash when using Wifi and NIMBLE simultaneously
Replies: 2
Views: 476

Re: Crash when using Wifi and NIMBLE simultaneously

Hi @iosixllc , f I initialize wifi and then call esp_nimble_hci_and_controller_init() I get an abort. If I initialize NIMBLE and then call esp_wifi_start() I get an abort as well. I've pulled the trace but the stack is corrupted I could not reproduce the issue, I used `bleprph` example for NimBLE & ...
by ESP_Prasad
Mon May 11, 2020 11:33 am
Forum: Sample Code
Topic: Pairing or bonding from ESP32 Central using NimBLE stack
Replies: 14
Views: 4239

Re: Pairing or bonding from ESP32 Central using NimBLE stack

Hi @nirmal.lad, From logs, I do not see any obvious issue, except Disconnection Complete: status=0 handle=0 reason=8 disconnect; reason=520 The disconnection is happening because of supervision timeout or BLE_ERR_CONN_SPVN_TMO . Now in your application code, I do not see anything after service disco...
by ESP_Prasad
Mon May 04, 2020 5:51 pm
Forum: Sample Code
Topic: Pairing or bonding from ESP32 Central using NimBLE stack
Replies: 14
Views: 4239

Re: Pairing or bonding from ESP32 Central using NimBLE stack

Hi @nirmal.lad, I could see the encryption state changed to encrypted in your logs Encrypt change: status=0 handle=0 state=1 I don't see any issue with pairing/bonding from BLE central. From the logs, I could see disconnection reason = 546, which is BLE_ERR_LMP_LL_RSP_TMO(LMP Response Timeout / LL R...
by ESP_Prasad
Fri May 01, 2020 8:05 am
Forum: Sample Code
Topic: Pairing or bonding from ESP32 Central using NimBLE stack
Replies: 14
Views: 4239

Re: Pairing or bonding from ESP32 Central using NimBLE stack

Hi @nirmal.lad, It seems I referred to some other log and made that last comment. Sorry for that, please disregard my earlier comment. Can you please provide complete logs after `make erase_flash flash monitor` again ? I could only think of reason for this error might be because you are switching of...
by ESP_Prasad
Thu Apr 30, 2020 11:21 am
Forum: Sample Code
Topic: Pairing or bonding from ESP32 Central using NimBLE stack
Replies: 14
Views: 4239

Re: Pairing or bonding from ESP32 Central using NimBLE stack

Hi @nirmal.lad, Could you please confirm that you are not enabling `BLE_SM_PAIR_KEY_DIST_ID` for key distribution ? Though I can see from your code that ble_hs_cfg.sm_our_key_dist = 1; However from the logs I can see rxed sm command: id addr info; conn=0 addr_type=0 addr=40:9c:28:d2:67:93 which is k...
by ESP_Prasad
Tue Apr 28, 2020 2:38 pm
Forum: Sample Code
Topic: Pairing or bonding from ESP32 Central using NimBLE stack
Replies: 14
Views: 4239

Re: Pairing or bonding from ESP32 Central using NimBLE stack

Thank you for the logs @nirmal.lad From your logs error persisting our sec; too many entries (3) Although this should have been handled by `ble_hs_cfg.store_status_cb` callback by un-pairing oldest peer, somehow the space was not freed up, will update about this point. Can you please issue 'erase_fl...
by ESP_Prasad
Tue Apr 28, 2020 10:16 am
Forum: ESP32 IDF
Topic: bonding with devices which use random BLE addresses
Replies: 11
Views: 3017

Re: bonding with devices which use random BLE addresses

@anthony Please take a look at this issue: https://github.com/espressif/esp-nimble/issues/8 and see if it resolves your problem. If you are looking to use RPA feature, please refer to following points: own_addr_type needs to be set to BLE_ADDR_RANDOM. ble_hs_pvcy_rpa_config() should be called in aft...
by ESP_Prasad
Tue Apr 28, 2020 8:15 am
Forum: Sample Code
Topic: Pairing or bonding from ESP32 Central using NimBLE stack
Replies: 14
Views: 4239

Re: Pairing or bonding from ESP32 Central using NimBLE stack

Hi @nirmal.lad, It would be really helpful if you can provide console logs with DEBUG prints on as mentioned earlier :) I have left a few comment, please let me know if you find them helpful. On next connection, mobile phone doesn't generate pair request If the bond is established successfully then ...
by ESP_Prasad
Mon Apr 27, 2020 10:13 am
Forum: Sample Code
Topic: Pairing or bonding from ESP32 Central using NimBLE stack
Replies: 14
Views: 4239

Re: Pairing or bonding from ESP32 Central using NimBLE stack

@nirmal.lad I could not reproduce the issue, Can you provide Debug logs(`make menuconfig--> component config --> Log output--> Default log verbosity` to `Debug` ) for the issue ? Is it possible for you to provide demo application to reproduce the issue? I believe you are calling `ble_gap_security_in...
by ESP_Prasad
Tue Apr 14, 2020 2:08 pm
Forum: ESP32 IDF
Topic: ble uart
Replies: 2
Views: 858

Re: ble uart

Hi Dwayne, There is application present in mynewt-core for this, link: https://github.com/apache/mynewt-core/tree/master/apps/bleuart/src, it can be ported to ESP32 by referring to `bleprph` app in `$IDF/examples/bluetooth/nimble`. However, we can not use this off the shelf, as the service `bleuart`...

Go to advanced search