Skip to content
Snippets Groups Projects
Commit 036fb515 authored by Marin Karamihalev's avatar Marin Karamihalev
Browse files

minor changes testing usp-ctfw double connection bug

parent ee8dceab
Branches
Tags
No related merge requests found
Pipeline #52085 failed
......@@ -33,13 +33,14 @@ class AsyncClient {
host = "localhost",
port = 9001,
user = "admin",
password = "admin"
password = "admin",
clientId = "proto::interop-usp-controller"
) {
this.client = new Paho.Client(
host,
port,
"/mqtt",
"proto::interop-usp-controller"
clientId
);
const opts = {
userName: user,
......
......@@ -21,7 +21,8 @@ const connectClient = async (
(options as HostConnectionOptions).host,
(options as HostConnectionOptions).port,
options.username,
options.password
options.password,
options.fromId || "proto::interop-usp-controller"
);
const loadProtobuf = async (): Promise<Proto> => {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment