generated from AfonsoCMSousa/CPP-Template
fix: fixed more info in the UI
This commit is contained in:
@@ -20,6 +20,7 @@ int main(int argc, char *argv[]) {
|
|||||||
sock.connect(app.app_server_out_ip, app.app_port_out);
|
sock.connect(app.app_server_out_ip, app.app_port_out);
|
||||||
|
|
||||||
packet = sock.create_packet((uint8_t)app.app_id);
|
packet = sock.create_packet((uint8_t)app.app_id);
|
||||||
|
cout << "Sending packet with tracker ID: " << (int)packet.tracker_id << endl;
|
||||||
sock.set_packet(packet);
|
sock.set_packet(packet);
|
||||||
sock.send();
|
sock.send();
|
||||||
} catch (const runtime_error &e) {
|
} catch (const runtime_error &e) {
|
||||||
|
|||||||
Reference in New Issue
Block a user