README.md in qubitro-mqtt-0.0.7 vs README.md in qubitro-mqtt-0.0.8
- old
+ new
@@ -13,11 +13,11 @@
MQTT::Client.connect(
:host => host,
:port => 1883,
:client_id => deviceID,
- :username => deviceID,
- :password => deviceToken,
+ :device_id => deviceID,
+ :device_token => device_token,
:ack_timeout => 15,
:will_topic => deviceID,
:will_payload => payload,
) do |client|
puts 'connected'