| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 |
- //
- // BTLEDeivceModel.h
- // OneCable
- //
- // Created by KaRam Kim on 2017. 5. 17..
- // Copyright © 2017년 ntels. All rights reserved.
- //
- #import <Foundation/Foundation.h>
- #import <CoreBluetooth/Corebluetooth.h>
- @protocol BTLEDeivceModel;
- @interface BTLEDeivceModel : NSObject
- @property (nonatomic, strong) CBPeripheral *peripheralRef;
- @property (nonatomic, strong) NSDictionary *advertisementData;
- @property (nonatomic, strong) CBCentralManager *manager;
- @property (nonatomic, strong) NSNumber *RSSI;
- - (NSString*)advertisedServices;
- - (int)txPower;
- - (int)channel;
- - (BOOL)isConnectable;
- - (NSString*)name;
- - (NSString*)broadcastData;
- -(NSArray*)getServiceList;
- @end
- @protocol BLEWLanModel;
- @interface BLEWLanModel : JDJSONModel
- @property (copy, nonatomic) NSString *signal;
- @property (copy, nonatomic) NSString *ssid;
- @property (copy, nonatomic) NSString *bssid;
- @property (copy, nonatomic) NSString *security;
- @end
- @interface BLEWLanListModel : JDJSONModel
- @property (copy, nonatomic) NSArray<BLEWLanModel> *wlan;
- @end
|