Search found 30 matches

by themindfactory
Sat Apr 27, 2024 2:50 am
Forum: ESP32 Arduino
Topic: vTaskList() and others....
Replies: 2
Views: 100

Re: vTaskList() and others....

hmm thought I saw that enabled too :-)

bummer.... trying to see how much horsepower each task is using, to make sure I am not running out!

R.
by themindfactory
Sat Apr 27, 2024 1:37 am
Forum: ESP32 Arduino
Topic: vTaskList() and others....
Replies: 2
Views: 100

vTaskList() and others....

This function and others that do task stats seem to be enabled, I found them in a few .h files, and no matter what I do I can not link it in the Arduino IDE . I have also tried the: extern "C" { void vTaskGetRunTimeStats(char *); }; As I assume they are not CPP files... but to no avail... still no g...
by themindfactory
Sat Aug 15, 2020 1:18 am
Forum: ESP32 Arduino
Topic: Response code for void onUploadFile() to tell Chrome to stop trying to upload
Replies: 0
Views: 1941

Response code for void onUploadFile() to tell Chrome to stop trying to upload

In Arduino I am using the typical void onUploadFile(AsyncWebServerRequest * request, String filename, size_t index, uint8_t *data, size_t len, bool final) { } function, it returns at the end on successful completion AsyncWebServerResponse *response = request->beginResponse(200, "text/plain", respons...
by themindfactory
Tue Dec 10, 2019 5:48 pm
Forum: ESP32 Arduino
Topic: Trying to change SPI driver compile error "error invalid use of incomplete type 'spi_t'"
Replies: 1
Views: 3023

Re: Trying to change SPI driver compile error "error invalid use of incomplete type 'spi_t'"

I think this is happening as spi_struct_t is not defined in any .h files, its defined within a .c file, so the compiler does not know the members, so having the pointer to the object in Arduino is kind of useless not being about to easily get to the members of the struct. I will tinker and see... Ri...
by themindfactory
Tue Dec 10, 2019 12:22 am
Forum: ESP32 Arduino
Topic: Trying to change SPI driver compile error "error invalid use of incomplete type 'spi_t'"
Replies: 1
Views: 3023

Trying to change SPI driver compile error "error invalid use of incomplete type 'spi_t'"

#include <SPI.h> SPIClass spi; SPISettings spiSettings = SPISettings(SPI_CLOCK, SPI_MSBFIRST, SPI_MODE); void setup() { Serial.begin(500000); spi.begin(); //ck,miso,mosi,ss spi_t *s; s = spi.bus(); s->dev->mosi_dlen.usr_mosi_dbitlen = 48 - 1; } void loop() { } The s->dev->mosi_dlen.usr_mosi_dbitlen...
by themindfactory
Sun Jun 16, 2019 5:36 pm
Forum: ESP-IDF
Topic: Many Bluetooth devices controlled by one application...
Replies: 4
Views: 5086

Re: Many Bluetooth devices controlled by one application...

Is there something magical about 5, or is it just from experience....

RichardS
by themindfactory
Sun Jun 16, 2019 2:28 am
Forum: ESP-IDF
Topic: Many Bluetooth devices controlled by one application...
Replies: 4
Views: 5086

Re: Many Bluetooth devices controlled by one application...

Yeah I am not sure yet, its for an application where I will be sending data back and forth just to update a UI, so very small amounts of data... something like 1000bps would be more than enough.... What ever is chosen I want the best one that is well supported across all platforms and versions. (IOS...
by themindfactory
Sat Jun 15, 2019 8:53 pm
Forum: ESP-IDF
Topic: Many Bluetooth devices controlled by one application...
Replies: 4
Views: 5086

Many Bluetooth devices controlled by one application...

Can this be done on Android or IOS?

Its very difficult to search for this concept and answers, so I hope someone can point the way... :-)

Thanks,
RichardS
by themindfactory
Wed Jun 05, 2019 10:46 pm
Forum: ESP32 Arduino
Topic: Undefined Reference to "uxTaskGetSystemState" Upon Any Attempt to Use.
Replies: 11
Views: 20184

Re: Undefined Reference to "uxTaskGetSystemState" Upon Any Attempt to Use.

Just tried the same thing to platform.txt and the linker errors and says "undefined reference to `uxTaskGetSystemState'"

What versions are you using of the Arduino ESP32 board support??

R.
by themindfactory
Wed Dec 19, 2018 8:22 pm
Forum: ESP32 Arduino
Topic: Keeping AP alive when changing STA
Replies: 3
Views: 6606

Re: Keeping AP alive when changing STA

This is similar to what I am seeing... I was thinking of doing a scan for SSID in the neighborhood and seeing if we are trying to connect to one of them and if not don't do it! I find however that the scan does not seem to break things, and that would have to seek around on channels.... (i think) Ri...