Search found 1049 matches

by kolban
Sun Nov 19, 2017 4:31 pm
Forum: ESP32 SDK
Topic: Missing declaration: esp_gattc_service_elem_t
Replies: 5
Views: 206

Re: Missing declaration: esp_gattc_service_elem_t

There was indeed quite a bit of churn on the ESP32 BLE support around that time. However, the classes I am tinkering with were an on-going target. When ESP-IDF 3.0 comes out I'll create a branch/release tested for that and maintain it against 3.0 while at the same time make forward progress on new f...
by kolban
Sun Nov 19, 2017 4:16 pm
Forum: General Discussion
Topic: Many Problems : ESP32 communicate to RC522 with SPI
Replies: 2
Views: 74

Re: Many Problems : ESP32 communicate to RC522 with SPI

In case it helps, here is an RC522 port that seems to work for me.

https://github.com/nkolban/esp32-snippe ... FRC522.cpp
by kolban
Sun Nov 19, 2017 4:08 pm
Forum: General Discussion
Topic: LWIP version and ESP32
Replies: 1
Views: 66

Re: LWIP version and ESP32

I'm going to guess ... if we look here: https://savannah.nongnu.org/news/?group=lwip We see that lwIP 2.0.0 was released in November 2016. The ESP32 (and ESP-IDF stack) were already available and being actively used. At that time, we were still waiting on core drivers such as Bluetooth, I2C and SPI ...
by kolban
Sun Nov 19, 2017 3:54 pm
Forum: General Discussion
Topic: Flash timing
Replies: 8
Views: 374

Re: Flash timing

I have a WROVER devkit (with WROVER module) which I believe uses the FT2232H USB to UART. When I try and flash at 2000000 baud, I don't see any change as compared to flashing at 921600. The command I am using on Ubuntu hosted on VirtualBox hosted on Windows 10 is: $ make flash ESPBAUD=2000000 The ti...
by kolban
Sun Nov 19, 2017 3:29 pm
Forum: General Discussion
Topic: ring buffer RINGBUF_TYPE_ALLOWSPLIT check for splitted item?
Replies: 8
Views: 487

Re: ring buffer RINGBUF_TYPE_ALLOWSPLIT check for splitted item?

I'm imagining a scenario where I have a 1000 byte ring buffer. I write 500 bytes and then consume those 500 bytes. Now there is no data in the ring buffer. Q: In an empty buffer, are the read/write pointers reset to the start of the buffer? Now, after having written and then read 500 bytes .. and as...
by kolban
Sun Nov 19, 2017 4:03 am
Forum: ESP32 SDK
Topic: Logging serial port receive data
Replies: 1
Views: 87

Re: Logging serial port receive data

To switch off all error logging, you might try "esp_log_level_set("*", ESP_LOG_NONE);" You can also intercept logging by supplying your own function to be called to log. This is performed via the function esp_log_set_vprintf() ... however I don't know how to set it back. I'll rai...
by kolban
Sun Nov 19, 2017 12:27 am
Forum: General Discussion
Topic: ring buffer RINGBUF_TYPE_ALLOWSPLIT check for splitted item?
Replies: 8
Views: 487

Re: ring buffer RINGBUF_TYPE_ALLOWSPLIT check for splitted item?

I'm reading the docs for the ringbuffer here: https://github.com/espressif/esp-idf/blob/master/components/freertos/include/freertos/ringbuf.h When splitting is not allowed, it states: "... the maximum size is (buffer_size/2)-8 bytes." Does this mean the value returned by "GetMaxItemSi...
by kolban
Fri Nov 17, 2017 11:44 pm
Forum: General Discussion
Topic: How to update spiffs partition content
Replies: 4
Views: 50

Re: How to update spiffs partition content

I personally haven't looked into that area in depth .. but my loose thinking would be that since SPIFFs data is held in a partition and a partition is merely/just an area of flash memory that is "cataloged" then any data you receive (be it through WiFi, BLE, Serial, SPI, I2C or other mecha...
by kolban
Fri Nov 17, 2017 7:11 pm
Forum: General Discussion
Topic: pvPortMalloc() and how "ESP-IDF FreeRTOS" solve the thread safe malloc() problem.
Replies: 6
Views: 66

Re: pvPortMalloc() and how "ESP-IDF FreeRTOS" solve the thread safe malloc() problem.

In multi-threaded programming we have the notion of a "mutex". Think of this a gate that ensures that only one task at a time can work in a critical area. Contrast this with visit a gas station and wanting to use the bathroom. In order to use the bathroom, you have to ask the clerk for the...
by kolban
Wed Nov 15, 2017 5:53 pm
Forum: General Discussion
Topic: Best way to work on one project from different PCs?
Replies: 3
Views: 88

Re: Best way to work on one project from different PCs?

Personally, I like using Github and pushing my best so far to a branch and performing a pull/change/commit/push after ending a work session. This not only allows me to work on multiple machines but protects my source from a disk crash, virtual machine loss, and keeps a history of all changes. If you...

Go to advanced search