Search found 208 matches

by davdav
Fri Mar 23, 2018 3:38 pm
Forum: ESP-IDF
Topic: Setup TX power in BLE raw data gap advertizing
Replies: 0
Views: 2750

Setup TX power in BLE raw data gap advertizing

Hi, I'm trying to insert in my advertizing packet, using raw data function esp_ble_gap_config_adv_data_raw the TX power (in practice GAP index 0x0A as per BLE specification). static uint8_t raw_adv_data[] = { //Appearance (384 generic remote control) 0x03, 0x19, 0x80, 0x01, /* flags */ 0x02, 0x01, 0...
by davdav
Thu Mar 22, 2018 3:20 pm
Forum: ESP32 Arduino
Topic: Practical usage of the built-in hall sensor
Replies: 11
Views: 44344

Re: Practical usage of the built-in hall sensor

OK thank you.
by davdav
Thu Mar 22, 2018 3:00 pm
Forum: ESP-IDF
Topic: Setup Appearance GAP characteristic (0x2A01) in BLE
Replies: 6
Views: 9586

Re: Setup Appearance GAP characteristic (0x2A01) in BLE

OK @chegewara, you gave me a lot of help.

I will open an issue on github referencing this thread. Hopefully they could give a solution.

Thanks
by davdav
Thu Mar 22, 2018 8:22 am
Forum: ESP-IDF
Topic: Setup Appearance GAP characteristic (0x2A01) in BLE
Replies: 6
Views: 9586

Re: Setup Appearance GAP characteristic (0x2A01) in BLE

Thanks @chegewara for suggestion. What I miss to say in my first post was that I'm using raw data in order to emulate an eddystone UID beacon. Therefore, I'm not using "esp_ble_adv_data_t" structure where "appearance" element is defined. I currently setup two arrays for advertize and scan response i...
by davdav
Thu Mar 22, 2018 7:49 am
Forum: ESP32 Arduino
Topic: Practical usage of the built-in hall sensor
Replies: 11
Views: 44344

Re: Practical usage of the built-in hall sensor

Hi @rin67630,

I'm currently using ADC1_CH0 and ADC3_CH3 for measuring other analog voltage.

Do you know if the Hall sensor is still usable in this condition? I.e. Does the external voltage applied to VP/VN sensor pins affect the measurement of Hall sensor?

Or is it internally "switched"?

Thanks
by davdav
Wed Mar 21, 2018 2:32 pm
Forum: ESP-IDF
Topic: Setup Appearance GAP characteristic (0x2A01) in BLE
Replies: 6
Views: 9586

Setup Appearance GAP characteristic (0x2A01) in BLE

Hi, I'm trying to understand how to setup the Appearance charateristic in GAP BLE (in particular as REMOTE_GENERIC). Here: https://github.com/nkolban/esp32-snippets/issues/88 They seems to have fixed for ESP32-Arduino (mayb @chegewara and @kolban can help). Here: https://github.com/espressif/esp-idf...
by davdav
Tue Mar 20, 2018 9:18 am
Forum: ESP-IDF
Topic: OTA clarification
Replies: 32
Views: 44778

Re: OTA clarification

Thank you @chegewara and @ESP_Angus. I have checked that esp_ota_get_next_update_partition() is not able to point to factory partition. In order to save more space we are thinking about using a "small" factory where only the OTA process is done and 1 OTA partition which will store the current applic...
by davdav
Mon Mar 19, 2018 12:07 pm
Forum: ESP-IDF
Topic: OTA clarification
Replies: 32
Views: 44778

Re: OTA clarification

Hi, I re-open this thread to have confirmation we can have only FACTORY and 1 OTA partition. Our project is getting bigger (>1MB) and we need at least 1MB for FAT filesystem so we would like to have just 1 OTA partion and switch between factory and that OTA partition (both of them of 1.5MB). Do you ...
by davdav
Sat Mar 17, 2018 2:58 pm
Forum: ESP-IDF
Topic: BLE remote_bda MAC address
Replies: 3
Views: 6736

[SOLVED]Re: BLE remote_bda MAC address

Thanks @WiFive. After I wrote the post I have found out that articles which solved the question.
by davdav
Fri Mar 16, 2018 1:49 pm
Forum: ESP-IDF
Topic: BLE remote_bda MAC address
Replies: 3
Views: 6736

BLE remote_bda MAC address

Hi everybody, I have tested example bt_ssp_acceptor and I modified it to write the MAC address of the remote device which connects to ESP32. The mac address was correctly displayed as reported also in device info of the tablet I used to connect to esp32. In my case: 7e 6b 46 81 27 34 Then I tested g...