You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
690 B
27 lines
690 B
//
|
|
// JLBleEntity.h
|
|
// JL_OTA
|
|
//
|
|
// Created by 凌煊峰 on 2021/10/11.
|
|
//
|
|
|
|
#import <Foundation/Foundation.h>
|
|
#import <CoreBluetooth/CoreBluetooth.h>
|
|
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
|
|
@interface JLBleEntity : NSObject //蓝牙设备模型
|
|
|
|
@property (strong, nonatomic) NSNumber *mRSSI;
|
|
@property (strong, nonatomic) CBPeripheral *mPeripheral;
|
|
@property (strong, nonatomic) NSString *mName;
|
|
@property (strong, nonatomic) NSString *bleMacAddress;
|
|
@property (strong, nonatomic) NSString *edrMacAddress;
|
|
@property (assign, nonatomic) uint8_t mType;
|
|
@property (assign, nonatomic) uint16_t pid;
|
|
@property (assign, nonatomic) uint16_t uid;
|
|
|
|
@end
|
|
|
|
NS_ASSUME_NONNULL_END
|
|
|