Skip to content

Lightweight library that implements the MQTT protocol to publish/subscribe messaging, includes Qubitro IoT platform specific features.

License

Notifications You must be signed in to change notification settings

Mertcanboyar/mqtt-client-ruby

 
 

Repository files navigation

Qubitro Ruby MQTT Client Library

Ruby client library that implements the MQTT protocol, a lightweight protocol for publish/subscribe messaging.

Actions Status Gem Version

Example

require 'qubitro-mqtt'

MQTT::Client.connect(
  :host => host,
  :port => 1883,
  :client_id => deviceID,
  :device_id => deviceID,
  :device_token => device_token,
  :ack_timeout => 15,
  :will_topic => deviceID,
  :will_payload => payload,
) do |client|
  puts 'connected'
end 

Visit Qubitro documentation

About

Lightweight library that implements the MQTT protocol to publish/subscribe messaging, includes Qubitro IoT platform specific features.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Ruby 100.0%