Search found 3529 matches

by WiFive
Thu Dec 28, 2017 11:50 am
Forum: General Discussion
Topic: Questions about libraries
Replies: 9
Views: 12939

Re: Questions about libraries

Gfast2 wrote: But how the "*.c" file get linked-in during this compile time?
https://www.lurklurk.org/linkers/linkers.html#ccompiler
by WiFive
Thu Dec 28, 2017 5:11 am
Forum: ESP-IDF
Topic: How to increase MTU size on GATT - Server
Replies: 21
Views: 42987

Re: How to increase MTU size on GATT - Server

I would like to join this discussion with enhancement request. It would be nice to have option to setup max allowed MTU in GATTS or at least to response on mtu request with own mtu value by exposing mtu response callback. According to bluetooth specs Vol 3 Part F 3.4.2.2 Exchange MTU Response The E...
by WiFive
Tue Dec 26, 2017 3:38 am
Forum: General Discussion
Topic: regex?
Replies: 5
Views: 8235

Re: regex?

Try micropython
by WiFive
Sun Dec 24, 2017 9:21 pm
Forum: ESP-IDF
Topic: BLE: can't receive Scan Response
Replies: 5
Views: 8171

Re: BLE: can't receive Scan Response

Imagine a BLE server advertising. It is broadcasting packets of fixed size that contain information about the server such that a client can learn what servers are out there and what they do. In the BLE specification there is the concept of a Scan Response. What this means (and it is all optional) t...
by WiFive
Sat Dec 23, 2017 11:15 am
Forum: Hardware
Topic: ESP32 WROVER pSRAM Quiescent current
Replies: 7
Views: 10947

Re: ESP32 WROVER pSRAM Quiescent current

loboris wrote: Just leftovers from testing, I'm aware it is "Hmm" code...
Now that you shared it at least fix the starred argument
by WiFive
Sat Dec 23, 2017 9:29 am
Forum: ESP-IDF
Topic: [Question]: BLE server/peripheral support of multiple concurrent client connections?
Replies: 5
Views: 11755

Re: [Question]: BLE server/peripheral support of multiple concurrent client connections?

http://embedded.fm/blog/ble-roles A peripheral advertises A central scans After a peripheral makes a connection it’s called a slave After a central makes a connection it’s called a master After a BLE connection has been established, devices can be either a client or a server https://stackoverflow.co...
by WiFive
Sat Dec 23, 2017 6:48 am
Forum: Hardware
Topic: ESP32 WROVER pSRAM Quiescent current
Replies: 7
Views: 10947

Re: ESP32 WROVER pSRAM Quiescent current

loboris wrote:

Code: Select all

    for (int i=32; i<40; i++) {
        gpio_pad_select_gpio(i);
        gpio_set_direction(i, ***GPIO_PULLUP_ONLY***);
        if (i < 34) gpio_set_pull_mode(i, GPIO_PULLUP_ONLY);
    }
Hmm
by WiFive
Thu Dec 21, 2017 10:09 pm
Forum: General Discussion
Topic: Compressing OTA Image
Replies: 4
Views: 7980

Re: Compressing OTA Image

You have to decompress it before you write to the ota partition. So you won't save any flash space. Most of the image is code that executes from flash through cache so it has to be in uncompressed format. I suppose the ram sections could be stored compressed if the bootloader was modified to decompr...