Skip to content

Commit

Permalink
Added missing qos
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicklas2751 committed Jan 7, 2017
1 parent 09aebd3 commit 58771ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion run.lua
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ end
function startListen()
log('Start listening...')
-- MQTTC:publish(config.topic.inp.path,'Test',config.topic.inp.qos,config.topic.inp.retain)
MQTTC:subscribe(config.topic.switch433mhz.path,function(conn)
MQTTC:subscribe(config.topic.switch433mhz.path,config.topic.switch433mhz.qos,function(conn)
log('Conntected to:'..config.topic.switch433mhz.path)
end)

Expand Down

0 comments on commit 58771ca

Please sign in to comment.