What is the optimal "timeout" value for the readSubscription function?
Code: Select all
while ((subscription = mqtt.readSubscription(2000)))
John
Moderators: adafruit_support_bill, adafruit
Code: Select all
while ((subscription = mqtt.readSubscription(2000)))
if it's an Adafruit IO API then I believe your question does belong here. I only stated I didn't see it in my Python code because I'm only using the Python API but the same rules apply to seeking the answer yourself. Ie look at the code since it's all posted on git and public.jecottrell wrote:I'm sorry, I missed the important info that this code is on an ESP8266.
I guess the better forum is the Other Supported products. I'll post there, thanks!