-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMWMDelegate.h
executable file
·40 lines (26 loc) · 965 Bytes
/
MWMDelegate.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
/*
* MWMDelegate.h
*
* Copyright 2016 NeuroSky, Inc.. All rights reserved.
*
* All methods are required.
*/
#import <Foundation/Foundation.h>
#import "MWMEnum.h"
@protocol MWMDelegate <NSObject>
//angelo: new delegate 160906
//Ble Device
-(void)deviceFound:(NSString *)devName MfgID:(NSString *)mfgID DeviceID:(NSString *)deviceID;
-(void)didConnect;
-(void)didDisconnect;
@optional
-(void)eegSample:(int) sample;
-(void)eSense:(int)poorSignal Attention:(int)attention Meditation:(int)meditation;
-(void)eegPowerDelta:(int)delta Theta:(int)theta LowAlpha:(int)lowAlpha HighAlpha:(int)highAlpha;
-(void)eegPowerLowBeta:(int)lowBeta HighBeta:(int)highBeta LowGamma:(int)lowGamma MidGamma:(int)midGamma;
-(void)eegBlink:(int) blinkValue;
//baudRate 0:57600 1:115200 notchFilter 0:50Hz 1:60Hz
-(void)mwmBaudRate:(int)baudRate NotchFilter:(int)notchFilter;
//Ble exception event;
-(void)exceptionMessage:(TGBleExceptionEvent)eventType;
@end