#import <ThingBLEPeripheral.h>
Definition at line 16 of file ThingBLEPeripheral.h.
◆ didModifyServicesBlock
- (void(^)) didModifyServicesBlock |
|
(CBPeripheral *) |
p |
|
|
(NSArray *) |
invalidatedServices |
|
|
| |
◆ discoverServices:completion: [1/2]
Discovers the service with a specific UUID.
- Parameters
-
serviceUUIDs | The service UUID |
block | The callback. |
◆ discoverServices:completion: [2/2]
Discovers the service with a specific UUID.
- Parameters
-
serviceUUIDs | The service UUID |
block | The callback. |
◆ discoverServicesWithCompletion: [1/2]
Discovers all supported services.
- Parameters
-
◆ discoverServicesWithCompletion: [2/2]
Discovers all supported services.
- Parameters
-
◆ initWithCBPeripheral: [1/2]
- (instancetype) initWithCBPeripheral: |
|
(CBPeripheral *) |
p |
|
◆ initWithCBPeripheral: [2/2]
- (instancetype) initWithCBPeripheral: |
|
(CBPeripheral *) |
p |
|
◆ readRSSIValueCompletion: [1/2]
Reads the Received Signal Strength Indicator (RSSI) value.
- Parameters
-
◆ readRSSIValueCompletion: [2/2]
Reads the Received Signal Strength Indicator (RSSI) value.
- Parameters
-
◆ readyToSendWriteWithoutResponseBlock
- (void(^)) readyToSendWriteWithoutResponseBlock |
|
(CBPeripheral *) |
p |
|
◆ retrieveServiceByUUID: [1/2]
Discovers the service with a specific UUID.
- Parameters
-
uuid | The UUID to be discovered. |
- Returns
- The ThingBLEService object.
◆ retrieveServiceByUUID: [2/2]
Discovers the service with a specific UUID.
- Parameters
-
uuid | The UUID to be discovered. |
- Returns
- The ThingBLEService object.
◆ updatecbPeripheral: [1/2]
- (void) updatecbPeripheral: |
|
(CBPeripheral *) |
cbPeripheral |
|
Update current cbPeripheral when find new service;
◆ updatecbPeripheral: [2/2]
- (void) updatecbPeripheral: |
|
(CBPeripheral *) |
cbPeripheral |
|
Update current cbPeripheral when find new service;
◆ advertisingData
- (NSDictionary *) advertisingData |
|
readwritenonatomicstrong |
The advertisement data that was tracked from the peripheral.
Definition at line 39 of file ThingBLEPeripheral.h.
◆ cbPeripheral
- (CBPeripheral *) cbPeripheral |
|
readatomicstrong |
◆ didModifyServicesBlock
- (void(^ didModifyServicesBlock) (CBPeripheral *p, NSArray *invalidatedServices)) |
|
readwritenonatomiccopy |
◆ isConnected
◆ isConnectedNotOpenApp
- (BOOL) isConnectedNotOpenApp |
|
readwritenonatomicassign |
◆ isModifyServices
- (BOOL) isModifyServices |
|
readwritenonatomicassign |
◆ isSupportConnectKeep
- (BOOL) isSupportConnectKeep |
|
readwritenonatomicassign |
◆ isWillRestoreState
- (BOOL) isWillRestoreState |
|
readwritenonatomicassign |
Specifies whether to restore the connection status of the device.
Definition at line 51 of file ThingBLEPeripheral.h.
◆ readyToSendWriteWithoutResponseBlock
- (void(^ readyToSendWriteWithoutResponseBlock) (CBPeripheral *p)) |
|
readwritenonatomiccopy |
◆ RSSI
◆ services
◆ UUIDString
- (NSString *) UUIDString |
|
readatomiccopy |
The documentation for this class was generated from the following files:
- /Users/humtong/Downloads/Pods_副本/ThingBluetooth/Build/ThingBluetooth.xcframework/ios-arm64_x86_64-simulator/ThingBluetooth.framework/Headers/ThingBLEPeripheral.h
- /Users/humtong/Downloads/Pods_副本/ThingBluetooth/Build/ThingBluetooth.xcframework/ios-arm64/ThingBluetooth.framework/Headers/ThingBLEPeripheral.h