Oh wow, thank you so much I totally overlooked that part.
The documentation even says that the transport type is normally set in the URI.
Of course I have to manually set it if I am connecting to my local server ...
Search found 5 matches
- Fri Jan 15, 2021 1:29 pm
- Forum: ESP-IDF
- Topic: Unable to connect to local MQTT broker via websockets example - invalid header=0x48
- Replies: 2
- Views: 200
- Thu Jan 14, 2021 5:01 pm
- Forum: ESP-IDF
- Topic: Unable to connect to local MQTT broker via websockets example - invalid header=0x48
- Replies: 2
- Views: 200
Unable to connect to local MQTT broker via websockets example - invalid header=0x48
Hi all, I just wanted to get started with MQTT for some self made home automation. Therefore I was planning on using MQTT over websockets to connect to a local mosquitto MQTT broker. Until now I was able to connect to my broker via the MQTT TCP example. I was also able to connect to the public mosqu...
- Sun May 31, 2020 9:56 am
- Forum: ESP-IDF
- Topic: ESP IDF get GPIO level at time of interrupt
- Replies: 4
- Views: 1436
Re: ESP IDF get GPIO level at time of interrupt
Well that sounds like a shortcoming. But technically the edge detection inside the CPU stores the values in a register somewhere and compares them to figure out if an edge occured between cycles. But I'd guess that it is impossible to read that register quickly enough to get the value after the ISR ...
- Sun May 31, 2020 9:25 am
- Forum: ESP-IDF
- Topic: ESP IDF get GPIO level at time of interrupt
- Replies: 4
- Views: 1436
Re: ESP IDF get GPIO level at time of interrupt
Okay got it and that would be my goto solution too but nevertheless it has to be possible to determine if a positive or negative edge triggered the interrupt right? I mean when using ANYEDGE. Because it is not possible to attach POSEDGE and NEGEDGE to the same pin. So the workaround would be to phys...
- Sat May 30, 2020 3:32 pm
- Forum: ESP-IDF
- Topic: ESP IDF get GPIO level at time of interrupt
- Replies: 4
- Views: 1436
ESP IDF get GPIO level at time of interrupt
Hello, I just wanted to quickly add a button with some timed debounce logic to my project when I came across a kind of unusal behavior. To debounce my button I wanted an input pin to trigger at every edge and then read the logic level. If the level is HIGH then it must be a LOW-HIGH edge and when th...