Git Product home page Git Product logo

mqtt-sn-contiki_example's People

Contributors

aignacio avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

mqtt-sn-contiki_example's Issues

Error while running MQTT-SN in Contiki

Hi @aignacio

I have tried to run the MQTT-sn in Contiki. Everything works fine for me except rsmb broker.

following is the command and error that prompt.

user@instant-contiki:~/contiki/mqtt-sn-contiki/tools/mosquitto.rsmb/rsmb/src$ sudo ./broker_mqtts config.mqtt
./broker_mqtts: 1: ./broker_mqtts: Syntax error: "(" unexpected

I have also gone through the broker.c file but there is not initial bracket for that.

Regards,
Vishal

Trouble starting the MQTT-SN broker in the tutorial

I've tried following the tutorial in your blog but I'm facing the following error while starting the MQTT-SN Broker.

user@instant-contiki:~/contiki/examples/mqtt/tools/mosquitto.rsmb/rsmb/src$ sudo ./broker_mqtts config.mqtt ./broker_mqtts: 1: ./broker_mqtts: Syntax error: "(" unexpected

u - VMware Workstation 15 Player (Non-commercial use only) 01-08-2020 17_19_33

I'm unable to resolve the issue. I would appreciate if you could help me resolve it.

Subscriber callback 'Message Received'

How can i show message received by subscriber ?

I have 1 rpl-border-router
and 2 mqtt-publisher-subscriber: main_core.c

When i start simulation i read message received by border router but i want that the subscriber mote show 'Message received..' read from specific topic every clock time.

I found this function: mqtt_sn_recv_parser
But it never called.
So how can i run callback function on subscriber and show message received from other mqtt-mote ?

Thanks

Trouble with Mosquitto Client software

I followed your tutorial but when I try run rsmb I get,

sudo ./broker_mqtts config.mqtt
[sudo] password for anshul:
20200823 221438.050 CWNAN9999I Really Small Message Broker
20200823 221438.050 CWNAN9998I Part of Project Mosquitto in Eclipse
(http://projects.eclipse.org/projects/technology.mosquitto)
20200823 221438.050 CWNAN0049I Configuration file name is config.mqtt
20200823 221438.050 CWNAN0053I Version 1.3.0.2, Aug 26 2016 01:39:45
20200823 221438.050 CWNAN0054I Features included: bridge MQTTS
20200823 221438.050 CWNAN9993I Authors: Ian Craggs ([email protected]), Nicholas O'Leary
20200823 221438.050 CWNAN0075W Socket error 98 (Address already in use) in bind for socket 3
20200823 221438.050 CWNAN0078W Cannot bind port 1883
20200823 221438.050 CWNAN0015W Cannot start listener on port 1883
20200823 221438.050 CWNAN0016I MQTT protocol stopping
20200823 221438.050 CWNAN0301I MQTT-S protocol stopping
20200823 221438.050 CWNAN0075W Socket error 88 (Socket operation on non-socket) in shutdown for socket 0
20200823 221438.050 CWNAN0044I Messages sent: 0
20200823 221438.050 CWNAN0043I Messages received: 0
20200823 221438.051 CWNAN0042I Uptime: 0 seconds
20200823 221438.051 CWNAN0055I Maximum heap use: 132720 bytes
20200823 221438.051 CWNAN0047I Broker stopped

I tried
kill -9 1883
but it says that operation is not permitted.

How should I proceed further?

Problem during make (early stage)

I already cloned the the package mqtt-sn-contiki_example into my contiki directory but got this error when i want to run command make all :

main_core.c:32:24: fatal error: net/ip/uip.h: No such file or directory
compilation terminated.
make: *** [main_core.co] Error 1

can you help t figure out what is missing?

Thank you

MQTT_SN metrics not appear in Collect view

Hello ,
Actually it's my first time to use mqtt_sn_contiki example , although it works fine , but when i tried to handle collect view for motes nothing appear , i tried to add collect view but issues appear in make files , how could i display performance metrics via collect view for mqtt_sn ? any help could be useful

Many Thanks

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.