bluerhinos / phpMQTT

a simple php class to connect/publish/subscribe to a MQTT broker
Other
765 stars 461 forks source link

more then one answer #141

Open bforpc opened 1 year ago

bforpc commented 1 year ago

Hi,

if I use this

echo $mqtt->subscribeAndWaitForMessage('temperatures/#', 0);

then I get only one value. But this topic sends 15 temperature values. Is there an option to receice all this values and then exit?

Bfo