Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

eegdev-tobiia(5) [debian man page]

EEGDEV-TOBIIA(5)					       EEGDEV library manual						  EEGDEV-TOBIIA(5)

NAME
eegdev-tobiia - eegdev backend for Tobi Interface A DESCRIPTION
The tobiia plugin implements the backend for the eegdev library for reading from a Tobi Interface A device. CONFIGURATION
This plugin supports several options. The default value will be used if none of the configuration files nor the configuration string (see egd_open(3)) specify the option. host Indicates the URI of the server. The format should follow the following (standard) format "server[:port]". The server part can be either an IPv4 address (XX.XX.XX.XX), an IPv6 address or an hostname. If an IPv6 address is used with port number, the address must be enclosed in square brackets (for example "[2001:660:3003:2:a00:20ff:fe18:964c]:38500"). The default value is "localhost". port Indicates the port number to use to connect to the server if the host URI does not specify one. The default value is "38500". FILES
/etc/eegdev/eegdev.conf Shared configuration file. /etc/eegdev/tobiia.conf Configuration file loaded when the tobiia plugin is used. The settings specified here overrides the settings in the shared configura- tion file. SEE ALSO
egd_open(3), eegdev-options(5) EPFL
2012 EEGDEV-TOBIIA(5)

Check Out this Related Man Page

EGD_GET_CAP(3)						       EEGDEV library manual						    EGD_GET_CAP(3)

NAME
egd_get_cap - Query various information about the device capabilities SYNOPSIS
#include <eegdev.h> int egd_get_cap(const struct eegdev* dev, int cap, void* val); DESCRIPTION
egd_get_cap() returns the information about the capability specified by cap of the recording device referenced by dev by the mean of the pointer val. The type of pointer passed through val is dependent on the requested capability cap which can be one the following (The expected type pointed by val is provided in parenthesis): EGD_CAP_FS (int) Sampling frequency that is currently set. The same value is returned by the function. EGD_CAP_TYPELIST (const int*) Array of sensor types sampled by the device terminated by -1. These values became valid as argument for egd_sensor_name(3) when opening the device dev if they were not yet before. The number of elements in the array (excluding the -1 element) is provided by the return value of the function. EGD_CAP_DEVTYPE (const char*) Null terminated string describing the type of the recording device (Manufacturer and model if dev refers to actual hardware). The length of string (excluding the null character) is provided by the return value of the function. EGD_DEVID (const char*) Null-terminated string describing the model of the recording device (or an unique identifier of the resource). The length of string (excluding the null character) is provided by the return value of the function. RETURN VALUE
In case of success, the function returns a positive value depending on the requested capability. Otherwise, -1 is returned and errno is set accordingly. ERRORS
egd_get_cap() will fail if: EINVAL dev is NULL, cap is not valid value or val is NULL while cap is not EGD_CAP_FS. SEE ALSO
egd_sensor_name(3) EPFL
2011 EGD_GET_CAP(3)
Man Page