//
// ViewController.h
// ble
//
// Created by junjun on 2019/6/8.
// Copyright © 2019年 junjun. All rights reserved.
//
#import <UIKit/UIKit.h>
#import <CoreBluetooth/CoreBluetooth.h>
@interface ViewController : UIViewController<CBPeripheralDelegate,CBCentralManagerDelegate>
@property (nonatomic,strong)CBCentralManager *centralManager;
@property(nonatomic ,strong)CBCharacteristic *writecharacteritic;
@property(nonatomic,strong)CBPeripheral *peripheral;
@property(nonatomic,strong)CBCharacteristic * readcharacteristic;
@end
数字技术站点:http://www.viper1983.com