32 lines
611 B
C++
32 lines
611 B
C++
#include "app.h"
|
|
|
|
App::App() {
|
|
st.connectRequest("sdi.hevs.ch", 61614, "/", "sdi10", "809c02f36becb0868da98761fe3209f6");
|
|
st.sendRequest("/topic/sdi10.gem.command", "right");
|
|
st.subscribeRequest("/topic/sdi10.gem.field", 1);
|
|
}
|
|
|
|
void App::connectConfirmation(bool success, int version) {
|
|
|
|
}
|
|
|
|
void App::sendConfirmation(bool success) {
|
|
|
|
}
|
|
|
|
void App::subscribeConfirmation(bool success) {
|
|
st.sendRequest("/topic/sdi10.gem.command", "up");
|
|
}
|
|
|
|
void App::receiveIndication(int id, QString destination, QString body) {
|
|
|
|
}
|
|
|
|
void App::disconnectConfirmation() {
|
|
|
|
}
|
|
|
|
void App::disconnectIndication() {
|
|
|
|
}
|