-
Notifications
You must be signed in to change notification settings - Fork 236
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to connect to broker when used with Portenta H7 #271
Comments
I ran into this problem when passing a static memory buffer (from SDRAM) to MBED's Thread constructor. When not passing a buffer, the library connects successfully. The issue isn't related to this library. Arduino's WiFiClient, for me, won't connect to anything inside a thread when using a static memory buffer. Edit: I got this to work by passing a pointer to the WiFiClient through the Thread's start function.
|
Update to the above, I believe the underlying issue is that My solution was to call
|
@InconceivableDuck Thanks for the update! However, I'm not sure what we should do about it. We could make a precautionary call to |
@InconceivableDuck thanks for the tip, this solved my problem too!
We switched from MKR 1010 + ETH shield to Portenta H7 Light + ETH shield and we noticed that broker connects at startup, but when taking the cable off and putting it back on, network comes back, but mqttClient does not reconnect. Any suggestion on how to create an issue to get this fixed in MbedClient? I don't really understand the details to explain it.... Thank you! |
I have been using this library with both MKR NB1500 and MKR Zero + Ethernet Shield with a lot of success,
I am attempting to use a Portenta H7, using EthernetClient i can access the network fine(i perform an http get etc) however using this EthernetClient with with the mqttClient it fails to connect to the broker (this same approach works perfectly with MKR boards).
Has anyone successfully used the library along with a Portenta ?
The text was updated successfully, but these errors were encountered: