#define SER_PORT "/dev/ttyUSB1"
#include <stdio.h>
#include <list>
#include <algorithm>
void gatewaySubtypeExample()
{
uint16_t recv;
{
printf("Failed to open USB300\n");
return ;
}
printf("EnOcean-Link Gateway\n");
while (1)
{
{
}
{
}
{
}
{
printf(
"Device %08X Learned-In EEP: %02X-%02X-%02X\n", gateway.
device->
ID, profile->
rorg, profile->
func, profile->
type );
{
}
}
{
printf(
"Device %08X\n", gateway.
device->
ID);
float f;
uint8_t c;
std::list <CHANNEL_TYPE> typeList;
{
if (typeList.end() != std::find(typeList.begin(), typeList.end(), profile->
GetChannel(i)->
type))
continue;
std::vector< eoEEPChannelInfo * > subTypes;
for (std::vector< eoEEPChannelInfo * >::iterator it=subTypes.begin();it<subTypes.end();it++)
{
}
}
}
}
}