Search found 20 matches

by frostyowned
Thu Aug 03, 2017 9:18 pm
Forum: ESP-IDF
Topic: NVS Storage not retrieving strings, but ints work fine
Replies: 2
Views: 6716

Re: NVS Storage not retrieving strings, but ints work fine

Oh wow, that's silly of me. Thank you!
by frostyowned
Thu Aug 03, 2017 6:49 pm
Forum: ESP-IDF
Topic: NVS Storage not retrieving strings, but ints work fine
Replies: 2
Views: 6716

NVS Storage not retrieving strings, but ints work fine

So I have code that saves json text so the esp32 can store collected data. The problem is that although I can save it properly ( the print reads the exact string it should ) it can not load it, and gives me a blank space Here is the saving code: printf("wOS: Saving collected data into NVS...\n"); co...
by frostyowned
Mon Jul 24, 2017 2:14 pm
Forum: ESP-IDF
Topic: Changing Supervision timeout on BLE
Replies: 6
Views: 12501

Re: Changing Supervision timeout on BLE

hi frostyowned, you may try with the latest IDF. There was a bug that slave can't update conn param. @Lucas.Hutchinson update conn param should be a function available both for master and slave. I tried to update to latest IDF but am now seeing this error when I try to compile C:\msys32\opt\xtensa-...
by frostyowned
Thu Jul 20, 2017 2:46 pm
Forum: ESP-IDF
Topic: Changing Supervision timeout on BLE
Replies: 6
Views: 12501

Re: Changing Supervision timeout on BLE

Thank you for that! I have tried putting it in my code and have gotten an error ( second line ). The first line is to show the mac address was successfully obtained using the parameters from the connection I (63594) wOS: SERVICE_START_EVT, conn_id 0, remote e4:12:1d:a3:f2:2f:, is_conn 1 E (63594) BT...
by frostyowned
Wed Jul 19, 2017 6:35 pm
Forum: ESP-IDF
Topic: Changing Supervision timeout on BLE
Replies: 6
Views: 12501

Changing Supervision timeout on BLE

I am trying to change the timeout for the esp32 to drop the connection to the device, but I'm unsure how to do that. I have seen a timeout entry in one of the structs ( esp_ble_conn_update_params_t ) but I'm unsure where I would apply it in the initialization. To be clear, I think the android device...
by frostyowned
Mon Jul 17, 2017 2:52 pm
Forum: ESP-IDF
Topic: [Video]: Bluetooth BLE and C++ classes
Replies: 63
Views: 91162

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

-snip-
by frostyowned
Fri Jul 14, 2017 2:06 pm
Forum: ESP-IDF
Topic: [Video]: Bluetooth BLE and C++ classes
Replies: 63
Views: 91162

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

How this process goes is the ESP32 turns on and I go to nRF Connect to see if I can get the services from it. I press connect on the device, it takes me to the MYDEVICE tab, wait a few seconds, and it will automatically disconnect. Pressing connect then disconnects me almost instantly. After a lot o...
by frostyowned
Fri Jul 14, 2017 2:02 pm
Forum: ESP-IDF
Topic: [Video]: Bluetooth BLE and C++ classes
Replies: 63
Views: 91162

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

I have edited the post with the nRF Logger and the code I used. I will read those resources and try to get a better grasp
by frostyowned
Fri Jul 14, 2017 1:01 pm
Forum: ESP-IDF
Topic: [Video]: Bluetooth BLE and C++ classes
Replies: 63
Views: 91162

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

I have learned a lot from that guide! I have a couple of more questions if you don't mind. 1) How do I decide what ServiceUUID to use? 2) Is there a list of services somewhere I can look at? 3) What are the different events that may be triggered in BLE? I can use onRead and onWrite but do I have to ...
by frostyowned
Thu Jul 13, 2017 9:51 pm
Forum: ESP-IDF
Topic: [Video]: Bluetooth BLE and C++ classes
Replies: 63
Views: 91162

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

Will do! Do you recommend any particular code to test out nRF Connect to make sure my phone is okay with the BLE? The samples I have been testing give me the following error: E (730) BT: config_parse returned with err code: 2 E (780) BLEService: Handle is already set 28 and I can't connect to it usi...