ty4tw / asyncmqtt-sn Goto Github PK
View Code? Open in Web Editor NEWMQTT-SN Async Client and Gateway for Arduino and linux.
MQTT-SN Async Client and Gateway for Arduino and linux.
Hi Tomy,
What is the proper way to shut down TomyGateway? CTL-C doesn't work, I usually kill it in a separate terminal.
While trying to use this library on an Arduino UNO with Arduino 1.8.3 IDE.
Took a while to find out this missing dependency had a link in the MqttsnClient.cpp file on line #223 //https://github.com/LowPowerLab/LowPower.
Might consider adding the dependency to the instructions :)
Also, it seems there's a reference to 'using namespace std' - of which I'm thinking requires another outside library.
I ended up with compile error ->
C:\Users\<username>\AppData\Local\Temp\ccU2dsiN.ltrans2.ltrans.o: In function `Print::print(__FlashStringHelper const*) [clone .constprop.26]':
C:\Users\<username>\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.20\cores\arduino/Print.cpp:51: undefined reference to `debug'
Before, I gave up and decided to go back to the Synchronous MQTT-SN code which compiled without errors.
In TaskManager.cpp, this line is causing trouble with g++ (GCC) 13.1.1 20230429:
src/lib/TaskManager.cpp: In member function ‘void tomyAsyncClient::TaskManager::run()’:
src/lib/TaskManager.cpp:74:57: error: ordered comparison of pointer with integer zero (‘void (*)()’ and ‘int’)
74 | for (_index = 0; _task[_index].callback > 0; _index++){
| ~~~~~~~~~~~~~~~~~~~~~~~^~~
Changing in with this syntax clears the problem, but I'm not sure if this is the correct way to go with pointers:
for (_index = 0; _task[_index].callback != NULL; _index++){
Hi,
Sorry if this is not the best place to ask this, but I didn't find any other. I saw that you have merged your work with the Paho embedded C/C++ Gateway, but they don't have a client yet. I would like to know if this client (for Arduino and XBee) is appropriate to connect to that Gateway. I don't find this information anywhere. Best regards,
André
When start AsyncMQTT-SN Gateway, the CPU load was too high ( ~ 100%).
Anyone has faced this issue?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.