Search found 3 matches

by manfre90
Wed Dec 28, 2022 5:06 pm
Forum: ESP32 Arduino
Topic: Using arduino libraries for ESP32 in visual studio code.
Replies: 3
Views: 3971

Using arduino libraries for ESP32 in visual studio code.

Hi, sorry for the newbie question... Just asking if it's possibile to mix arduino libraries (written in cpp ?) with standard c; like in project started in vs code with the esp-idf estension. I tryied a project using arduino as component with the extern 'C' in the main.cpp but I can't compile, the co...
by manfre90
Wed Dec 21, 2022 11:19 am
Forum: ESP-IDF
Topic: Best config. BLE Nimble Host for pairing and bonding smartphones.
Replies: 0
Views: 1405

Best config. BLE Nimble Host for pairing and bonding smartphones.

Hi everyone, I'm just trying to figuring out which is the best conf and sync_cb if in my application I want to pair with Android/iOs smartphones. This is my configuration for the secure manager. ble_hs_cfg.sm_io_cap = 0; ble_hs_cfg.sm_bonding = 1; ble_hs_cfg.sm_our_key_dist = BLE_SM_PAIR_KEY_DIST_EN...
by manfre90
Sun Dec 04, 2022 3:46 pm
Forum: ESP-IDF
Topic: esp32 nimble server, if I unpair Android client side I'm never be able to r/w ENC GATTs
Replies: 0
Views: 935

esp32 nimble server, if I unpair Android client side I'm never be able to r/w ENC GATTs

Hi everyone, I'm new and I'm struggling with the problem. I'm using esp idf 4.4 and Nimble 1.3.0 First time I'm able to pair an android device inserting a passkey client side. Once the device is paired and bounded I'm able to read and write encrypted gatts like for forever. The bond survive across r...