Giter Club home page Giter Club logo

contiki-mqtt's People

Contributors

esar avatar jensh avatar rafaeldelucena avatar tuanpmt avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

contiki-mqtt's Issues

Mqttclient not connecting to broker

Broker/Border router is working. I can ping it. I use tunslip6 and connection is established. But, my clients never connect to router. Any help?

How

Hi

I am trying to test MQTT in contiki using a msp430 mote.
To do that, I use the standard MQTT broker called "Mosquitto" in a computer. And I use the uip6-bridge of Contiki to communicate the 6lowpan sensor network with PC computer.

However, if check the mote sends the first message to establish the TCP connection towards the IPv6 of PC where Mosquitto-broker is running in port 1883. The message is shown by wireshark in the PC.
But there is not any response from Mosquitto-broker.

Please, could you say the broker compatible with the implementation of MQTT in contiki??
How do you test the MQTT client of contiki??

Best regards,
Rafa

License missing

What is the license of this project? I do not see this explained anywhere. Can you add one, for instance MIT?

Cooja

I compiled example.c on my motes and set border router. When i start simulation and
"mosquitto_sub -t '#' -v"
motes send subscribe just once?
i am not sure what to do. Any help?

Discussing a Pull-Request from my fork

Hello Esar!

I have made considerable changes on a fork of your code in https://github.com/felipe-lavratti/contiki-mqtt, so now, I come back to discuss what should be merged into your project.

We must not considerer changes made in example.c and README. It is true that it would be of good help if I did some refactoring.

The most important change is the last BUG listed below:

Features added:

  • Added support for QOS1 and QOS2 messaging (as long broker is configured with max_inflight_messages = 1)
  • Created "mode2" publish interace, used to fill the transmission buffer with a callback.

BUG Fixes

  • Fixed a connect case where auto reconnect would stop retrying.
  • Fixed TCP data handling methodology: Now received buffer is considered byte-by-byte instead of expecting that a full and single mqtt packet will be received by each read call. In TCP packets, MQTT messages might get joined together by the sender, so payloads must be handled byte-by-byte.

Tell me how do you recommend me to filter code out in order to make a pull request.

Unknown type name 'process_event_t'

Hello,
I am trying to compile the example.c for a Zolertia Z1 mote on the Cooja simulator (Contiki 3.0) but I get the following two errors:

In file included from example.c:1:0:
mqtt-service.h:60:1: error: unknown type name ‘process_event_t’
mqtt-service.h:84:18: error: unknown type name ‘uip_ip6addr_t’

What am I doing wrong?

Also my makefile is the following:

ifndef TARGET
TARGET=z1
endif

all: $(CONTIKI_PROJECT)
APPS= mqtt-service
CONTIKI = ../..
CONTIKI_WITH_RIME = 1
include $(CONTIKI)/Makefile.include

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.