// // BLEModel.m // BluetoothDemo // // Created by mac on 17/3/9. // Copyright © 2017年 . All rights reserved. // #import "BLEModelFireBoltt.h" @implementation BLEModelFireBoltt /** 构造一个BLE模型 @param central 中心管理 @param peripheral 外设 @param advertisementData 外设携带数据 @param RSSI 信号强度 @param UUIDString uuid */ - (instancetype)initWithCentral:(CBCentralManager *)central Peripheral:(CBPeripheral *)peripheral AdvertisementData:(NSDictionary *)advertisementData RSSI:(NSNumber *)RSSI UUIDString:(NSString *)UUIDString MACString:(NSString *)MACString { self = [super init]; if (self) { self.central = central; self.peripheral = peripheral; self.advertisementData = advertisementData; self.RSSI = RSSI; self.UUIDString = UUIDString; self.MACString = MACString; } return self; } @end