Skip to content

Commit

Permalink
added reconnect wrapper
Browse files Browse the repository at this point in the history
  • Loading branch information
olsky authored Jun 22, 2016
1 parent db890bb commit a9211e6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions prolog/mqtt.pl
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
mqtt_connect/3,
mqtt_connect/4,
mqtt_disconnect/1,
mqtt_reconnect/1,
mqtt_loop/1,
mqtt_pub/4,
mqtt_pub/3,
Expand Down Expand Up @@ -39,6 +40,9 @@
mqtt_loop(C) :-
c_mqtt_loop(C).

mqtt_reconnect(C) :-
c_mqtt_reconnect(C).

mqtt_version(Ma, Mi, Re) :-
c_mqtt_version(Ma, Mi, Re).
pack_version(Ma, Mi, Re) :-
Expand Down

0 comments on commit a9211e6

Please sign in to comment.