Capsule API Example

Loading...
Searching...
No Matches
CDeviceInfo.h
Go to the documentation of this file.
1// Copyright. 2019 - 2024 PSBD. All rights reserved.
2
3#pragma once
4
5#include "CDefinesPrivate.h"
6
7#ifdef __cplusplus
8 extern "C" {
9#endif
10
14 typedef enum clCDeviceType {
15 clCDeviceType_Headband = 0,
16 clCDeviceType_Buds = 1,
17 clCDeviceType_Headphones = 2,
18 clCDeviceType_Impulse = 3,
19 clCDeviceType_Any = 4,
20 clCDeviceType_BrainBit = 6,
21 clCDeviceType_SinWave = 100,
22 clCDeviceType_Noise = 101
23} clCDeviceType;
24
30 CLC_STRUCT_WNN(DeviceInfo, clCDeviceInfo, device);
31
38 CL_DLL const char* clCDeviceInfo_GetSerial(clCDeviceInfo device) NOEXCEPT;
45 CL_DLL const char* clCDeviceInfo_GetName(clCDeviceInfo device) NOEXCEPT;
52 CL_DLL clCDeviceType clCDeviceInfo_GetType(clCDeviceInfo device) NOEXCEPT;
53
54#ifdef __cplusplus
55}
56#endif
CDefinesPrivate.h
NOEXCEPT
#define NOEXCEPT
Definition CDefinesPrivate.h:82
CL_DLL
#define CL_DLL
Definition CDefinesPrivate.h:51
clCDeviceInfo_GetSerial
CL_DLL const char * clCDeviceInfo_GetSerial(clCDeviceInfo device) NOEXCEPT
clCDeviceType
clCDeviceType
Device type.
Definition CDeviceInfo.h:14
clCDeviceType_BrainBit
@ clCDeviceType_BrainBit
Definition CDeviceInfo.h:20
clCDeviceType_Any
@ clCDeviceType_Any
Definition CDeviceInfo.h:19
clCDeviceType_SinWave
@ clCDeviceType_SinWave
Definition CDeviceInfo.h:21
clCDeviceType_Noise
@ clCDeviceType_Noise
Definition CDeviceInfo.h:22
clCDeviceType_Buds
@ clCDeviceType_Buds
Definition CDeviceInfo.h:16
clCDeviceType_Headband
@ clCDeviceType_Headband
Definition CDeviceInfo.h:15
clCDeviceType_Impulse
@ clCDeviceType_Impulse
Definition CDeviceInfo.h:18
clCDeviceType_Headphones
@ clCDeviceType_Headphones
Definition CDeviceInfo.h:17
clCDeviceInfo_GetName
CL_DLL const char * clCDeviceInfo_GetName(clCDeviceInfo device) NOEXCEPT
CLC_STRUCT_WNN
CLC_STRUCT_WNN(DeviceInfo, clCDeviceInfo, device)
Device info list.
clCDeviceInfo_GetType
CL_DLL clCDeviceType clCDeviceInfo_GetType(clCDeviceInfo device) NOEXCEPT