{IDO Device Notification / Control Event Model Description}
1. Function Overview
Provides the ability to explain the members of the notification/control event model requested by the firmware.
2. Interface Capabilities
1. Data Update Request Type:
1.1 Function Summary:
None.
1.2 API ID:
final int? dataType;
1.3 API Parameter Description:
@return: Data update request types, including:
| Decimal Value | Description | |
|---|---|---|
| 0 | Invalid | |
| 1 | Bracelet has been unbound | |
| 2 | Heart rate mode changed | |
| 3 | Blood oxygen data generated and changed | |
| 4 | Pressure data generated and changed | |
| 5 | Alexa recognition process exited | |
| 6 | Firmware initiates factory reset, notifying app with a popup reminder | |
| 7 | App needs to enter the camera interface (TIT01 customization) | |
| 8 | SOS event notification (205 Turkey customization) | |
| 9 | Firmware has modified the alarm set in Alexa, and app needs to send the corresponding notification bit to the firmware. App sends a command to retrieve the V3 alarm clock | |
| 10 | Firmware has deleted a schedule reminder, and app needs to update the corresponding list data | |
| 11 | Firmware has modified the substyle of the corresponding watch face, notifying app to retrieve (command_id is 0x33, key is 0x5000) | |
| 12 | Firmware notifies iOS to update notification icon and name | |
| 13 | Firmware notifies app that the icon has been updated, and app needs to retrieve the updated icon status | |
| 14 | Firmware requests weather update, app receives and sends weather data | |
| 15 | Steps increase by 2000 steps each time, device requests app to synchronize data, app calls synchronization interface | |
| 16 | Sleep detection finished, requests app to synchronize sleep data, app calls synchronization interface | |
| 17 | Firmware modifies three-ring data, notifies app to update three-ring data | |
| 18 | Charging completed, firmware sends a reminder, app displays device fully charged in the notification bar | |
| 19 | After exercise ends, manual heart rate measurement, manual blood oxygen measurement, manual pressure measurement, device automatically requests synchronization. First check the connection status, if not connected, do not execute this synchronization. After meeting the conditions for the next automatic synchronization, check again and initiate synchronization request | |
| 20 | Firmware modifies heart rate notification status type, pressure notification status type, blood oxygen notification status type, physiological cycle notification status type, health guidance notification status type, reminder notification status type, notifies app to update heart rate, pressure, blood oxygen, physiological cycle, health guidance, and reminder notification status type | |
| 21 | Firmware completes pressure value calculation, notifies app to retrieve pressure value | |
| 22 | Firmware notifies app, pressure calibration failed (firmware exits measurement interface / detection failed / detection timeout / not wearing) | |
| 23 | Reserved | |
| 24 | Firmware notifies app that BT Bluetooth is connected | |
| 25 | Firmware notifies app that BT Bluetooth is disconnected | |
| 26 | Firmware indicates the start of a BT call | |
| 27 | Firmware indicates the end of a BT call | |
| 28 | For new firmware version, sends a notification command every 4 minutes and 30 seconds to fix the issue of iOS showing offline | |
| 29 | Notifies app that exercise has started (applies to intercepting watch face transmission with 26) | |
| 30 | Notifies app that exercise has ended (applies to intercepting watch face transmission with 27) | |
| 31 | Firmware restarts and sends a notification to app (app needs to retrieve firmware version information upon receiving the notification) | |
| 32 | When the device is idle (not using Alexa), it needs to report a notification to app (interval is 1 hour) | |
| 33 | Firmware completes space organization and notifies app to continue transmitting watch face files | |
| 34 | Firmware notifies app to stop finding bracelet instruction (corresponding to 6.3 finding bracelet) | |
| 35 | Firmware enters power-saving mode and notifies app | |
| 36 | Firmware exits power-saving mode and notifies app | |
| 38 | Firmware completes transmission of raw data and notifies app to retrieve feature vector information | |
| 39 | Firmware notifies app, blood pressure calibration failed (firmware exits measurement interface / detection failed / detection timeout / not wearing) | |
| 40 | Firmware completes transmission of raw data without feature vector information, notifies app that data collection has ended | |
| 41 | Notification for completion of syncing V3 health data single item (used internally on Android) | |
| 42 | Firmware completes organization of GPS data space and notifies app to transmit GPS file | |
| 43 | Firmware fails to upgrade EPO.dat file, notifies app to resend the file | |
| 44 | Firmware successfully upgrades EPO.dat file | |
| 45 | Firmware fails to upgrade GPS, notifies app to retry transmission | |
| 46 | Firmware successfully upgrades GPS | |
| 47 | When starting exercise, firmware encounters GPS anomaly, notifies app | |
| 48 | Firmware updates information of Runfan peripheral, notifies app to retrieve | |
| 49 | Firmware notifies user to cancel BLE and watch pairing, app handles pop-up window | |
| 50 | Firmware notifies app that BT pairing is completed | |
| 51 | Firmware sets exercise sorting, notifies app to retrieve exercise sorting information | |
| 52 | Firmware changes all-day step goal parameter, notifies app to retrieve all-day step goal (0208) | |
| 53 | Firmware notifies app that it has entered blood pressure calibration interface | |
| 54 | Firmware updates automatic recognition switch status, notifies app to retrieve exercise automatic recognition switch status (02EA) | |
| 55 | Switches the firmware fast mode to the slow mode | |
| 56 | Switches the firmware slow mode to fast mode | |
| 57 | The firmware updates the mtu and the APP sends the mtu to obtain the local record of the mtu update (the local record cannot be updated if the mtu size is greater than 20Bytes) |
|
| 58 | Firmware battery changes. APP delivers the battery information | |
| 59 | is currently in DFU mode (Sche platform) | |
| 60 | Switch firmware unit and notify APP to obtain unit (0222) | |
| 61 | Firmware modification menu list (shortcut list), notify APP to obtain (02A8) | |
| 62 | firmware changes the local language, notifies the APP to get (0222) |
2. Notification Type:
2.1 Function Summary:
None.
2.2 API ID:
final int? notifyType;
2.3 API Parameter Description:
@return: notifyType notification request type, including:
| Value | Description | Bit |
|---|---|---|
| 1 | Alarm has been modified | bit0 |
| 2 | Firmware overheat exception alert | bit1 |
| 4 | Brightness parameter modified (02 b0) | bit2 |
| 8 | Wrist lift parameter modified (02 b1) | bit3 |
| 16 | Do Not Disturb mode retrieval (02 30) | bit4 |
| 32 | Mobile phone volume sent down (03 0xE3) (deleted), app volume modified, sent directly | bit5 |
3. Message ID:
3.1 Function Overview:
None.
3.2 API ID:
final int? msgId;
3.3 API Parameter Description:
@return: msgId, each message corresponds to an ID.
4. Custom SMS:
4.1 Function Overview:
None.
4.2 API ID:
final int? msgNotice;
4.3 API Parameter Description:
@return: Custom message, including:
| Value | Description |
|---|---|
| 0 | None |
| 1 | Custom SMS 1 (in a meeting, contact me later) |
| 2 | Custom SMS 2 |
| 3 | Custom SMS 3 |
| 4 | Custom SMS 4 |
| 5 | Custom SMS 5 |
| .. | .. (continue to 10) |
| 10 | Custom SMS 10 |
5. Error State Index:
5.1 Function Overview:
None.
5.2 API ID:
final int? errorIndex;
5.3 API Parameter Description:
@return: Error status, including:
| Value | Error Type | Note |
|---|---|---|
| 0 | No error | |
| 1 | ACC | Firmware error (1-100) |
| 2 | PPG | |
| 3 | TP | |
| 4 | FLASH | |
| 5 | Overheating (PPG) | |
| 6 | Air pressure | |
| 7 | GPS | |
| 8 | Magnetic field | |
| 100 | Watchdog reset | Reset log code (100-200) |
| 101 | Power-on reset | |
| 102 | Software reset | |
| 103 | OTA reset | |
| 104 | User reset | |
| 105 | Low-power shutdown |
6. Control Events and Corresponding Event Return Values:
6.1 Function Overview:
None.
6.2 API ID:
final int? controlEvt;
final String? controlJson;
6.3 API Parameter Description:
@return: controlEvt BLE device control event number, controlJson event return value, including:
| Event Type | Event Number (controlEvt) | Event Return Value (controlJson) |
|---|---|---|
| Device controls app music start | 551 | - |
| Device controls app music pause | 552 | - |
| Device controls app music stop | 553 | - |
| Device controls app previous track | 554 | - |
| Device controls app next track | 555 | - |
| Device controls app single photo | 556 | - |
| Device controls app burst photo | 557 | - |
| Device controls app volume increase | 558 | - |
| Device controls app volume decrease | 559 | - |
| Device controls app open camera | 560 | - |
| Device controls app close camera | 561 | - |
| Device controls app answer call | 562 | - |
| Device controls app reject call | 563 | - |
| Device controls app music volume percentage | 565 | Jump to Description |
| Device control opens the APP camera and enters the photo preview function | 567 | Jump to description |
| Device control pauses the photo preview and stops transmitting the photo stream | 568 | Jump to description |
| Device control closes the APP camera and exits the photo preview function | 569 | Jump to description |
| Device controls app find phone start | 570 | - |
| Device controls app find phone end | 571 | - |
| Device notifies app anti-loss start | 572 | - |
| Device notifies app one-key call start | 574 | Jump to Description |
| Device notifies app sensor data | 575 | - |
| Device notifies app operation type | 576 | Jump to Description |
| Device notifies app data update | 577 | - |
| Device requests version check | 578 | Jump to Description |
| Device requests OTA | 579 | Jump to Description |
| Device notifies app SMS information | 580 | Jump to Description |
| Device controls app camera | 581 | Jump to Description |
| Device notifies firmware speaker volume modification | 591 | Jump to Description |
////TODO