Search found 606 matches

by fly135
Mon Mar 12, 2018 10:46 pm
Forum: General Discussion
Topic: Anyone hit a task limit?
Replies: 7
Views: 8206

Anyone hit a task limit?

I'm working on an app that is returning -1 on xTaskCreate after I've previously created a few tasks. The heap indicates.... heap_caps_get_free_size(MALLOC_CAP_8BIT) = 1657700 heap_caps_get_free_size(MALLOC_CAP_32BIT) = 1703316 stack free of the calling (creating) task = 7980 When I call uxTaskGetNum...
by fly135
Fri Mar 02, 2018 3:40 pm
Forum: General Discussion
Topic: nvs_set hanging the task problem
Replies: 1
Views: 2919

nvs_set hanging the task problem

I ran into an issue where calling "nvs_set_str" occasionally hangs the task and I get either watchdog reboots or reports that the WD isn't being serviced. The task is running at priority 0. I raised the priority to 10 and it appears that this fixed the problem. I then lowered the priority to 1 and i...
by fly135
Wed Feb 21, 2018 3:16 pm
Forum: General Discussion
Topic: ESP32 Bluetooth
Replies: 2
Views: 4178

Re: ESP32 BLUETOOTH

Check out this thread... https://esp32.com/viewtopic.php?f=13&t=2330 I recommend that you either use Kolban's C++ library, or refer to IDF_PATH/examples/gatt_server for example code. I had a lot of problems with this using a Samsung S5 phone Android 4.2.2, even though it's supposed to be compatible....
by fly135
Mon Feb 19, 2018 3:42 pm
Forum: General Discussion
Topic: Basic Issue: Wifi Scanning returns no access point even when the APs are present
Replies: 4
Views: 8003

Re: Basic Issue: Wifi Scanning returns no access point even when the APs are present

If we look at the parameters to a WiFi scan, we see that it is of type "wifi_scan_config_t". Looking at the current structure definition here ...: That was the first thing I tried. i.e. filling out all the parameters. Made no difference until I looped though each channel 1..13. wifi_scan_config_t s...
by fly135
Sun Feb 18, 2018 4:22 pm
Forum: General Discussion
Topic: Basic Issue: Wifi Scanning returns no access point even when the APs are present
Replies: 4
Views: 8003

Re: Basic Issue: Wifi Scanning returns no access point even when the APs are present

I just needed to add this function to my project. And I too found I got no responses. One thing I found that was a problem is the channel parameter. The docs say it's the channel to scan. But the docs don't say anything about scanning all the channels. So I put the scan call in a loop incrementing t...
by fly135
Sat Feb 17, 2018 10:00 pm
Forum: Sample Code
Topic: Using Node.js and Noble for BLE partners
Replies: 2
Views: 41884

Re: Using Node.js and Noble for BLE partners

Just happened to see this. Going to give it a try. Thanks for posting!
by fly135
Thu Feb 15, 2018 4:34 am
Forum: General Discussion
Topic: Struggling with creating a BLE server.
Replies: 2
Views: 3990

Re: Struggling with creating a BLE server.

Picked up a iPhone 6 today for testing and it works . Apparently there is some issue between the ESP32 and Android 4.4.2 on my Samsung S5 that is preventing it from working. Going to try someone's phone that has a newer Android version next.
by fly135
Thu Feb 15, 2018 4:33 am
Forum: Report Bugs
Topic: BLE/GATT doesn't send response error
Replies: 4
Views: 7445

Re: BLE/GATT doesn't send response error

Update...

Picked up a iPhone 6 today for testing and it works . Apparently there is some issue between the ESP32 and Android 4.4.2 on my Samsung S5 that is preventing it from working.
by fly135
Wed Feb 14, 2018 2:03 am
Forum: General Discussion
Topic: Struggling with creating a BLE server.
Replies: 2
Views: 3990

Re: Struggling with creating a BLE server.

Starting to think it might be my Samsung S5 that's part of the problem. I'm able to run gatt_client and gatt_server on two esp32 boards. I'm also able to run my code that is a ble server and when connecting to it with gatt_client modified to search it's name, it connects and queries just fine. When ...
by fly135
Wed Feb 14, 2018 1:59 am
Forum: Report Bugs
Topic: BLE/GATT doesn't send response error
Replies: 4
Views: 7445

Re: BLE/GATT doesn't send response error

More info.... Starting to wonder if my Samsung Galaxy S5 is part of the problem. I've tried numerous apps like nRF Connect and Bluefruit LE that seem to have a problem. But if I run my code on the ESP32 as a server and then change gatt_client to connect to the name of my board it seems to query the ...