Note: Run Demo program and scan the device to get the PeripheralType of the device. The "initialization method" and "supported functions" of different PeripheralType devices are different. The following is the PeripheralType of Kitchen Scale:
Function Description:
1.
PPDevicePeripheralTypePeripheralEgg Function Description-DeviceEggViewController
Notice:
•
By default, Bluetooth permission and switch detection have been processed, and the type of PPDevicePeripheralType matched is PPDevicePeripheralTypePeripheralEgg, 2.x/Connection/Kitchen Scale
For specific initialization methods and functional demonstrations, please refer to the DeviceEggViewController class in this Demo
1.1.1 Weighing logic
2.
PPDevicePeripheralTypePeripheralFish Function Description-DeviceFishViewController
Notice:
•
By default, Bluetooth permission and switch detection have been processed, and the type of PPDevicePeripheralType matched is PPDevicePeripheralTypePeripheralFish, 3.x/Connection/Kitchen Scale
For specific initialization methods and functional demonstrations, please refer to the DeviceFishViewController class in this Demo
3.
PPDevicePeripheralTypePeripheralGrapes Function Description-DeviceGrapesViewController
Notice:
•
By default, Bluetooth permissions and switch detection have been processed, and the type matched to PPDevicePeripheralType is PPDevicePeripheralTypePeripheralGrapes, 2.x/Broadcast/Kitchen Scale
For specific initialization methods and functional demonstrations, please refer to the DeviceGrapesViewController class in this Demo