Qore jni Module 2.3.1
Loading...
Searching...
No Matches

Qore MqttDataProvider module definition

Introduction to the MqttDataProvider Module

The MqttDataProvider module provides a data provider API for MQTT servers for sending and receiving MQTT messages.

This data provider provides MQTT functionality with the mqtt factory and data provider with the same name, supporting asynchronous MQTT events and messaging (class MqttDataProvider).

MQTT Data Provider Examples

These examples are with qdp, the command-line interface to the Data Provider API.

API Example: Send a Message
qdp 'mqtt{url=ssl://eu1.cloud.thethings.network:8883,username=my-username,password=my-password}' send message 'topic=v3/1st-gdc-app@ttn/devices/bl-001/down/push,payload={downlinks=({f_port=15,frm_payload="AP8ACgo=",priority=NORMAL},)}'
API Example: Listen for Messages
qdp 'mqtt{url=ssl://eu1.cloud.thethings.network:8883,topic=#,username=my-username,password=my-password}' listen

Release Notes

MqttDataProvider v1.0

  • initial release of the module