Search found 79 matches

by Lucas.Hutchinson
Mon Oct 02, 2017 12:58 am
Forum: ESP-IDF
Topic: BLE graceful disconnect problem
Replies: 4
Views: 7439

Re: BLE graceful disconnect problem

Yes I will second that "esp_ble_gattc_close" is the correct function to call to disconnect from a peripheral. The register and un-register api calls are to register an application callback with the stack. In my application i register 3 of these (My application can handle up to 3 connected peripheral...
by Lucas.Hutchinson
Wed Sep 27, 2017 7:22 pm
Forum: ESP-IDF
Topic: disable brownout detection
Replies: 3
Views: 10076

Re: disable brownout detection

Have you tried running a make erase_flash, then re-flashing the firmware onto the esp32?
by Lucas.Hutchinson
Wed Sep 27, 2017 7:19 pm
Forum: ESP-IDF
Topic: BLE: Purpose of esp_ble_gattc_register_for_notify
Replies: 9
Views: 11870

Re: BLE: Purpose of esp_ble_gattc_register_for_notify

Hi,

Sorry, yes what i said wasn't strictly accurate.
I think it enables some callback or flag within the stack which generates the "ESP_GATTC_NOTIFY_EVT " notification events as WiFive cleared up.
by Lucas.Hutchinson
Wed Sep 27, 2017 2:47 am
Forum: ESP-IDF
Topic: BLE: Purpose of esp_ble_gattc_register_for_notify
Replies: 9
Views: 11870

Re: BLE: Purpose of esp_ble_gattc_register_for_notify

Hi Neil, From my experience the "esp_ble_gattc_register_for_notify" function seems to register a callback inside the client ble stack for that characteristic, so that when a notification is received it will correctly handle the data and pass it to the application. Then to enable notifications/indica...
by Lucas.Hutchinson
Tue Sep 26, 2017 7:00 pm
Forum: General Discussion
Topic: What would you like to see in The Next Chip?
Replies: 426
Views: 782260

Re: What would you like to see in The Next Chip?

1. finer grained clock frequency control , with pll-mult and pll-div, should be able use bog standard crystals e.g. 16mhz 10ppm. Don't understand why 80MHz, 160MHz and 240MHz are the only "allowed" frequencies. If a minimum clock frequency is required to support a protocol stack, just state so in t...
by Lucas.Hutchinson
Tue Sep 26, 2017 3:14 am
Forum: ESP-IDF
Topic: Memory consumption of bluetooth is enormous
Replies: 19
Views: 37160

Re: Memory consumption of bluetooth is enormous

What is your log print level set to? If it is set to verbose, you will find the bin size to be quite large. If you set this to info, warning or error, you will likely find the size will drop. Also check the following options in your menuconfig: "Component config-> Bluetooth-> Bluedorid Bluetooth sta...
by Lucas.Hutchinson
Tue Sep 26, 2017 3:07 am
Forum: General Discussion
Topic: What would you like to see in The Next Chip?
Replies: 426
Views: 782260

Re: What would you like to see in The Next Chip?

Memory consumption of BLE is really huge. Would there be a way to rebuild portions of this to hardware ? While having a reduce memory footprint of ble would be awesome, it is not something that I would like to see. Including ble stack functionality directly in hardware would make it more limiting. ...
by Lucas.Hutchinson
Mon Sep 25, 2017 8:35 pm
Forum: ESP-IDF
Topic: ESP-IDF binary size
Replies: 2
Views: 6074

Re: ESP-IDF binary size

Another thing to consider: (for release firmware at least) Consider changing the log level from verbose, debug or info, to either warning or error. Removing the additional logs will reduce the binary size significantly, especially if lots of logging is used in your program or in the IDF components t...
by Lucas.Hutchinson
Mon Sep 25, 2017 1:33 am
Forum: General Discussion
Topic: What would you like to see in The Next Chip?
Replies: 426
Views: 782260

Re: What would you like to see in The Next Chip?

@Leitukey

Have you seen anything about the wRover modules?
They include 4MB of external PSRAM. Is this what you would be looking for?
by Lucas.Hutchinson
Mon Sep 25, 2017 1:01 am
Forum: General Discussion
Topic: What would you like to see in The Next Chip?
Replies: 426
Views: 782260

Re: What would you like to see in The Next Chip?

@leitukey You do realise this thread is asking about community suggestions for the next espressif chip? E.g. the ESP64 or something like that? As in the product to replace this one? What you are talking about is in reference to the IDF which, as they have stated before in this thread, is developed i...