BTLEDeivceModel.h 730 B

12345678910111213141516171819202122232425262728293031
  1. //
  2. // BTLEDeivceModel.h
  3. // OneCable
  4. //
  5. // Created by KaRam Kim on 2017. 5. 17..
  6. // Copyright © 2017년 ntels. All rights reserved.
  7. //
  8. #import <Foundation/Foundation.h>
  9. #import <CoreBluetooth/Corebluetooth.h>
  10. @interface BTLEDeivceModel : NSObject
  11. @property (nonatomic, strong) CBPeripheral *peripheralRef;
  12. @property (nonatomic, strong) NSDictionary *advertisementData;
  13. @property (nonatomic, strong) CBCentralManager *manager;
  14. @property (nonatomic, strong) NSNumber *RSSI;
  15. //@property (nonatomic, strong) NSString *advServices;
  16. //@property (nonatomic, strong) NSString *brcData;
  17. - (NSString*)advertisedServices;
  18. - (int)txPower;
  19. - (int)channel;
  20. - (BOOL)isConnectable;
  21. - (NSString*)name;
  22. - (NSString*)broadcastData;
  23. @end