Compatibility with updated it2s-asn
This commit is contained in:
parent
88015dc131
commit
919aaad6fc
10
src/config.c
10
src/config.c
|
|
@ -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];
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue