Search found 1683 matches

by kolban
Wed Mar 29, 2017 1:09 am
Forum: ESP-IDF
Topic: [Solved] Eclipse, C++ and the Standard Template Library
Replies: 11
Views: 19486

Re: [Solved] Eclipse, C++ and the Standard Template Library

Making a guess, I'd say not yet. I believe the toolchain is based on https://github.com/jcmvbkbc/crosstool-NG and if we follow the chain downwards we get to:

http://crosstool-ng.org/

and that is at release 1.22 which appears to be dated 2015.

Sorry my friend C++17 is bleeding edge.
by kolban
Wed Mar 29, 2017 1:04 am
Forum: ESP-IDF
Topic: [TW#11125] BLE connect to non-advertising peripheral
Replies: 14
Views: 20670

Re: BLE connect to non-advertising peripheral

The last time I looked, BT classic (BR/EDR) is not yet supported ... that obviously may have changed ... hopefully someone can comment if they know different ... but for me, I'd assume it is NOT yet working.
by kolban
Tue Mar 28, 2017 9:35 pm
Forum: ESP-IDF
Topic: [TW#11125] BLE connect to non-advertising peripheral
Replies: 14
Views: 20670

Re: BLE connect to non-advertising peripheral

Do you have a code sample we can look at to either see what your recipe is or, test ourselves against our devices?
by kolban
Tue Mar 28, 2017 5:47 pm
Forum: General Discussion
Topic: ESP32 WiFi non blocking send errors
Replies: 4
Views: 7342

Re: ESP32 WiFi non blocking send errors

I would be VERY dissapointed to hear that sending data over WiFi interfered with the timings of reading from a UART. Since UART doesn't have a shared clock, it is vital that it maintain very coherent timings with its partner. I believe that the UART is hardware assisted meaning (to me) that built in...
by kolban
Tue Mar 28, 2017 1:59 pm
Forum: ESP-IDF
Topic: lwIP reconnect same address+port
Replies: 3
Views: 6700

Re: lwIP reconnect same address+port

You might want to look into the SO_REUSEADDR option. Here is a Microsoft article ...

https://msdn.microsoft.com/en-us/librar ... s.85).aspx

By default, this feature is disabled in ESP-IDF but can be enabled in the "make menuconfig" options.
by kolban
Tue Mar 28, 2017 1:53 pm
Forum: General Discussion
Topic: ESP32 WiFi non blocking send errors
Replies: 4
Views: 7342

Re: ESP32 WiFi non blocking send errors

This is a wild guess ... but maybe its worth considering ... a TCP socket is a streamed entity ... meaning the data appears at the other end in the order you sent it. Instead of sending data in units of 600 bytes every 25 msecs ... accumulate your data in RAM and have a task that runs in the backgro...
by kolban
Tue Mar 28, 2017 12:40 am
Forum: ESP-IDF
Topic: [TW#11125] BLE connect to non-advertising peripheral
Replies: 14
Views: 20670

Re: BLE connect to non-advertising peripheral

Howdy sir, To be honest, I'm absorbing books on BLE as fast as possible and don't consider myself an expert. I am testing with one BLE device which is (I believe) called an "iTag" which a $3 key fob that beeps when a connection formed to it is lost. However, it does behave as a GATT server etc etc. ...
by kolban
Mon Mar 27, 2017 2:36 pm
Forum: ESP-IDF
Topic: gattc open issue
Replies: 10
Views: 20795

Re: gattc open issue

Howdy,
The next thing to do then will be to look at the design / implementation you have. Can you post the code or a link to the code and ideally jot down the high level design of your logic?
by kolban
Mon Mar 27, 2017 2:34 pm
Forum: ESP-IDF
Topic: [TW#11125] BLE connect to non-advertising peripheral
Replies: 14
Views: 20670

Re: BLE connect to non-advertising peripheral

Howdy,
I was playing with BLE last night (tinkering with C++ class wrappers) and was able to connect to a BLE device and retrieve GATT characteristics without first doing a BLE scan. So far, all working as expected.
by kolban
Sun Mar 26, 2017 7:32 pm
Forum: General Discussion
Topic: cpp template using freertos and external cpp libraries
Replies: 3
Views: 7043

Re: cpp template using freertos and external cpp libraries

Howdy, Think of any application you write as running "within" a FreeRTOS environment by default. When the ESP32 loads (with the standard bootloader), FreeRTOS is started including the scheduler. All the FreeRTOS libraries are available to your application. By default, user code (i.e. code you write)...