Search found 97 matches

by rwel59
Sat Dec 09, 2017 2:26 pm
Forum: General Discussion
Topic: BLE event indicating client has changed characteristic value
Replies: 5
Views: 7478

Re: BLE event indicating client has changed characteristic value

yep, that is consistent with where I'm at. So, my server (the esp32) is the primary changer of data which the client (in this case, the phone) gets notified of changes. That is all working well. I do need to set up the ability for the phone to occasionally send data to my device and herein lies my q...
by rwel59
Sat Dec 09, 2017 12:29 pm
Forum: General Discussion
Topic: BLE event indicating client has changed characteristic value
Replies: 5
Views: 7478

Re: BLE event indicating client has changed characteristic value

I've configured the device as a BLE server - my rationale is that the majority of communications will be outbound data from the device.

Inbound data is primarily for device configuration.
by rwel59
Fri Dec 08, 2017 6:59 pm
Forum: General Discussion
Topic: BLE event indicating client has changed characteristic value
Replies: 5
Views: 7478

BLE event indicating client has changed characteristic value

I'm writing a ble server app where the primary communications role is sending data to a connected device (phone). However, there is some communication from the connected device back to the esp server. I was planning on having the app update a server characteristic which will then be read by the eps3...
by rwel59
Fri Dec 08, 2017 5:54 pm
Forum: General Discussion
Topic: BLE Long Read and Long Write
Replies: 4
Views: 5759

Re: BLE Long Read and Long Write

Looked through the code. Can't figure out how/where is_long is set. Ended up writing something simple to get me going.

If you can give me some input on setting is_long I will go back and test out the cp_utils code.
by rwel59
Tue Dec 05, 2017 2:01 pm
Forum: General Discussion
Topic: BLE Long Read and Long Write
Replies: 4
Views: 5759

Re: BLE Long Read and Long Write

Neil, is this something you've built into cp_utils? I've looked through the files but didn't see anything.
by rwel59
Tue Dec 05, 2017 1:56 pm
Forum: General Discussion
Topic: Limit precision of double in json object or array
Replies: 6
Views: 7768

Re: Limit precision of double in json object or array

Yes, my description was incorrect but I had already shutdown when I posted the issue last night. To clarify the question, is there a method to strip zeros from the data representation?
by rwel59
Tue Dec 05, 2017 1:59 am
Forum: General Discussion
Topic: BLE Long Read and Long Write
Replies: 4
Views: 5759

BLE Long Read and Long Write

Is there a method in the BLE library to handle long reads and writes (a couple 100 bytes) or is that something I need to build myself?
by rwel59
Mon Dec 04, 2017 11:41 pm
Forum: General Discussion
Topic: Limit precision of double in json object or array
Replies: 6
Views: 7768

Limit precision of double in json object or array

When I add a double to json array or object, I get 6 decimal places - right side is loaded with zeros: 1.100000.

Tried using CJSON_CreateNumber and CJSON_CreateDouble but can't figure out a way to set precision. Is there a method available?
by rwel59
Mon Nov 20, 2017 3:44 pm
Forum: General Discussion
Topic: What files are required for flashin
Replies: 4
Views: 5295

Re: What files are required for flashin

hadn't touched makefile after creating. followed your instructions and got everything I needed including updated bin file names.

thanks for the help
by rwel59
Mon Nov 20, 2017 1:33 pm
Forum: General Discussion
Topic: What files are required for flashin
Replies: 4
Views: 5295

Re: What files are required for flashin

I am using Eclipse with ESPIDF (and linux which is new for me also). I do not have any previous experience with Eclipse so a bit lost here. The only place I can find bin files is the \build root directory. The only files here are app-template.bin, app-template.map, app-template.elf and partitions_si...