Search found 28 matches

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: 199

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: 548

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: 548

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: 1226

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: 1226

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: 1226

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: 10
Views: 5939

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: 2058

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...
by themindfactory
Tue Dec 18, 2018 11:57 pm
Forum: ESP32 Arduino
Topic: Keeping AP alive when changing STA
Replies: 3
Views: 2058

Re: Keeping AP alive when changing STA

I wrote an example sketch, attached below, to prove show issue. 1. Start CMD on windows machine and issue ping 192.168.4.1 -t 2. Change "your-ssid" and "your-password" to reflect your network.... then Run the sketch 3. find "myhost" in your wireless AP settings on the PC and log in.... (do it quickl...
by themindfactory
Mon Dec 17, 2018 4:45 am
Forum: ESP32 Arduino
Topic: Keeping AP alive when changing STA
Replies: 3
Views: 2058

Keeping AP alive when changing STA

I want to log onto the ESP32 as an AP, and send it commands (over the AP interface) to change the attached STA, however when I do this it drops the AP I am connected to....

I am programming in the Arduino IDE.

How??

RichardS

Go to advanced search