Search found 26 matches

by perryc
Mon Sep 03, 2018 2:30 am
Forum: ESP-IDF
Topic: ESP32 SPP send throughput
Replies: 12
Views: 27743

Re: ESP32 SPP send throughput

Spent some more time on our SPP tx throughput issue. Sure seems there is something weird going on. A lowly $50 Kindle Fire seems to work great. I'm seeing 380Kb/s using a 20mS delay loop when while congestion is set on 256 byte buffers. I tx-ed about 350MB from esp32 to tablet error free using that ...
by perryc
Fri Aug 31, 2018 4:54 am
Forum: ESP-IDF
Topic: ESP32 SPP send throughput
Replies: 12
Views: 27743

Re: ESP32 SPP send throughput

For what it's worth we are struggling with sending files over BT SPP as well. We think we are checking and waiting for congestion to clear in every case and still occasionally a complete buffer write goes missing (900 byte buffers in our case but tried smaller). 10 ms or 300ms waits between buffer w...
by perryc
Tue Mar 06, 2018 6:03 pm
Forum: ESP-IDF
Topic: Ping from ESP32
Replies: 17
Views: 40607

Re: Ping from ESP32

There is a feb 25/18 bug fix for the esp-idf that gets rid of the of the "* 1000" in esp_ping.c so grab the latest esp-idf and you can pass normal milliseconds time params.
by perryc
Sat Feb 03, 2018 4:21 pm
Forum: ESP-IDF
Topic: Ping from ESP32
Replies: 17
Views: 40607

Re: Ping from ESP32

Here's a simple ping app that's based on esp-idf wifi ap example code #include <stdio.h> #include "freertos/FreeRTOS.h" #include "freertos/task.h" #include "esp_system.h" #include "esp_spi_flash.h" #include "freertos/event_groups.h" #include "esp_wifi.h" #include "esp_log.h" #include "esp_event_loop...
by perryc
Thu Feb 01, 2018 1:41 am
Forum: ESP-IDF
Topic: Ping from ESP32
Replies: 17
Views: 40607

Re: Ping from ESP32

All your ping info is in the pf struct esp_err_t pingResults(ping_target_id_t msgType, esp_ping_found * pf){ printf("AvgTime:%.1fmS Sent:%d Rec:%d Err:%d min(mS):%d max(mS):%d ", (float)pf->total_time/pf->recv_count, pf->send_count, pf->recv_count, pf->err_count, pf->min_time, pf->max_time ); return...
by perryc
Thu Jan 25, 2018 9:29 pm
Forum: General Discussion
Topic: Esp32 Wifi Long Range Mode
Replies: 9
Views: 35515

Re: Esp32 Wifi Long Range Mode

We've been using a pair of esp-woom-32 based pcb's to test performance in "Long Range WiFi" relative to standard WiFi mode and find both start to drop packets at -90dBm and no increase range before the connection drops with "Long Range" mode. Sure like to hear from anyone getting "long range" mode t...
by perryc
Mon Jan 22, 2018 4:38 pm
Forum: ESP-IDF
Topic: Ping from ESP32
Replies: 17
Views: 40607

Re: Ping from ESP32

This is a old question but just in case it helps the next guy.... It took me a while to figure out how to use the ping api but just create a pingResults function and make some calls to esp_ping_set_target to config things and call ping_init(); esp_err_t pingResults(ping_target_id_t msgType, esp_ping...
by perryc
Thu Sep 14, 2017 12:27 am
Forum: Report Bugs
Topic: SD card 0x107 errors after Aug22 commit 0532d37
Replies: 4
Views: 9144

Re: SD card 0x107 errors after Aug22 commit 0532d37

Thanks for the reply - Yes Sept 4 SD related commits seem to have fixed our 4 wire SD card mount issues. Or at least the sept 13 head works and sept 3 was broken.

Perry
by perryc
Mon Sep 04, 2017 1:14 pm
Forum: Report Bugs
Topic: SD card 0x107 errors after Aug22 commit 0532d37
Replies: 4
Views: 9144

SD card 0x107 errors after Aug22 commit 0532d37

Something's up with SD card support for commits later than 0532d37. sd_card example program gives 0x107 errors - 0532d37 and all prev. builds we've tried going back to last year have been working.

And also does esp-idf 3.0 change esp_event_loop_init() ? Not getting events to our event handler.
by perryc
Fri Sep 01, 2017 4:24 am
Forum: General Discussion
Topic: If using SD file system you need a esp-idf newer than 2.1
Replies: 0
Views: 2753

If using SD file system you need a esp-idf newer than 2.1

Been using esp-idf 2.1 for the last month and thought all was well until I started to come across files had missing or repeated bytes at locations that were a multiple of 512 when writing to a sd card. Found that fwrite() on a file that already had data that was not aligned to 4 bytes, a large fwrit...