Search found 30 matches

by bonadio
Fri Sep 20, 2019 10:33 pm
Forum: General Discussion
Topic: Multiple Client data handling with ESP32 BLE server
Replies: 9
Views: 19065

Re: Multiple Client data handling with ESP32 BLE server

Yes there is a limit of 20 characteres for notify()

I think you should not call notify() from within the write callback, not sure about that but I would write to a global var and notify from that var

Good luck
[]s
by bonadio
Fri Sep 20, 2019 7:39 pm
Forum: General Discussion
Topic: ADC difference from Dev board to Esp32-Wrom-32 bare module
Replies: 2
Views: 3509

Re: ADC difference from Dev board to Esp32-Wrom-32 bare module

Removing the 3.3 regulator and providing 3.3V directly seems to solve the reading

Still investigating

[]s
by bonadio
Fri Sep 20, 2019 3:32 pm
Forum: General Discussion
Topic: Multiple Client data handling with ESP32 BLE server
Replies: 9
Views: 19065

Re: Multiple Client data handling with ESP32 BLE server

Ok, now I understand what you want Looking at your server code you dont have a callback to receive the Characteristcs Write, so you wont be able to write to your server I included in your code the callback so with that you will be able to receive the value of the characteristic, once received on the...
by bonadio
Thu Sep 19, 2019 1:50 pm
Forum: General Discussion
Topic: Multiple Client data handling with ESP32 BLE server
Replies: 9
Views: 19065

Re: Multiple Client data handling with ESP32 BLE server

Hi MCUism

Ok, so what exactly is not working?
Can you successfully connect from the nRF app to your server and read the data?
Can you do it from esp client too?

[]s
by bonadio
Wed Sep 18, 2019 11:53 pm
Forum: General Discussion
Topic: Multiple Client data handling with ESP32 BLE server
Replies: 9
Views: 19065

Re: Multiple Client data handling with ESP32 BLE server

Try to solve one problem at time, make your server code and use an app "BLE Scanner" on your smartphone to make sure you can connect and see the data you are trying to send, after your server code is working with the BLE Scanner app you can try your client code. Trying to solve both sides at same ti...
by bonadio
Wed Sep 18, 2019 11:34 pm
Forum: General Discussion
Topic: Communication between ESP32 on different subnets
Replies: 1
Views: 2927

Re: Communication between ESP32 on different subnets

Sure, they should communicate without any problem, just make sure there is no firewall/nat or anything else blocking/hiding ip or port

[]s
by bonadio
Wed Sep 18, 2019 8:36 pm
Forum: General Discussion
Topic: ADC difference from Dev board to Esp32-Wrom-32 bare module
Replies: 2
Views: 3509

ADC difference from Dev board to Esp32-Wrom-32 bare module

Hello I need to monitor a 12V battery, but when I moved from the dev board to the single module the readings got way off. Below the results and the code used To simulate the battery I am using a 12V dc power supply I started developing the circuit using a Doit Esp32 Dev board and I was able to get c...
by bonadio
Wed Sep 18, 2019 2:15 pm
Forum: General Discussion
Topic: Deep Sleep ULP wakeup after I_END()
Replies: 4
Views: 6114

Re: Deep Sleep ULP wakeup after I_END()

Hello ESP_igrr

Thanks very much, that really worked.

:D :D
by bonadio
Wed Sep 18, 2019 2:37 am
Forum: General Discussion
Topic: Deep Sleep ULP wakeup after I_END()
Replies: 4
Views: 6114

Re: Deep Sleep ULP wakeup after I_END()

Hello @boarchuz Thanks for the answer, makes sense. I am trying to avoid having the ULP coprocessor running while in active mode. I am trying to minimize power consumption, I already changed to 80Mhz, disabled 1 processor and made some changes to BT, now I am at 35mA current consumption with BT in a...
by bonadio
Mon Sep 16, 2019 8:31 pm
Forum: General Discussion
Topic: Deep Sleep ULP wakeup after I_END()
Replies: 4
Views: 6114

Deep Sleep ULP wakeup after I_END()

Hello I am trying to wakeup from Deep Sleep using ULP after calling I_END, reading the docs in https://docs.espressif.com/projects/esp-idf/en/latest/api-guides/ulp_macros.html I understood that if I call I_END the ULP timer would stop and it would start again the next time I call ulp_run() "ULP prog...