MIT License

项目介绍

stefandreyer/CODESYS-MQTT 是一个托管在 GitHub 上的开源项目,采用 MIT License 许可证,目前获得 142 个 Star、26 次 Fork。

仓库全名
stefandreyer/CODESYS-MQTT
开源许可证
MIT License
Star 数
142
Fork 数
26
未关闭 Issue
4

README 摘要

CODESYS-MQTT MQTT client library for CODESYS integration guide look here https://github.com/stefandreyer/CODESYS-MQTT/blob/master/doc/integration.md JSON new library for easy use with JSON/zigbee2mqtt: https://github.com/stefandreyer/CODESYS-zigbee2mqtt BENEFITS very fast, every received paket is deivierd to application in the cycle it was received in out of the box configuration, 50 pakets can be transmittet in on…

完整内容见 GitHub 原始 README 或本页 。

常见问题

CODESYS-MQTT 可以免费商用吗?

仓库采用 MIT License 许可证,可免费使用与修改,商业使用请遵守许可证条款(例如保留版权声明与许可声明)。

如何获取 CODESYS-MQTT 的源码?

可以直接克隆仓库:git clone https://github.com/stefandreyer/CODESYS-MQTT.git,默认分支为 master;安装与运行步骤见仓库 README。

CODESYS-MQTT 最近还在维护吗?

仓库最近一次更新为 2023年11月29日,当前有 4 个未关闭 Issue;Star 数为 142,可作为社区活跃度的参考。

关于

GitHub 原始描述(英文)

MQTT client library for CODESYS, supporting all QoS

描述取自 GitHub 官方 API,保持仓库作者书写的原文。

简要分析

热度分
224
价值分
95
活跃状态
活跃

Release

README

CODESYS-MQTT

MQTT client library for CODESYS

integration guide

  • look here

https://github.com/stefandreyer/CODESYS-MQTT/blob/master/doc/integration.md

JSON

  • new library for easy use with JSON/zigbee2mqtt:

https://github.com/stefandreyer/CODESYS-zigbee2mqtt

BENEFITS

  • very fast, every received paket is deivierd to application in the cycle it was received
  • in out of the box configuration, 50 pakets can be transmittet in on cycle in QoS 0
  • very powerfull integration due calllbacks
  • multibroker support

New Version 1.2.0.1

  • solved some reliable issues
  • added supervison FB, monitor your MQTT client with MQTT
  • changed namespace
  • addad any support for publish
  • solved wrong payload delivery to application with big pakets
  • changed name of HANDLE_MQTT to MQTTClient
  • changed call of MQTTClient, do only call nested in MQTT_IN_OUT instance
  • added suport of nested subscriber, client can return reference to a dynamic created subscriber instance
  • changed type types to Base Interfaces TypeClass for any support
  • replaced some librarys with placeholders for better intigration support
  • QoS channel size and History size can now be configurated
  • changed many pointers to references
  • done some conventional naming stuff

NEW Example!

  • please have a look in the GreatExampleOfAdvantages!
  • it runs out of the box with test.mosquitto.org
  • there look into MyProperty programm
  • it shows you how to never ever again tipp any topic in you program!
  • have fun!!!

NEWS

  • 64bit support, but you need to enable dynamic memory allocation
  • much faster testHighReciveSplitPayload() works with nearly 600 sends, recives per second!

subscription now works with new approach

  • now is done with callbacks
  • see the TestMQTTGithubInterfaceExampleTopicAndPayload examples, there you can see the benefits. You can publish direkt to the instance and variable name, and the lib is doing the rest have fun!

Dependencies

all needed Libraries can be found at

https://github.com/stefandreyer

Features

  • all QoS Levels for publish and subscribe
  • will topic
  • retain option for publish and will topic
  • unlimited publish FBs(by library)
  • unlimited subscribe FBs(by library)
  • TLS support(without certificates)
  • FBs for easy transmit of values and states
  • nice collection FB for collecting subscription FBs
  • usefull FBs for callbacks, for list use too
  • client is not thread safe!

New value FB

created an new FB for easy publishing Values to broker

New Stats FB

created new FB for easy publishing stats(on/off, true/false) to broker

Will topic

will topic is now build with client id

Examples

nice example projets for Windows and RaspberryPi with and without TLS using test.mosquitto.org, so no own broker needed

评论

暂无评论