28 lines
728 B
Objective-C
Executable File
28 lines
728 B
Objective-C
Executable File
//
|
|
// FirstViewController.h
|
|
// Talk
|
|
//
|
|
// Created by xuzs on 22/10/11.
|
|
// Copyright (c) 2022年 xuzs. All rights reserved.
|
|
//
|
|
|
|
#import <UIKit/UIKit.h>
|
|
#import <CoreBluetooth/CoreBluetooth.h>
|
|
#import "BaseViewController.h"
|
|
|
|
@interface EquConfig : BaseViewController<CBCentralManagerDelegate,CBPeripheralDelegate>
|
|
@property(nonatomic) NSString *equid;
|
|
|
|
|
|
@property (nonatomic,strong)CBCentralManager *ble;
|
|
@property (nonatomic,strong)CBPeripheral *device;
|
|
@property (nonatomic,strong)CBCharacteristic *writer;
|
|
@property (nonatomic,strong)CBCharacteristic *reader;
|
|
@property (nonatomic)BOOL needSend;
|
|
@property (nonatomic)BOOL sending;
|
|
@property (nonatomic)BOOL connected;
|
|
@property (nonatomic,strong)NSData *data2send;
|
|
|
|
@end
|
|
|