Is it possible for the MQTT library, not to block the main thread (ex: GPIO State changes).
I do connect to a broker, in case the broker looses connectivty, then B4R resets with:
Guru Meditation Error: Core 0 panic'ed (LoadProhibited). Exception was unhandled.
It tries to recconect, but until there is no succesful connection tothe broker, none of the INPUT gpio can detect a change state.
I know ESP is single thread, but is there anyway we can still receive the gpio state changes, while the MQTT client is trying to reconnect?
Board is an ESP WROMM 32
Thanks
FBP
I do connect to a broker, in case the broker looses connectivty, then B4R resets with:
Guru Meditation Error: Core 0 panic'ed (LoadProhibited). Exception was unhandled.
It tries to recconect, but until there is no succesful connection tothe broker, none of the INPUT gpio can detect a change state.
I know ESP is single thread, but is there anyway we can still receive the gpio state changes, while the MQTT client is trying to reconnect?
Board is an ESP WROMM 32
Thanks
FBP