BTLEDeivceModel.h 680 B

123456789101112131415161718192021222324252627282930313233
  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. @protocol BTLEDeivceModel;
  11. @interface BTLEDeivceModel : NSObject
  12. @property (nonatomic, strong) CBPeripheral *peripheralRef;
  13. @property (nonatomic, strong) NSDictionary *advertisementData;
  14. @property (nonatomic, strong) CBCentralManager *manager;
  15. @property (nonatomic, strong) NSNumber *RSSI;
  16. - (NSString*)advertisedServices;
  17. - (int)txPower;
  18. - (int)channel;
  19. - (BOOL)isConnectable;
  20. - (NSString*)name;
  21. - (NSString*)broadcastData;
  22. -(NSArray*)getServiceList;
  23. @end