The Bluetooth LE mesh delegate that is instantiated when the Bluetooth LE mesh manager performs a specific action and receives messages.
More...
#import <ThingBLEMeshManager.h>
The Bluetooth LE mesh delegate that is instantiated when the Bluetooth LE mesh manager performs a specific action and receives messages.
Definition at line 22 of file ThingBLEMeshManager.h.
◆ activeDeviceSuccessWithName:deviceId:error: [1/2]
- (void) activeDeviceSuccessWithName: |
|
(nullable NSString *) |
name |
deviceId: |
|
(nullable NSString *) |
deviceId |
error: |
|
(nullable NSError *) |
error |
|
|
| |
|
optional |
The callback that is used to activate a sub-device.
- Parameters
-
name | The device name. |
deviceId | The device ID. |
error | An error occurs while activating the sub-device. The values of ‘name’ and 'deviceid' are empty in the response. |
◆ activeDeviceSuccessWithName:deviceId:error: [2/2]
- (void) activeDeviceSuccessWithName: |
|
(nullable NSString *) |
name |
deviceId: |
|
(nullable NSString *) |
deviceId |
error: |
|
(nullable NSError *) |
error |
|
|
| |
|
optional |
The callback that is used to activate a sub-device.
- Parameters
-
name | The device name. |
deviceId | The device ID. |
error | An error occurs while activating the sub-device. The values of ‘name’ and 'deviceid' are empty in the response. |
◆ activeWifiDeviceWithName:address:mac:error: [1/2]
- (void) activeWifiDeviceWithName: |
|
(nullable NSString *) |
name |
address: |
|
(NSInteger) |
address |
mac: |
|
(NSInteger) |
mac |
error: |
|
(nullable NSError *) |
error |
|
|
| |
|
optional |
The callback that is used to activate a gateway device.
- Parameters
-
name | The device name. |
address | The device address. |
mac | The gateway MAC. |
error | An error occurs while processing the request. |
◆ activeWifiDeviceWithName:address:mac:error: [2/2]
- (void) activeWifiDeviceWithName: |
|
(nullable NSString *) |
name |
address: |
|
(NSInteger) |
address |
mac: |
|
(NSInteger) |
mac |
error: |
|
(nullable NSError *) |
error |
|
|
| |
|
optional |
The callback that is used to activate a gateway device.
- Parameters
-
name | The device name. |
address | The device address. |
mac | The gateway MAC. |
error | An error occurs while processing the request. |
◆ bleMeshManager:didActiveSubDevice:devId:error: [1/2]
The callback that is used when a sub-device is activated.
- Parameters
-
manager | The value of ThingBLEMeshManager. |
device | The value of ThingBleMeshDeviceModel. |
devId | The device ID. |
error | An error occurs while activating the sub-device. The values of ‘name’ and 'deviceid' are empty in the response. |
◆ bleMeshManager:didActiveSubDevice:devId:error: [2/2]
The callback that is used when a sub-device is activated.
- Parameters
-
manager | The value of ThingBLEMeshManager. |
device | The value of ThingBleMeshDeviceModel. |
devId | The device ID. |
error | An error occurs while activating the sub-device. The values of ‘name’ and 'deviceid' are empty in the response. |
◆ bleMeshManager:didFailToActiveDevice:error: [1/2]
The callback that is used when a device failed to be activated.
- Parameters
-
manager | The value of ThingBLEMeshManager. |
device | The device. |
error | An error occurs while processing the request. |
◆ bleMeshManager:didFailToActiveDevice:error: [2/2]
The callback that is used when a device failed to be activated.
- Parameters
-
manager | The value of ThingBLEMeshManager. |
device | The device. |
error | An error occurs while processing the request. |
◆ bleMeshManager:didScanedDevice: [1/2]
Scans the devices to be paired.
- Parameters
-
◆ bleMeshManager:didScanedDevice: [2/2]
Scans the devices to be paired.
- Parameters
-
◆ centralManagerStatusChange: [1/2]
- (void) centralManagerStatusChange: |
|
(CBManagerState) |
status |
|
|
optional |
The callback of the Bluetooth status.
- Parameters
-
status | The Bluetooth status. |
◆ centralManagerStatusChange: [2/2]
- (void) centralManagerStatusChange: |
|
(CBManagerState) |
status |
|
|
optional |
The callback of the Bluetooth status.
- Parameters
-
status | The Bluetooth status. |
◆ deviceAddGroupAddress:error: [1/2]
- (void) deviceAddGroupAddress: |
|
(uint32_t) |
address |
error: |
|
(NSError *) |
error |
|
|
| |
|
optional |
The callback of group operations. For example, this callback is used when devices are added to or deleted from the group.
- Parameters
-
address | The device address. |
error | An error occurs while managing the devices in the group. |
◆ deviceAddGroupAddress:error: [2/2]
- (void) deviceAddGroupAddress: |
|
(uint32_t) |
address |
error: |
|
(NSError *) |
error |
|
|
| |
|
optional |
The callback of group operations. For example, this callback is used when devices are added to or deleted from the group.
- Parameters
-
address | The device address. |
error | An error occurs while managing the devices in the group. |
◆ didConnectMeshNodeAndLoginMesh [1/2]
- (void) didConnectMeshNodeAndLoginMesh |
|
|
|
|
optional |
The callback that is used when a mesh network is connected. This enables subsequent local communication.
◆ didConnectMeshNodeAndLoginMesh [2/2]
- (void) didConnectMeshNodeAndLoginMesh |
|
|
|
|
optional |
The callback that is used when a mesh network is connected. This enables subsequent local communication.
◆ didFinishToActiveDevList [1/2]
- (void) didFinishToActiveDevList |
|
|
|
|
optional |
The callback that is used when the activation is completed.
◆ didFinishToActiveDevList [2/2]
- (void) didFinishToActiveDevList |
|
|
|
|
optional |
The callback that is used when the activation is completed.
◆ notifyCentralManagerDidDisconnectPeripheral [1/2]
- (void) notifyCentralManagerDidDisconnectPeripheral |
|
|
|
|
optional |
The callback that is used when a device is disconnected.
◆ notifyCentralManagerDidDisconnectPeripheral [2/2]
- (void) notifyCentralManagerDidDisconnectPeripheral |
|
|
|
|
optional |
The callback that is used when a device is disconnected.
◆ notifyFirmwareWithVersion: [1/2]
- (void) notifyFirmwareWithVersion: |
|
(NSString *) |
version |
|
|
optional |
The callback of the version number.
- Parameters
-
version | The version number. |
◆ notifyFirmwareWithVersion: [2/2]
- (void) notifyFirmwareWithVersion: |
|
(NSString *) |
version |
|
|
optional |
The callback of the version number.
- Parameters
-
version | The version number. |
◆ notifyLoginSuccessWithAddress: [1/2]
- (void) notifyLoginSuccessWithAddress: |
|
(uint32_t) |
address |
|
|
optional |
The notification of login success. Updates are required.
- Parameters
-
address | The address of the connected device. |
◆ notifyLoginSuccessWithAddress: [2/2]
- (void) notifyLoginSuccessWithAddress: |
|
(uint32_t) |
address |
|
|
optional |
The notification of login success. Updates are required.
- Parameters
-
address | The address of the connected device. |
◆ notifyQueryGroupAddress:nodeId: [1/2]
- (void) notifyQueryGroupAddress: |
|
(uint32_t) |
localId |
nodeId: |
|
(uint32_t) |
nodeId |
|
|
| |
|
optional |
◆ notifyQueryGroupAddress:nodeId: [2/2]
- (void) notifyQueryGroupAddress: |
|
(uint32_t) |
localId |
nodeId: |
|
(uint32_t) |
nodeId |
|
|
| |
|
optional |
The documentation for this protocol was generated from the following files:
- /Users/humtong/Downloads/Pods_副本/ThingSmartBLEMeshKit/Build/ThingSmartBLEMeshKit.xcframework/ios-arm64_x86_64-simulator/ThingSmartBLEMeshKit.framework/Headers/ThingBLEMeshManager.h
- /Users/humtong/Downloads/Pods_副本/ThingSmartBLEMeshKit/Build/ThingSmartBLEMeshKit.xcframework/ios-arm64/ThingSmartBLEMeshKit.framework/Headers/ThingBLEMeshManager.h