File tree 1 file changed +7
-1
lines changed
1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -63,12 +63,18 @@ The picture represent the demo project:
63
63
64
64
``` gdscript
65
65
# Initialize the client
66
- # @param id string to use as the client id.
66
+ # @param id string to use as the client id
67
67
# @param host the broker address
68
68
# @param port the broker port
69
69
# @return the reason code, if something wrong happen. 0 = OK (see https://docs.oasis-open.org/mqtt/mqtt/v5.0/os/mqtt-v5.0-os.html#_Toc3901031)
70
70
initialise(id: String, host: String, port: String) -> int
71
71
72
+ # Set username & password
73
+ # @param p_username username
74
+ # @param p_pasword password
75
+ # @return the reason code, if something wrong happen. 0 = OK (see https://docs.oasis-open.org/mqtt/mqtt/v5.0/os/mqtt-v5.0-os.html#_Toc3901031)
76
+ username_pw_set(username: String, password: String) -> int
77
+
72
78
# Return true if connected
73
79
# @return true if connected
74
80
is_connected_to_broker() -> bool
You can’t perform that action at this time.
0 commit comments