libeismultiplexer is a shared library that allows you to control EISmultiplexer devices. For build instructions please see the Readme.
An API reference can be found here: User API
Example usage:
#include <stdio.h>
#include "eismultiplexer.h"
int main(int argc, char* argv[])
{
if(ret != 0)
{
printf("Can not connect to EISmultiplexer device\n");
return 1;
}
if(ret != 0)
{
printf("Failure to communicate with the device\n");
return 1;
}
return 0;
}
int eismultiplexer_connect_channel(struct eismultiplexer *muliplexer, channel_t channel)
Connects the given channel(s) to the common inputs.
void eismultiplexer_disconnect(struct eismultiplexer *muliplexer)
Disconnects from the eismultiplexer.
int eismultiplexer_connect(struct eismultiplexer *muliplexer, uint16_t serial)
Attempts to connect to a EISmultiplexer device and initializes a eismultiplexer struct.
Definition eismultiplexer.h:56
libeismultiplexer is licensed to you under the BSD-3-CLAUSE license