#define SER_PORT "/dev/ttyUSB0"
#include "./eoLink.h"
#include <stdio.h>
int vld_example() {
{
printf("Failed to open USB300\n");
return -1;
}
uint16_t recv;
while(1)
{
{
{
printf(
"Device %08X Learned-In EEP: %02X-%02X-%02X\n", gateway.
device->
ID, profile->
rorg, profile->
func, profile->
type );
{
}
}
{
}
}
}
return 0;
}
int vld_sendExample()
{
{
printf("Failed to open USB300\n");
return -1;
}
printf("EnOcean-Link Gateway VLD send example\n");
return -1;
printf("Set output\n");
printf("Sent query\n");
while(1)
{
{
break;
}
}
uint8_t val;
{
printf("Hardware error!\n");
return -1;
}
printf("Hardware is fine\n");
return 0;
}