hi shramik !!
i have copy and paste the code in the link that you send me ( https://community.mydevices.com/t/sending-mqtt-messages-within-notification-limit/11569
) and when i complie the code i have this error
crossedThreshold was not declare in this scope…
i never used ( bool ) in my code before …
is this the way to solve it ???
bool crossedThreshold;
or
bool crossedThreshold=false;
or
bool crossedThreshold = crossedThreshold;
???/
thank you for your help !!!