//
//  T-Sensor.h
//  JoywayLib
//
//  Created by Bob Xia on 2018/8/27.
//  Copyright © 2018年 ___JOYWAY___. All rights reserved.
//

#ifndef TSensorScanner_h
#define TSensorScanner_h

#import "TSensorEventDelegate.h"


//JW1407PTA(HP203x)
#define TemperatureSensorVersion_JW1407V015_TSensorV104  @"JW1407V015_TSensorV104"

//JW1407PTA(HP203x)-数据前面加了数据版本号，方便后面判断解析
#define TemperatureSensorVersion_JW1407V015_TSensorV106  @"JW1407V015_TSensorV106"

//JW1407HT(SHT30)
#define TemperatureSensorVersion_JW1407V016_TSensorV107  @"JW1407V016_TSensorV107"



@interface TSensorScanner : NSObject

-(void) initScanner;
-(void) releaseScanner;
-(void) listenEvent:(id<TSensorEventDelegate>) delegate  listenOrNot:(BOOL)listenOrNot;
-(void) startScanner;
-(void) stopScanner;

@end


#endif
