Search found 1683 matches

by kolban
Sun Dec 24, 2017 6:08 am
Forum: ESP-IDF
Topic: The BLE APIs and the concept of "handles" ...
Replies: 16
Views: 27743

Re: The BLE APIs and the concept of "handles" ...

Since this original post, it appears that handles are now indeed exposed by the APIs. If one is a client, one can find the handle of a service, characteristic or descriptor and if one is a server, one can be told of ones own handle.
by kolban
Sun Dec 24, 2017 6:04 am
Forum: General Discussion
Topic: Questions about libraries
Replies: 9
Views: 13044

Re: Questions about libraries

When you want to call logic (functions) that aren't defined in your own application, you typically perform a #include which brings in the contents of the named file as though it existed within your own code. This included material includes such things as the declarations of functions that you can th...
by kolban
Sun Dec 24, 2017 5:56 am
Forum: ESP-IDF
Topic: Programming in C++
Replies: 48
Views: 110201

Re: Programming in C++

I use C++ almost exclusively and I haven't encountered any issues relating to the language. We even have exception handling support now adays. No issues here.
by kolban
Fri Dec 22, 2017 6:52 pm
Forum: ESP-IDF
Topic: [Question]: BLE server/peripheral support of multiple concurrent client connections?
Replies: 5
Views: 11861

[Question]: BLE server/peripheral support of multiple concurrent client connections?

I have a user who is attempting to connect multiple BLE clients (centrals) to the same single BLE server (peripheral) hosted on the ESP32. What we find is that the first client connects correctly but when we attempt to connect the second client "nothing happens". What I mean by this is that there ar...
by kolban
Tue Dec 19, 2017 1:05 pm
Forum: General Discussion
Topic: parse JSON from HTTP header
Replies: 9
Views: 22460

Re: parse JSON from HTTP header

What library are you using to provide an HTTP server on the ESP32? Can you elaborate on "JSON in the header" ... JSON is normally found in the payload of a HTTP POST/PUT request or in the response of an HTTP GET response.
by kolban
Mon Dec 18, 2017 11:11 pm
Forum: ESP32 Arduino
Topic: Generic Access(0x1800)
Replies: 4
Views: 7345

Re: Generic Access(0x1800)

I think you are asking ... When we create a BLE Server using the ESP32 BLE software stack, the stack produces a service with UUID 0x1800 which has the name "Generic Access". See the following spec document: https://www.bluetooth.com/specifications/gatt/viewer?attributeXmlFile=org.bluetooth.service.g...
by kolban
Mon Dec 18, 2017 11:03 pm
Forum: General Discussion
Topic: How to make Socket Server communication between two ESP32?
Replies: 1
Views: 3452

Re: How to make Socket Server communication between two ESP32?

Not quite sure how to address that ... by mentioning sockets, it sounds like you already may be somewhat familiar with the TCP/IP sockets API. At a high level, imagine you have two ESP32s ... call one "server" and the other "client". Assume that both are WiFi stations and connect to the same WiFi ac...
by kolban
Thu Dec 14, 2017 6:07 am
Forum: ESP-IDF
Topic: Do we have a return time contract in a BLE GAP event?
Replies: 0
Views: 2495

Do we have a return time contract in a BLE GAP event?

In my logic, I am performing work in a BLE GAP event handler. Specifically, I am looking at the responses that come back from a scan requests when my ESP32 is being a BLE Central. I see the events arrive and I do some processing on them. When I perform the scan, I specify how many seconds we should ...
by kolban
Sun Dec 10, 2017 6:56 pm
Forum: ESP-IDF
Topic: ESP32 web server with AJAX functionality
Replies: 9
Views: 20550

Re: ESP32 web server with AJAX functionality

My perspective on SNMP vs REST is that they serve dramatically different purposes. REST is a client/server based protocol used to send update requests to a partner or request data from the partner. SNMP is all about efficiently retrieving/querying status information about a device. While if what you...