RSMB and Python MQTT-SN Client Demo

Поделиться
HTML-код
  • Опубликовано: 11 окт 2024
  • In this video we will use the Really small message broker(RSMB) both as a broker and as an MQTT-SN to MQTT gateway. I will take you briefy through important parts of the client scripts so that you can try them yourself and modify them to suit your needs.
    We look at gateway advertising packets and how to use them to configure a client so that you don't need to hard code this into the client.
    The Python client is a modifeied version of the client that comes with the RSMB broker package and written by Ian Craggs of IBM.
    I have modified it to work on Python3 and to look similar to the Paho MQTT client that you are probably more familiar with.
    Relelated video
    MQTT-SN Overview For Beginners
    • MQTT-SN Overview For B...
    Tutorial on site with client and demo scripts to download
    www.steves-inte...
    Have a question Use the comments or if you want help then use
    www.steves-inte...
    If you find these videos useful then you might want to consider buying me a coffee
    www.paypal.me/...

Комментарии • 9

  • @msmadaram
    @msmadaram 5 лет назад +1

    ای جااااااانم
    ای دمت گرم ... سلام تیمسار علیرضا رمضانی به تو مرد زندگی
    I love you man ... you are a good mentur

  • @yacoubhanna7792
    @yacoubhanna7792 3 года назад

    Hello Steve, thanks for the explanation and the video. I just have one problem in which when I start the broker and start advertising. I run the multi-scan script and I’m not getting anything. I did follow your video and I realized that in the config file for the RSMB broker you have the listener on 1885 and advertising the gateway using 225.0.18.83:1884 30 33 in the video. but in the provided config it is port 1885. I tried both and still not working.

    • @stevecope
      @stevecope  3 года назад

      Sorry for late reply I have only just seen it. The port 1885 or 1884 is the udp port the client sends to it makes no differnence which one as long as you use the same. The broker will have a port for udp (mqtt-sn),tcp (mqtt) and muticast.
      If you still have probems use the ask steve page on the site and contact me.
      www.steves-internet-guide.com/ask-steve/

  • @msmadaram
    @msmadaram 5 лет назад +1

    hi steve
    have you ever work on any android broker such as moquette or something like that?
    #MQTT_broker_on_android

  • @mitkosokolov9382
    @mitkosokolov9382 3 года назад

    Hi, can we use this protocol in NR?

    • @stevecope
      @stevecope  3 года назад +1

      There isn't a node for mqtt-sn but I have seen a flow that will let you send simple messages but doesn't implement the entire protocol.
      I will find it and let you know if you are interested.
      I am working on a node module but that is not getting much attention at the moment.
      Rgds
      Steve

    • @mitkosokolov9382
      @mitkosokolov9382 3 года назад

      @@stevecope Yes, i'm interested, thank you!

    • @stevecope
      @stevecope  3 года назад +1

      @@mitkosokolov9382 I can't find the site were I got the flow from but I do have the flow if you contact me on the ask steve page I will send it to you.
      stevesnoderedguide.com/ask-steve

    • @mitkosokolov9382
      @mitkosokolov9382 3 года назад

      @@stevecope I wrote to you