From 919aaad6fc87b6729e0f2857618049930032cd44 Mon Sep 17 00:00:00 2001 From: emanuel Date: Fri, 23 Apr 2021 15:58:48 +0100 Subject: [PATCH] Compatibility with updated it2s-asn --- src/config.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/config.c b/src/config.c index c761f8c..9e4e3ab 100644 --- a/src/config.c +++ b/src/config.c @@ -259,11 +259,11 @@ int facilities_config(void* facilities_s) { pthread_mutex_init(&facilities->epv.lock, NULL); ManagementRequest_t* mreq = calloc(1, sizeof(ManagementRequest_t)); - mreq->present = ManagementRequest_PR_attributes; - mreq->choice.attributes.coordinates = 1; - mreq->choice.attributes.altitude = 1; - mreq->choice.attributes.heading = 1; - mreq->choice.attributes.speed = 1; + mreq->present = ManagementRequest_PR_get; + mreq->choice.get.coordinates = 1; + mreq->choice.get.altitude = 1; + mreq->choice.get.heading = 1; + mreq->choice.get.speed = 1; void* management_socket = zmq_socket(facilities->zmq.ctx, ZMQ_REQ); zmq_connect(management_socket, facilities->zmq.management_address); uint8_t buffer[256];