Search found 214 matches
- Wed Mar 08, 2017 1:41 pm
- Forum: ESP-IDF
- Topic: Bluetooth initialization fails
- Replies: 6
- Views: 10271
Bluetooth initialization fails
Hi, I'm having a problem with my Bluetooth initialization when I'm combining all the functionality I need. My program needs three things: Bluetooth, MQTT client over tls, HTTPS client. When I build my program, any combination with two out of three work. Building with all three components causes the ...
- Thu Feb 02, 2017 9:19 am
- Forum: ESP-IDF
- Topic: reconnecting a lwip socket / SSL handshake problem
- Replies: 5
- Views: 9043
Re: reconnecting a lwip socket / SSL handshake problem
I think this problem was caused by my bluetooth task. When I delay my bt scan to when my connection has been established the connection succeeds and the esp32 starts scanning. I'm guessing the bt task interrupts the ssl connection when it is doing it's handhake and results in a failure. thanks for t...
- Wed Feb 01, 2017 10:09 am
- Forum: ESP-IDF
- Topic: Debugging with OpenOCD and GDB
- Replies: 6
- Views: 13173
Re: Debugging with OpenOCD and GDB
I don't think the LoPy has any circuit that would interfere. There is a sx1272 radio module on it but that is hooked up to other pins. There is a led and a button on the same pins as jtag but I'm not using those. No idea whats beneath the cover. I built the program with "-Wl,--undefined=uxTopUsedPri...
- Tue Jan 31, 2017 11:24 am
- Forum: ESP-IDF
- Topic: Debugging with OpenOCD and GDB
- Replies: 6
- Views: 13173
Re: Debugging with OpenOCD and GDB
Ooh cool didn't know you could search like that in github.
I built from https://github.com/espressif/openocd-esp32
Weird, I guess ill check if I updated the repo.
But still the debug controller resetting
I built from https://github.com/espressif/openocd-esp32
Weird, I guess ill check if I updated the repo.
But still the debug controller resetting
- Mon Jan 30, 2017 9:34 pm
- Forum: ESP-IDF
- Topic: Debugging with OpenOCD and GDB
- Replies: 6
- Views: 13173
Debugging with OpenOCD and GDB
Ever since I started working with the esp32 I haven't been able to debug properly. I'm using a LoPy and a olimex arm-usb-ocd-h. I'm building and debugging with VisualGDB. I already posted about this problem on their forum. https://sysprogs.com/w/forums/topic/esp32-debugger-not-halting/ Alot of naggi...
- Mon Jan 30, 2017 11:34 am
- Forum: ESP-IDF
- Topic: Connection always disconnecting
- Replies: 7
- Views: 20845
Re: Connection always disconnecting
Hi Ritesh,
My issue was caused by not attaching an antenna. The pycom lopy doesn't have an antenna on its pcb I'm guessing.
I was able to connect to the lopy when it was in AP mode.
What board are you using? Are you following an example?
Goodluck.
My issue was caused by not attaching an antenna. The pycom lopy doesn't have an antenna on its pcb I'm guessing.
I was able to connect to the lopy when it was in AP mode.
What board are you using? Are you following an example?
Goodluck.
- Mon Jan 30, 2017 8:25 am
- Forum: ESP-IDF
- Topic: reconnecting a lwip socket / SSL handshake problem
- Replies: 5
- Views: 9043
Re: reconnecting a lwip socket / SSL handshake problem
I just followed the OpenSSL example project. That is how I establish the connection and how I close the connection.
You do make a good point, I'll try to set up a ssl connection on another server, close it off and try again to see what happens.
You do make a good point, I'll try to set up a ssl connection on another server, close it off and try again to see what happens.
- Fri Jan 27, 2017 4:43 pm
- Forum: ESP-IDF
- Topic: reconnecting a lwip socket / SSL handshake problem
- Replies: 5
- Views: 9043
Re: reconnecting a lwip socket / SSL handshake problem
Yeah I did that, it still happens. The bigger problem is the ssl handshake state. It wont properly establish a connection even after it closes and I try again.
- Fri Jan 27, 2017 9:39 am
- Forum: ESP-IDF
- Topic: reconnecting a lwip socket / SSL handshake problem
- Replies: 5
- Views: 9043
reconnecting a lwip socket / SSL handshake problem
Hi all, I'm sending a message over a ssl connection, after completing and closing the connection I am attempting to create another connection and that's where I'm getting a lwip_bind failed: lwip_socket(PF_INET, SOCK_STREAM, 0) = 1 lwip_bind(1, addr=0.0.0.0 port=8883) lwip_bind(1) failed, err=-8 E (...
- Wed Jan 25, 2017 10:35 am
- Forum: Sample Code
- Topic: GATT client sample
- Replies: 4
- Views: 8152
Re: GATT client sample
I used the gatt client example to scan everything in my neighborhood. It works fine. Even resolved the name of my cubot smart watch. I recommend you take out your modifications and try again or just run the clean example once to see if you are receiving advertisements.