Compatibility with updated it2s-asn

This commit is contained in:
emanuel 2021-04-23 15:58:48 +01:00
parent 88015dc131
commit 919aaad6fc
1 changed files with 5 additions and 5 deletions

View File

@ -259,11 +259,11 @@ int facilities_config(void* facilities_s) {
pthread_mutex_init(&facilities->epv.lock, NULL); pthread_mutex_init(&facilities->epv.lock, NULL);
ManagementRequest_t* mreq = calloc(1, sizeof(ManagementRequest_t)); ManagementRequest_t* mreq = calloc(1, sizeof(ManagementRequest_t));
mreq->present = ManagementRequest_PR_attributes; mreq->present = ManagementRequest_PR_get;
mreq->choice.attributes.coordinates = 1; mreq->choice.get.coordinates = 1;
mreq->choice.attributes.altitude = 1; mreq->choice.get.altitude = 1;
mreq->choice.attributes.heading = 1; mreq->choice.get.heading = 1;
mreq->choice.attributes.speed = 1; mreq->choice.get.speed = 1;
void* management_socket = zmq_socket(facilities->zmq.ctx, ZMQ_REQ); void* management_socket = zmq_socket(facilities->zmq.ctx, ZMQ_REQ);
zmq_connect(management_socket, facilities->zmq.management_address); zmq_connect(management_socket, facilities->zmq.management_address);
uint8_t buffer[256]; uint8_t buffer[256];