glrs / mqtt-for-waspmote-3g-module Goto Github PK
View Code? Open in Web Editor NEWAn MQTT library for Waspmote's 3G Module
License: GNU General Public License v2.0
An MQTT library for Waspmote's 3G Module
License: GNU General Public License v2.0
I am trying to execute LED_ON-OFF_Example.pde
but I get an "Broker Fault Response":
�J#
> USB port started.
> Opening 3G module... Done.
> Connect 3G module to network... Done.
> Setting connection... Done.
> Opening TCP socket... Done.
> Data type other than IP data. Ignored.
Broker Fault Response:
Message Length: 0
packetBuffer[0]: 0
packetBuffer[1]: 0
packetBuffer[2]: 0
packetBuffer[3]: 10
Unable to connect to network.
I tested that the connect-packet is reaching the server and the server respondes with a prober connack-packet which looks like this:
[32,2,0,0]
in dec or
0x20 0x2 0x0 0x0
in hex.
From the error message I guess the waspmote doesn't get this package.
/opt/waspmote-pro-ide-v06.11/libraries/WaspMQTT/WaspMQTTClient.cpp: In function 'int parse(const char*)':
/opt/waspmote-pro-ide-v06.11/libraries/WaspMQTT/WaspMQTTClient.cpp:688:18: error: 'BUFFER_SIZE' was not declared in this scope
while(count1 < BUFFER_SIZE){
^
exit status 1
Error compiling for board Waspmote API v037
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.