|
|
@@ -7,15 +7,14 @@ |
|
|
|
| Version | Update time | Author | Update information | |
|
|
|
|---------|------------:| ---------: | ----------------- | |
|
|
|
| v1.0 | 2019/07/08 |JosonXiong | Preliminary version | |
|
|
|
|
|
|
|
|v1.1.1 |2023/06/26 |Larry| Document filing | |
|
|
|
|
|
|
|
|
|
|
|
## Table of Contents |
|
|
|
|
|
|
|
## 1st、The conditions of use |
|
|
|
> * Minimum version iOS 8.0 |
|
|
|
> * The Bluetooth version used by the device requires 4.0 and above. |
|
|
|
Minimum version iOS 8.0 |
|
|
|
The Bluetooth version used by the device requires 4.0 and above. |
|
|
|
## 2nd、Use |
|
|
|
1. Import TPSMSleSDK.framework into the Xcode project. |
|
|
|
2. Add "Privacy-Bluetooth Always Usage Description" to the info.plist file; |
|
|
@@ -29,7 +28,7 @@ |
|
|
|
-(void)TPMSBleManagerUpdateBleState:(TPMSBluetoothState)state; |
|
|
|
-(void)TPMSBleManagerReceiveData:(ELTPMSDataModel *_Nonnull)model; |
|
|
|
``` |
|
|
|
|
|
|
|
|
|
|
|
## 3rd、Get broadcast data |
|
|
|
### 1.Determine if the phone Bluetooth is available |
|
|
|
Proxy method: |