Search found 6 matches

by ziolelle
Fri Dec 14, 2018 7:55 am
Forum: Report Bugs
Topic: BLE Scan Resp Raw Data: Examples in esp_idf not sending scan response data in raw mode
Replies: 5
Views: 11371

Re: BLE Scan Resp Raw Data: Examples in esp_idf not sending scan response data in raw mode

That not exactly correct. Advertising will start if in this line returns true (flag==0): https://github.com/espressif/esp-idf/blob/master/examples/bluetooth/ble_compatibility_test/main/ble_compatibility_test.c#L288 This shouldnt happen in this example code, but its worth to check. Just add log outp...
by ziolelle
Thu Dec 13, 2018 1:32 pm
Forum: Report Bugs
Topic: BLE Scan Resp Raw Data: Examples in esp_idf not sending scan response data in raw mode
Replies: 5
Views: 11371

Re: BLE Scan Resp Raw Data: Examples in esp_idf not sending scan response data in raw mode

Hi, answering on your first question: no, you dont have to advertise 128bit UUID two times. It is just example to show how you can do it, but in real app you can have advertising data completely different than scan response data. Answering the other question, example seems to look ok when you read ...
by ziolelle
Wed Dec 12, 2018 8:41 am
Forum: Report Bugs
Topic: BLE Scan Resp Raw Data: Examples in esp_idf not sending scan response data in raw mode
Replies: 5
Views: 11371

BLE Scan Resp Raw Data: Examples in esp_idf not sending scan response data in raw mode

Hi, it seems really strange to me that only me is getting this kind of problem: I took examples from the "examples/bluetooth" folder in esp_idf and no one is working correctly when activating CONFIG_SET_RAW_ADV_DATA I made few tests and I report here the simplest: working on " examples/bluetooth/ble...
by ziolelle
Fri Apr 20, 2018 7:35 am
Forum: ESP-IDF
Topic: error message ledc_isr_register()
Replies: 16
Views: 20312

Re: error message ledc_isr_register()

That's right, I made like you told me:

Code: Select all

	// Initialize fade service.
	ret = ledc_fade_func_install(ESP_INTR_FLAG_IRAM|ESP_INTR_FLAG_SHARED);

	// enable ISR routine
	ret = ledc_isr_register(ledc_isr_routine, NULL, ESP_INTR_FLAG_IRAM|ESP_INTR_FLAG_SHARED, NULL);
And it works

Thanks again
by ziolelle
Wed Apr 18, 2018 12:59 pm
Forum: ESP-IDF
Topic: error message ledc_isr_register()
Replies: 16
Views: 20312

Re: error message ledc_isr_register()

Hi, no other ISR installed, all the code I made is what I posted in the previous post. enabling the ESP32 go PANIC dur to (Interrupt wdt timeout on CPU0) as you can see from the following: ****** config timer (0x0) D (2423) ledc: LEDC_PWM CHANNEL 0|GPIO 02|Duty 0000|Time 0 ****** config channel (0x0...
by ziolelle
Tue Apr 17, 2018 1:48 pm
Forum: ESP-IDF
Topic: error message ledc_isr_register()
Replies: 16
Views: 20312

Re: error message ledc_isr_register()

I tried to follow the sample in order to use "ledc_isr_register" but unsuccessfully, the retcode for the function gives me back 0x105 (ESP_ERR_NOT_FOUND) it seems something is wrong when trying to find an available spot to install the function my code: #include <stdio.h> #include "freertos/FreeRTOS....