WhaleTeq SEEG(Single Channel EEG System) 100/100E SDK for Linux platform:
0. SEEG USB connection on Linux:
   A. "/dev/ttyACM0" would be linked after the SEEG device be connected through USB cable:
   [cloud-user@localhost dev]$ ls -l ttyA*
   crw-rw----. 1 root dialout 166, 0 Feb 21 09:57 ttyACM0

   B. Add user account into "dialout" group to grant access permission for "/dev/ttyACM0":
   [cloud-user@localhost dev]$ cat ttyACM0
   cat: ttyACM0: Permission denied
   [cloud-user@localhost dev]$ sudo "usermod -a -G dialout cloud-user"
   [cloud-user@localhost dev]$ cat ttyACM0

1. Build Environment:
   Linux version : 2.6.32-754.24.3.el6.x86_64
   gcc version : 4.4.7 20120313 (Red Hat 4.4.7-23) (GCC)

2. Package Structure:
   Header : SEEG_SDK/include/WhaleTeqSEEG_SDK.h
   64 bits(x64) library : SEEG_SDK/lib64/libSEEG_SDK.so

3. Compiler Defined (-D) for WhaleTeqSEEG_SDK.h : LINUX_GCC
#ifdef WHALETEQSEEG_SDK_EXPORTS
#  ifdef LINUX_GCC
#    define WHALETEQSEEG_SDK_API __attribute__ ((visibility ("default"))) 
#  else
#    define WHALETEQSEEG_SDK_API __declspec(dllexport) 
#  endif
#else
#  if defined(LINUX_GCC) || defined(ANDROID)
#    define WHALETEQSEEG_SDK_API
#  else
#    define WHALETEQSEEG_SDK_API __declspec(dllimport) 
#  endif
#endif
#if defined(LINUX_GCC)
# define __stdcall
#endif

4. Thread for "TimeAmplitudeCB" :
   WHALETEQSEEG_SDK_API void RegisterTimeAmpCB(TimeAmplitudeCB cb);
The callback would be triggered from another thread. Please take care the GUI thread limitation if do GUI drawing in "TimeAmplitudeCB" for output signal display.


