Search found 60 matches

by enitalp
Fri Aug 25, 2017 7:53 pm
Forum: General Discussion
Topic: ESP-IDF and Visual Studio Code
Replies: 2
Views: 9117

ESP-IDF and Visual Studio Code

Switched recently from eclipse, what a relief, so much better. But there is one thing i can't figure out at all. If a fellow user found the solution : I'm trying to create a task to launch the menuconfig. It seems that the task launch, but i don't see the console output so i can't interact with it. ...
by enitalp
Fri Aug 25, 2017 7:22 pm
Forum: ESP-IDF
Topic: [Video]: Bluetooth BLE and C++ classes
Replies: 63
Views: 81224

Re: [Video]: Bluetooth BLE and C++ classes

My expectation was 2, but verified and stunned all the c++ programmers working with me when it shows 5. That add to the reason we don't use std/stl. So "it works" but i would still replace it by a vector, so somebody fluent in c++ will not be surprised liked me. I saw that you don't limit the send l...
by enitalp
Fri Aug 25, 2017 1:18 pm
Forum: ESP-IDF
Topic: Eclipse (Windows) does not find headers in components
Replies: 9
Views: 17987

Re: Eclipse (Windows) does not find headers in components

I stopped working with eclipse because of that. and even settings the path in the properties, i regularly lost them for no reason. Switched to visual studio code with a config file for esp-idf. It gave me the support of source control (Perforce) and correct parsing of include file recursivly in sub ...
by enitalp
Thu Aug 24, 2017 10:07 pm
Forum: ESP-IDF
Topic: [Video]: Bluetooth BLE and C++ classes
Replies: 63
Views: 81224

Re: [Video]: Bluetooth BLE and C++ classes

Since the classes are C++, I looked for a pre-supplied class that encapsulates a data buffer ... it appears that std::string is that class. In C, the concept of a "string" is an illusion ... it is just a sequence of characters which have an implicit 0 byte value terminator. In the C++ standard libr...
by enitalp
Thu Aug 24, 2017 9:55 pm
Forum: ESP-IDF
Topic: [Video]: Bluetooth BLE and C++ classes
Replies: 63
Views: 81224

Re: [Video]: Bluetooth BLE and C++ classes

Fun fact. I'm using an ESP32, Single Core at 80 mhz. My code handle different external device, in my main loop, maximum speed of this main loop is 60 fps. I send a simple counter over BLE to an android Galaxy Tab S2 1.8ghz. On it running a custom test application with Unity 3D (C#). Every time i rec...
by enitalp
Thu Aug 24, 2017 6:55 pm
Forum: ESP-IDF
Topic: [Video]: Bluetooth BLE and C++ classes
Replies: 63
Views: 81224

Re: [Video]: Bluetooth BLE and C++ classes

Ho, and i have a conceptual problem with the BLECharacteristic getValue(); Because not all value you receive are string, the problem is when you receive binary, if there is a 0 you can't get the correct lenght of data you received. Or the callback could give the lenght. But it should be better pehar...
by enitalp
Thu Aug 24, 2017 6:50 pm
Forum: ESP-IDF
Topic: [Video]: Bluetooth BLE and C++ classes
Replies: 63
Views: 81224

Re: [Video]: Bluetooth BLE and C++ classes

BLEServerCallbacks,
BLECharacteristicCallbacks

Have the same Problem.
Don't know if BLECharacteristicCallbacks should be virtual pure, because you can have mostly only read or write on a characteristic. not all of them are both.
by enitalp
Tue Aug 22, 2017 6:00 pm
Forum: General Discussion
Topic: What would you like to see in The Next Chip?
Replies: 426
Views: 784332

Re: What would you like to see in The Next Chip?

A complete SDK, like with BTC, WIFI Direct ;p
A real dev environnement with debugger fully integrated in visual studio and visual studio code.
A SDK fully in c++ no more C functions.
by enitalp
Mon Aug 21, 2017 3:15 pm
Forum: ESP-IDF
Topic: [Video]: Bluetooth BLE and C++ classes
Replies: 63
Views: 81224

Re: [Video]: Bluetooth BLE and C++ classes

BLEClientCallbacks miss an empty function for the interface onConnect, or should be pure virtual.
by enitalp
Mon Aug 21, 2017 1:25 pm
Forum: ESP-IDF
Topic: [Video]: Bluetooth BLE and C++ classes
Replies: 63
Views: 81224

Re: [Video]: Bluetooth BLE and C++ classes

That's mostly the case for any documentation. Writing it is "easy" maintaining it is very hard.