@moshenguo/ms-data-sdk 0.1.10 → 0.1.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/sdk/bleConst.d.ts +17 -3
- package/build/sdk/bleSDK.d.ts +102 -3
- package/build/sdk/models.d.ts +22 -3
- package/build/sdk/resolveUtil.d.ts +16 -0
- package/dist/index.esm.js +1 -1
- package/dist/index.min.js +1 -1
- package/docs/assets/navigation.js +1 -1
- package/docs/assets/search.js +1 -1
- package/docs/classes/BleSDK.html +107 -57
- package/docs/classes/ResolveUtil.html +73 -65
- package/docs/hierarchy.html +1 -1
- package/docs/index.html +2 -2
- package/docs/interfaces/MyAutomaticHRMonitoring.html +10 -10
- package/docs/interfaces/MyDeviceInfo.html +16 -12
- package/docs/interfaces/MyPersonalInfo.html +7 -7
- package/docs/interfaces/MySedentaryReminderV4.html +10 -10
- package/docs/interfaces/MyWeeksV4.html +9 -9
- package/docs/modules.html +1 -1
- package/docs/variables/ANCS_MASK.html +1 -0
- package/docs/variables/BleConst.html +4 -2
- package/docs/variables/DeviceKey.html +8 -3
- package/package.json +5 -5
package/docs/classes/BleSDK.html
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
<!DOCTYPE html><html class="default" lang="en" data-base="../"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>BleSDK | @moshenguo/ms-data-sdk - v0.1.
|
|
1
|
+
<!DOCTYPE html><html class="default" lang="en" data-base="../"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>BleSDK | @moshenguo/ms-data-sdk - v0.1.11</title><meta name="description" content="Documentation for @moshenguo/ms-data-sdk"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/icons.js" id="tsd-icons-script"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => window.app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><a href="../index.html" class="title">@moshenguo/ms-data-sdk - v0.1.11</a><div id="tsd-toolbar-links"></div><button id="tsd-search-trigger" class="tsd-widget" aria-label="Search"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-search"></use></svg></button><dialog id="tsd-search" aria-label="Search"><input role="combobox" id="tsd-search-input" aria-controls="tsd-search-results" aria-autocomplete="list" aria-expanded="true" autocapitalize="off" autocomplete="off" placeholder="Search the docs" maxLength="100"/><ul role="listbox" id="tsd-search-results"></ul><div id="tsd-search-status" aria-live="polite" aria-atomic="true"><div>Preparing search index...</div></div></dialog><a href="#" class="tsd-widget menu" id="tsd-toolbar-menu-trigger" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-menu"></use></svg></a></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb" aria-label="Breadcrumb"><li><a href="" aria-current="page">BleSDK</a></li></ul><h1>Class BleSDK</h1></div><section class="tsd-panel tsd-comment"><div class="tsd-comment tsd-typography"><p>Convert data into firmware commands. Call the corresponding method to get the appropriate command, and send this command to the firmware.
|
|
2
2
|
The <code>dataParsingWithData</code> method parses the firmware response into an object form.</p>
|
|
3
|
-
</div></section><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/MoShenGuo/ms-data-sdk/blob/
|
|
3
|
+
</div></section><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/MoShenGuo/ms-data-sdk/blob/9064f1c711bb84d3c1f7d7ab866aa5e71842969d/src/sdk/bleSDK.ts#L10">bleSDK.ts:10</a></li></ul></aside><section class="tsd-panel-group tsd-index-group"><section class="tsd-panel tsd-index-panel"><details class="tsd-index-content tsd-accordion" open><summary class="tsd-accordion-summary tsd-index-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h5 class="tsd-index-heading uppercase">Index</h5></summary><div class="tsd-accordion-details"><section class="tsd-index-section"><h3 class="tsd-index-heading">Constructors</h3><div class="tsd-index-list"><a href="#constructor" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Constructor"><use href="../assets/icons.svg#icon-512"></use></svg><span>constructor</span></a>
|
|
4
4
|
</div></section><section class="tsd-index-section"><h3 class="tsd-index-heading">Properties</h3><div class="tsd-index-list"><a href="#data_delete" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>DATA_<wbr/>DELETE</span></a>
|
|
5
5
|
<a href="#data_read_continue" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>DATA_<wbr/>READ_<wbr/>CONTINUE</span></a>
|
|
6
6
|
<a href="#data_read_start" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>DATA_<wbr/>READ_<wbr/>START</span></a>
|
|
@@ -20,12 +20,17 @@ The <code>dataParsingWithData</code> method parses the firmware response into an
|
|
|
20
20
|
<a href="#wriston_disenable" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>Wrist<wbr/>On_<wbr/>Dis<wbr/>Enable</span></a>
|
|
21
21
|
<a href="#wriston_enable" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>Wrist<wbr/>On_<wbr/>Enable</span></a>
|
|
22
22
|
</div></section><section class="tsd-index-section"><h3 class="tsd-index-heading">Methods</h3><div class="tsd-index-list"><a href="#bloodsugarwithmode" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>bloodsugar<wbr/>With<wbr/>Mode</span></a>
|
|
23
|
+
<a href="#clearbraceletdata" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>clear<wbr/>Bracelet<wbr/>Data</span></a>
|
|
23
24
|
<a href="#closebluedevice" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>close<wbr/>Blue<wbr/>Device</span></a>
|
|
25
|
+
<a href="#confirmunbind" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>confirm<wbr/>Unbind</span></a>
|
|
24
26
|
<a href="#dataparsingwithdata" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>data<wbr/>Parsing<wbr/>With<wbr/>Data</span></a>
|
|
25
27
|
<a href="#deleteallalarmclock" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>delete<wbr/>All<wbr/>Alarm<wbr/>Clock</span></a>
|
|
28
|
+
<a href="#deleteallecghistory" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>delete<wbr/>All<wbr/>Ecg<wbr/>History</span></a>
|
|
26
29
|
<a href="#endbloodsugar" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>end<wbr/>Blood<wbr/>Sugar</span></a>
|
|
27
30
|
<a href="#enteractivitymode" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>enter<wbr/>Activity<wbr/>Mode</span></a>
|
|
28
31
|
<a href="#enterota" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>enter<wbr/>OTA</span></a>
|
|
32
|
+
<a href="#entersos" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>enter<wbr/>SOS</span></a>
|
|
33
|
+
<a href="#entertakephoto" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>enter<wbr/>Take<wbr/>Photo</span></a>
|
|
29
34
|
<a href="#getactivitymodedatawithmode" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Activity<wbr/>Mode<wbr/>Data<wbr/>With<wbr/>Mode</span></a>
|
|
30
35
|
<a href="#getalarmclock" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Alarm<wbr/>Clock</span></a>
|
|
31
36
|
<a href="#getautobloodoxygen" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Auto<wbr/>Blood<wbr/>Oxygen</span></a>
|
|
@@ -42,27 +47,33 @@ The <code>dataParsingWithData</code> method parses the firmware response into an
|
|
|
42
47
|
<a href="#getdevicetime" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Device<wbr/>Time</span></a>
|
|
43
48
|
<a href="#getdeviceversion" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Device<wbr/>Version</span></a>
|
|
44
49
|
<a href="#getdynamichrwithmode" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Dynamic<wbr/>HR<wbr/>With<wbr/>Mode</span></a>
|
|
50
|
+
<a href="#getecghistory" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Ecg<wbr/>History</span></a>
|
|
45
51
|
<a href="#gethrvdatawithmode" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>HRV<wbr/>Data<wbr/>With<wbr/>Mode</span></a>
|
|
46
52
|
<a href="#gethrvtesttime" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Hrv<wbr/>Test<wbr/>Time</span></a>
|
|
47
53
|
<a href="#getpersonalinfo" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Personal<wbr/>Info</span></a>
|
|
48
54
|
<a href="#getppiddatawithmode" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>PPID<wbr/>Data<wbr/>With<wbr/>Mode</span></a>
|
|
49
55
|
<a href="#getrealtimesleepdatawithmode" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Real<wbr/>Time<wbr/>Sleep<wbr/>Data<wbr/>With<wbr/>Mode</span></a>
|
|
50
56
|
<a href="#getsedentaryreminder" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Sedentary<wbr/>Reminder</span></a>
|
|
57
|
+
<a href="#getsocialsetting" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Social<wbr/>Setting</span></a>
|
|
51
58
|
<a href="#getstatichrwithmode" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Static<wbr/>HR<wbr/>With<wbr/>Mode</span></a>
|
|
52
59
|
<a href="#getstepgoal" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>Get<wbr/>Step<wbr/>Goal</span></a>
|
|
53
60
|
<a href="#gettemperature_historydatawithmode" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Temperature_<wbr/>history<wbr/>Data<wbr/>With<wbr/>Mode</span></a>
|
|
54
61
|
<a href="#gettotalactivitydatawithmode" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Total<wbr/>Activity<wbr/>Data<wbr/>With<wbr/>Mode</span></a>
|
|
55
62
|
<a href="#gettotalactivitydatawithmodefortime" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Total<wbr/>Activity<wbr/>Data<wbr/>With<wbr/>Mode<wbr/>For<wbr/>Time</span></a>
|
|
56
63
|
<a href="#healthmeasurementwithdatatype" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>health<wbr/>Measurement<wbr/>With<wbr/>Data<wbr/>Type</span></a>
|
|
64
|
+
<a href="#mapweathercode" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>map<wbr/>Weather<wbr/>Code</span></a>
|
|
57
65
|
<a href="#mcureset" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>mcu<wbr/>Reset</span></a>
|
|
58
66
|
<a href="#progressbloodsugar" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>progress<wbr/>Blood<wbr/>Sugar</span></a>
|
|
67
|
+
<a href="#realecgwave" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>real<wbr/>ECG<wbr/>Wave</span></a>
|
|
59
68
|
<a href="#realtimestep" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>real<wbr/>Time<wbr/>Step</span></a>
|
|
69
|
+
<a href="#remindercommand" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>reminder<wbr/>Command</span></a>
|
|
60
70
|
<a href="#reset" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>reset</span></a>
|
|
61
71
|
<a href="#sendheartpackage" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>send<wbr/>Heart<wbr/>Package</span></a>
|
|
62
72
|
<a href="#sendhex" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>send<wbr/>Hex</span></a>
|
|
63
73
|
<a href="#setalarmclock" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Alarm<wbr/>Clock</span></a>
|
|
64
74
|
<a href="#setautomatichrmonitoring" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Automatic<wbr/>HR<wbr/>Monitoring</span></a>
|
|
65
75
|
<a href="#setbraceletdial" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Braceletdial</span></a>
|
|
76
|
+
<a href="#setdeviceid" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Device<wbr/>ID</span></a>
|
|
66
77
|
<a href="#setdeviceinfo" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Device<wbr/>Info</span></a>
|
|
67
78
|
<a href="#setdeviceinfov5" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Device<wbr/>Info<wbr/>V5</span></a>
|
|
68
79
|
<a href="#setdevicename" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Device<wbr/>Name</span></a>
|
|
@@ -70,155 +81,180 @@ The <code>dataParsingWithData</code> method parses the firmware response into an
|
|
|
70
81
|
<a href="#sethrvtesttime" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Hrv<wbr/>Test<wbr/>Time</span></a>
|
|
71
82
|
<a href="#setpersonalinfo" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Personal<wbr/>Info</span></a>
|
|
72
83
|
<a href="#setsedentaryreminder" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Sedentary<wbr/>Reminder</span></a>
|
|
84
|
+
<a href="#setsocialsetting" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Social<wbr/>Setting</span></a>
|
|
73
85
|
<a href="#setstepgoal" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Step<wbr/>Goal</span></a>
|
|
74
86
|
<a href="#startbloodsugar" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>start<wbr/>Blood<wbr/>Sugar</span></a>
|
|
87
|
+
<a href="#startppgrealtime" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>start<wbr/>PPG<wbr/>Realtime</span></a>
|
|
75
88
|
<a href="#stopgo" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>stop<wbr/>Go</span></a>
|
|
76
|
-
</div></section></div></details></section></section><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Constructors"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h2>Constructors</h2></summary><section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="constructor"><span>constructor</span><a href="#constructor" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="constructorblesdk"><span class="tsd-signature-keyword">new</span> <span class="tsd-kind-constructor-signature">BleSDK</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <a href="" class="tsd-signature-type tsd-kind-class">BleSDK</a><a href="#constructorblesdk" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><h4 class="tsd-returns-title">Returns <a href="" class="tsd-signature-type tsd-kind-class">BleSDK</a></h4></div></li></ul></section></section></details><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Properties"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h2>Properties</h2></summary><section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="data_delete"><code class="tsd-tag">Static</code><span>DATA_<wbr/>DELETE</span><a href="#data_delete" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">DATA_DELETE</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 99</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/MoShenGuo/ms-data-sdk/blob/9644e725c9d5fa84ec81134d235f0b4afc1d8fa1/src/sdk/bleSDK.ts#L13">bleSDK.ts:13</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="data_read_continue"><code class="tsd-tag">Static</code><span>DATA_<wbr/>READ_<wbr/>CONTINUE</span><a href="#data_read_continue" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">DATA_READ_CONTINUE</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 2</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/MoShenGuo/ms-data-sdk/blob/9644e725c9d5fa84ec81134d235f0b4afc1d8fa1/src/sdk/bleSDK.ts#L12">bleSDK.ts:12</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="data_read_start"><code class="tsd-tag">Static</code><span>DATA_<wbr/>READ_<wbr/>START</span><a href="#data_read_start" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">DATA_READ_START</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 0</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/MoShenGuo/ms-data-sdk/blob/9644e725c9d5fa84ec81134d235f0b4afc1d8fa1/src/sdk/bleSDK.ts#L11">bleSDK.ts:11</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="distancemode_km"><code class="tsd-tag">Static</code><span>Distance<wbr/>Mode_<wbr/>KM</span><a href="#distancemode_km" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">DistanceMode_KM</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 0x80</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/MoShenGuo/ms-data-sdk/blob/9644e725c9d5fa84ec81134d235f0b4afc1d8fa1/src/sdk/bleSDK.ts#L15">bleSDK.ts:15</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="distancemode_mile"><code class="tsd-tag">Static</code><span>Distance<wbr/>Mode_<wbr/>MILE</span><a href="#distancemode_mile" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">DistanceMode_MILE</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 0x81</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/MoShenGuo/ms-data-sdk/blob/9644e725c9d5fa84ec81134d235f0b4afc1d8fa1/src/sdk/bleSDK.ts#L14">bleSDK.ts:14</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="ecgopen"><code class="tsd-tag">Static</code><span>ecgopen</span><a href="#ecgopen" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">ecgopen</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = false</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/MoShenGuo/ms-data-sdk/blob/9644e725c9d5fa84ec81134d235f0b4afc1d8fa1/src/sdk/bleSDK.ts#L24">bleSDK.ts:24</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="isruning"><code class="tsd-tag">Static</code><span>is<wbr/>Runing</span><a href="#isruning" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">isRuning</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = false</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/MoShenGuo/ms-data-sdk/blob/9644e725c9d5fa84ec81134d235f0b4afc1d8fa1/src/sdk/bleSDK.ts#L23">bleSDK.ts:23</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="issettingsocial"><code class="tsd-tag">Static</code><span>is<wbr/>Setting<wbr/>Social</span><a href="#issettingsocial" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">isSettingSocial</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = false</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/MoShenGuo/ms-data-sdk/blob/9644e725c9d5fa84ec81134d235f0b4afc1d8fa1/src/sdk/bleSDK.ts#L27">bleSDK.ts:27</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="pregnancycycleread"><code class="tsd-tag">Static</code><span>pregnancy<wbr/>Cycle<wbr/>Read</span><a href="#pregnancycycleread" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">pregnancyCycleRead</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = false</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/MoShenGuo/ms-data-sdk/blob/9644e725c9d5fa84ec81134d235f0b4afc1d8fa1/src/sdk/bleSDK.ts#L26">bleSDK.ts:26</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="read"><code class="tsd-tag">Static</code><span>read</span><a href="#read" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">read</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = false</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/MoShenGuo/ms-data-sdk/blob/9644e725c9d5fa84ec81134d235f0b4afc1d8fa1/src/sdk/bleSDK.ts#L25">bleSDK.ts:25</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="startdevicemeasurementwithtype"><code class="tsd-tag">Static</code><span>Start<wbr/>Device<wbr/>Measurement<wbr/>With<wbr/>Type</span><a href="#startdevicemeasurementwithtype" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">StartDeviceMeasurementWithType</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = false</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/MoShenGuo/ms-data-sdk/blob/9644e725c9d5fa84ec81134d235f0b4afc1d8fa1/src/sdk/bleSDK.ts#L28">bleSDK.ts:28</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="tag"><code class="tsd-tag">Static</code><span>TAG</span><a href="#tag" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">TAG</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> = "BleSDK"</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/MoShenGuo/ms-data-sdk/blob/9644e725c9d5fa84ec81134d235f0b4afc1d8fa1/src/sdk/bleSDK.ts#L22">bleSDK.ts:22</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="tempunit_c"><code class="tsd-tag">Static</code><span>Temp<wbr/>Unit_<wbr/>C</span><a href="#tempunit_c" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">TempUnit_C</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 0x80</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/MoShenGuo/ms-data-sdk/blob/9644e725c9d5fa84ec81134d235f0b4afc1d8fa1/src/sdk/bleSDK.ts#L20">bleSDK.ts:20</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="tempunit_f"><code class="tsd-tag">Static</code><span>Temp<wbr/>Unit_<wbr/>F</span><a href="#tempunit_f" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">TempUnit_F</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 0x81</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/MoShenGuo/ms-data-sdk/blob/9644e725c9d5fa84ec81134d235f0b4afc1d8fa1/src/sdk/bleSDK.ts#L21">bleSDK.ts:21</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="timemode_12h"><code class="tsd-tag">Static</code><span>Time<wbr/>Mode_<wbr/>12h</span><a href="#timemode_12h" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">TimeMode_12h</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 0x81</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/MoShenGuo/ms-data-sdk/blob/9644e725c9d5fa84ec81134d235f0b4afc1d8fa1/src/sdk/bleSDK.ts#L16">bleSDK.ts:16</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="timemode_24h"><code class="tsd-tag">Static</code><span>Time<wbr/>Mode_<wbr/>24h</span><a href="#timemode_24h" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">TimeMode_24h</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 0x80</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/MoShenGuo/ms-data-sdk/blob/9644e725c9d5fa84ec81134d235f0b4afc1d8fa1/src/sdk/bleSDK.ts#L17">bleSDK.ts:17</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="wriston_disenable"><code class="tsd-tag">Static</code><span>Wrist<wbr/>On_<wbr/>Dis<wbr/>Enable</span><a href="#wriston_disenable" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">WristOn_DisEnable</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 0x80</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/MoShenGuo/ms-data-sdk/blob/9644e725c9d5fa84ec81134d235f0b4afc1d8fa1/src/sdk/bleSDK.ts#L19">bleSDK.ts:19</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="wriston_enable"><code class="tsd-tag">Static</code><span>Wrist<wbr/>On_<wbr/>Enable</span><a href="#wriston_enable" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">WristOn_Enable</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 0x81</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/MoShenGuo/ms-data-sdk/blob/9644e725c9d5fa84ec81134d235f0b4afc1d8fa1/src/sdk/bleSDK.ts#L18">bleSDK.ts:18</a></li></ul></aside></section></section></details><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Methods"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h2>Methods</h2></summary><section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="bloodsugarwithmode"><code class="tsd-tag">Static</code><span>bloodsugar<wbr/>With<wbr/>Mode</span><a href="#bloodsugarwithmode" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="bloodsugarwithmode-1"><span class="tsd-kind-call-signature">bloodsugarWithMode</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">ppgMode</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">,</span> <span class="tsd-kind-parameter">ppgStatus</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><a href="#bloodsugarwithmode-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Blood Glucose</p>
|
|
89
|
+
<a href="#texttoutf8bytessafe" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>text<wbr/>To<wbr/>Utf8<wbr/>Bytes<wbr/>Safe</span></a>
|
|
90
|
+
<a href="#updateweather" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>update<wbr/>Weather</span></a>
|
|
91
|
+
</div></section></div></details></section></section><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Constructors"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h2>Constructors</h2></summary><section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="constructor"><span>constructor</span><a href="#constructor" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="constructorblesdk"><span class="tsd-signature-keyword">new</span> <span class="tsd-kind-constructor-signature">BleSDK</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <a href="" class="tsd-signature-type tsd-kind-class">BleSDK</a><a href="#constructorblesdk" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><h4 class="tsd-returns-title">Returns <a href="" class="tsd-signature-type tsd-kind-class">BleSDK</a></h4></div></li></ul></section></section></details><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Properties"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h2>Properties</h2></summary><section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="data_delete"><code class="tsd-tag">Static</code><span>DATA_<wbr/>DELETE</span><a href="#data_delete" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">DATA_DELETE</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 99</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/MoShenGuo/ms-data-sdk/blob/9064f1c711bb84d3c1f7d7ab866aa5e71842969d/src/sdk/bleSDK.ts#L13">bleSDK.ts:13</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="data_read_continue"><code class="tsd-tag">Static</code><span>DATA_<wbr/>READ_<wbr/>CONTINUE</span><a href="#data_read_continue" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">DATA_READ_CONTINUE</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 2</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/MoShenGuo/ms-data-sdk/blob/9064f1c711bb84d3c1f7d7ab866aa5e71842969d/src/sdk/bleSDK.ts#L12">bleSDK.ts:12</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="data_read_start"><code class="tsd-tag">Static</code><span>DATA_<wbr/>READ_<wbr/>START</span><a href="#data_read_start" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">DATA_READ_START</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 0</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/MoShenGuo/ms-data-sdk/blob/9064f1c711bb84d3c1f7d7ab866aa5e71842969d/src/sdk/bleSDK.ts#L11">bleSDK.ts:11</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="distancemode_km"><code class="tsd-tag">Static</code><span>Distance<wbr/>Mode_<wbr/>KM</span><a href="#distancemode_km" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">DistanceMode_KM</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 0x80</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/MoShenGuo/ms-data-sdk/blob/9064f1c711bb84d3c1f7d7ab866aa5e71842969d/src/sdk/bleSDK.ts#L15">bleSDK.ts:15</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="distancemode_mile"><code class="tsd-tag">Static</code><span>Distance<wbr/>Mode_<wbr/>MILE</span><a href="#distancemode_mile" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">DistanceMode_MILE</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 0x81</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/MoShenGuo/ms-data-sdk/blob/9064f1c711bb84d3c1f7d7ab866aa5e71842969d/src/sdk/bleSDK.ts#L14">bleSDK.ts:14</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="ecgopen"><code class="tsd-tag">Static</code><span>ecgopen</span><a href="#ecgopen" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">ecgopen</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = false</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/MoShenGuo/ms-data-sdk/blob/9064f1c711bb84d3c1f7d7ab866aa5e71842969d/src/sdk/bleSDK.ts#L24">bleSDK.ts:24</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="isruning"><code class="tsd-tag">Static</code><span>is<wbr/>Runing</span><a href="#isruning" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">isRuning</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = false</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/MoShenGuo/ms-data-sdk/blob/9064f1c711bb84d3c1f7d7ab866aa5e71842969d/src/sdk/bleSDK.ts#L23">bleSDK.ts:23</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="issettingsocial"><code class="tsd-tag">Static</code><span>is<wbr/>Setting<wbr/>Social</span><a href="#issettingsocial" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">isSettingSocial</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = false</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/MoShenGuo/ms-data-sdk/blob/9064f1c711bb84d3c1f7d7ab866aa5e71842969d/src/sdk/bleSDK.ts#L27">bleSDK.ts:27</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="pregnancycycleread"><code class="tsd-tag">Static</code><span>pregnancy<wbr/>Cycle<wbr/>Read</span><a href="#pregnancycycleread" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">pregnancyCycleRead</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = false</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/MoShenGuo/ms-data-sdk/blob/9064f1c711bb84d3c1f7d7ab866aa5e71842969d/src/sdk/bleSDK.ts#L26">bleSDK.ts:26</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="read"><code class="tsd-tag">Static</code><span>read</span><a href="#read" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">read</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = false</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/MoShenGuo/ms-data-sdk/blob/9064f1c711bb84d3c1f7d7ab866aa5e71842969d/src/sdk/bleSDK.ts#L25">bleSDK.ts:25</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="startdevicemeasurementwithtype"><code class="tsd-tag">Static</code><span>Start<wbr/>Device<wbr/>Measurement<wbr/>With<wbr/>Type</span><a href="#startdevicemeasurementwithtype" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">StartDeviceMeasurementWithType</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = false</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/MoShenGuo/ms-data-sdk/blob/9064f1c711bb84d3c1f7d7ab866aa5e71842969d/src/sdk/bleSDK.ts#L28">bleSDK.ts:28</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="tag"><code class="tsd-tag">Static</code><span>TAG</span><a href="#tag" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">TAG</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> = "BleSDK"</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/MoShenGuo/ms-data-sdk/blob/9064f1c711bb84d3c1f7d7ab866aa5e71842969d/src/sdk/bleSDK.ts#L22">bleSDK.ts:22</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="tempunit_c"><code class="tsd-tag">Static</code><span>Temp<wbr/>Unit_<wbr/>C</span><a href="#tempunit_c" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">TempUnit_C</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 0x80</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/MoShenGuo/ms-data-sdk/blob/9064f1c711bb84d3c1f7d7ab866aa5e71842969d/src/sdk/bleSDK.ts#L20">bleSDK.ts:20</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="tempunit_f"><code class="tsd-tag">Static</code><span>Temp<wbr/>Unit_<wbr/>F</span><a href="#tempunit_f" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">TempUnit_F</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 0x81</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/MoShenGuo/ms-data-sdk/blob/9064f1c711bb84d3c1f7d7ab866aa5e71842969d/src/sdk/bleSDK.ts#L21">bleSDK.ts:21</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="timemode_12h"><code class="tsd-tag">Static</code><span>Time<wbr/>Mode_<wbr/>12h</span><a href="#timemode_12h" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">TimeMode_12h</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 0x81</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/MoShenGuo/ms-data-sdk/blob/9064f1c711bb84d3c1f7d7ab866aa5e71842969d/src/sdk/bleSDK.ts#L16">bleSDK.ts:16</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="timemode_24h"><code class="tsd-tag">Static</code><span>Time<wbr/>Mode_<wbr/>24h</span><a href="#timemode_24h" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">TimeMode_24h</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 0x80</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/MoShenGuo/ms-data-sdk/blob/9064f1c711bb84d3c1f7d7ab866aa5e71842969d/src/sdk/bleSDK.ts#L17">bleSDK.ts:17</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="wriston_disenable"><code class="tsd-tag">Static</code><span>Wrist<wbr/>On_<wbr/>Dis<wbr/>Enable</span><a href="#wriston_disenable" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">WristOn_DisEnable</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 0x80</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/MoShenGuo/ms-data-sdk/blob/9064f1c711bb84d3c1f7d7ab866aa5e71842969d/src/sdk/bleSDK.ts#L19">bleSDK.ts:19</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="wriston_enable"><code class="tsd-tag">Static</code><span>Wrist<wbr/>On_<wbr/>Enable</span><a href="#wriston_enable" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">WristOn_Enable</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 0x81</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/MoShenGuo/ms-data-sdk/blob/9064f1c711bb84d3c1f7d7ab866aa5e71842969d/src/sdk/bleSDK.ts#L18">bleSDK.ts:18</a></li></ul></aside></section></section></details><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Methods"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h2>Methods</h2></summary><section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="bloodsugarwithmode"><code class="tsd-tag">Static</code><span>bloodsugar<wbr/>With<wbr/>Mode</span><a href="#bloodsugarwithmode" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="bloodsugarwithmode-1"><span class="tsd-kind-call-signature">bloodsugarWithMode</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">ppgMode</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">,</span> <span class="tsd-kind-parameter">ppgStatus</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><a href="#bloodsugarwithmode-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Blood Glucose</p>
|
|
77
92
|
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">ppgMode</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>1: start measurement</p>
|
|
78
|
-
</div></li><li><span><span class="tsd-kind-parameter">ppgStatus</span>: <span class="tsd-signature-type">number</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/MoShenGuo/ms-data-sdk/blob/
|
|
93
|
+
</div></li><li><span><span class="tsd-kind-parameter">ppgStatus</span>: <span class="tsd-signature-type">number</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/MoShenGuo/ms-data-sdk/blob/9064f1c711bb84d3c1f7d7ab866aa5e71842969d/src/sdk/bleSDK.ts#L283">bleSDK.ts:283</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="clearbraceletdata"><code class="tsd-tag">Static</code><span>clear<wbr/>Bracelet<wbr/>Data</span><a href="#clearbraceletdata" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="clearbraceletdata-1"><span class="tsd-kind-call-signature">clearBraceletData</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><a href="#clearbraceletdata-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>One-click clear the historical data of the wristband without putting it into sleep mode.</p>
|
|
94
|
+
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/MoShenGuo/ms-data-sdk/blob/9064f1c711bb84d3c1f7d7ab866aa5e71842969d/src/sdk/bleSDK.ts#L1561">bleSDK.ts:1561</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="closebluedevice"><code class="tsd-tag">Static</code><span>close<wbr/>Blue<wbr/>Device</span><a href="#closebluedevice" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="closebluedevice-1"><span class="tsd-kind-call-signature">closeBlueDevice</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><a href="#closebluedevice-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Disconnect Bluetooth</p>
|
|
79
95
|
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span></h4><p>{number[]} Command packet to send to the firmware</p>
|
|
80
|
-
<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/MoShenGuo/ms-data-sdk/blob/
|
|
96
|
+
<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/MoShenGuo/ms-data-sdk/blob/9064f1c711bb84d3c1f7d7ab866aa5e71842969d/src/sdk/bleSDK.ts#L409">bleSDK.ts:409</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="confirmunbind"><code class="tsd-tag">Static</code><span>confirm<wbr/>Unbind</span><a href="#confirmunbind" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="confirmunbind-1"><span class="tsd-kind-call-signature">confirmUnbind</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">confirm</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><a href="#confirmunbind-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Confirm unbind action</p>
|
|
97
|
+
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">confirm</span>: <span class="tsd-signature-type">boolean</span></span><div class="tsd-comment tsd-typography"><p>true = Yes (0x81), false = No (0x80)</p>
|
|
98
|
+
</div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/MoShenGuo/ms-data-sdk/blob/9064f1c711bb84d3c1f7d7ab866aa5e71842969d/src/sdk/bleSDK.ts#L1584">bleSDK.ts:1584</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="dataparsingwithdata"><code class="tsd-tag">Static</code><span>data<wbr/>Parsing<wbr/>With<wbr/>Data</span><a href="#dataparsingwithdata" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="dataparsingwithdata-1"><span class="tsd-kind-call-signature">dataParsingWithData</span><span class="tsd-signature-symbol">(</span><br/> <span class="tsd-kind-parameter">value</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">,</span><br/> <span class="tsd-kind-parameter">deviceType</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">DeviceType</span><span class="tsd-signature-symbol">,</span><br/><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">{</span> <span class="tsd-signature-symbol">[</span><span class="tsd-kind-index-signature">key</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">]:</span> <span class="tsd-signature-type">any</span> <span class="tsd-signature-symbol">}</span><a href="#dataparsingwithdata-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Data parsing method;All returned data resembles a dictionary type. Use <code>data_type</code> to retrieve corresponding data—e.g., <code>GetDetailSleepData</code> indicates sleep data. <code>data</code> represents specific data, which is an array (possibly containing dictionaries). Each array element is a dictionary representing a data point. <code>end</code> indicates whether data collection is complete: <code>true</code> means finished, <code>false</code> means incomplete.</p>
|
|
81
99
|
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">value</span>: <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span></span></li><li><span><span class="tsd-kind-parameter">deviceType</span>: <span class="tsd-signature-type">DeviceType</span><span class="tsd-signature-symbol"> = '2208'</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-symbol">{</span> <span class="tsd-signature-symbol">[</span><span class="tsd-kind-index-signature">key</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">]:</span> <span class="tsd-signature-type">any</span> <span class="tsd-signature-symbol">}</span></h4><p>The parsed data</p>
|
|
82
|
-
<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/MoShenGuo/ms-data-sdk/blob/
|
|
100
|
+
<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/MoShenGuo/ms-data-sdk/blob/9064f1c711bb84d3c1f7d7ab866aa5e71842969d/src/sdk/bleSDK.ts#L76">bleSDK.ts:76</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="deleteallalarmclock"><code class="tsd-tag">Static</code><span>delete<wbr/>All<wbr/>Alarm<wbr/>Clock</span><a href="#deleteallalarmclock" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="deleteallalarmclock-1"><span class="tsd-kind-call-signature">deleteAllAlarmClock</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><a href="#deleteallalarmclock-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Delete all alarms</p>
|
|
83
101
|
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span></h4><p>{number[]} Command packet to send to the firmware</p>
|
|
84
|
-
<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/MoShenGuo/ms-data-sdk/blob/
|
|
102
|
+
<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/MoShenGuo/ms-data-sdk/blob/9064f1c711bb84d3c1f7d7ab866aa5e71842969d/src/sdk/bleSDK.ts#L1282">bleSDK.ts:1282</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="deleteallecghistory"><code class="tsd-tag">Static</code><span>delete<wbr/>All<wbr/>Ecg<wbr/>History</span><a href="#deleteallecghistory" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="deleteallecghistory-1"><span class="tsd-kind-call-signature">deleteAllEcgHistory</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><a href="#deleteallecghistory-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Delete all HRV test data</p>
|
|
103
|
+
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span></h4><p>{number[]} command packet, to be sent to the firmware</p>
|
|
104
|
+
<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/MoShenGuo/ms-data-sdk/blob/9064f1c711bb84d3c1f7d7ab866aa5e71842969d/src/sdk/bleSDK.ts#L1644">bleSDK.ts:1644</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="endbloodsugar"><code class="tsd-tag">Static</code><span>end<wbr/>Blood<wbr/>Sugar</span><a href="#endbloodsugar" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="endbloodsugar-1"><span class="tsd-kind-call-signature">endBloodSugar</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><a href="#endbloodsugar-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Stop blood sugar measurement</p>
|
|
85
105
|
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span></h4><p>{number[]} Command packet to send to the firmware</p>
|
|
86
|
-
<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/MoShenGuo/ms-data-sdk/blob/
|
|
106
|
+
<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/MoShenGuo/ms-data-sdk/blob/9064f1c711bb84d3c1f7d7ab866aa5e71842969d/src/sdk/bleSDK.ts#L448">bleSDK.ts:448</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="enteractivitymode"><code class="tsd-tag">Static</code><span>enter<wbr/>Activity<wbr/>Mode</span><a href="#enteractivitymode" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="enteractivitymode-1"><span class="tsd-kind-call-signature">enterActivityMode</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">activityMode</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">,</span> <span class="tsd-kind-parameter">WorkMode</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><a href="#enteractivitymode-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Activity mode control</p>
|
|
87
107
|
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">activityMode</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>Type of activity mode</p>
|
|
88
108
|
</div></li><li><span><span class="tsd-kind-parameter">WorkMode</span>: <span class="tsd-signature-type">number</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span></h4><p>{number[]} Command packet to send to the firmware</p>
|
|
89
|
-
<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/MoShenGuo/ms-data-sdk/blob/
|
|
90
|
-
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/MoShenGuo/ms-data-sdk/blob/
|
|
109
|
+
<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/MoShenGuo/ms-data-sdk/blob/9064f1c711bb84d3c1f7d7ab866aa5e71842969d/src/sdk/bleSDK.ts#L591">bleSDK.ts:591</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="enterota"><code class="tsd-tag">Static</code><span>enter<wbr/>OTA</span><a href="#enterota" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="enterota-1"><span class="tsd-kind-call-signature">enterOTA</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><a href="#enterota-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Entering dfu mode</p>
|
|
110
|
+
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/MoShenGuo/ms-data-sdk/blob/9064f1c711bb84d3c1f7d7ab866aa5e71842969d/src/sdk/bleSDK.ts#L694">bleSDK.ts:694</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="entersos"><code class="tsd-tag">Static</code><span>enter<wbr/>SOS</span><a href="#entersos" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="entersos-1"><span class="tsd-kind-call-signature">enterSOS</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><a href="#entersos-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>SOS function</p>
|
|
111
|
+
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/MoShenGuo/ms-data-sdk/blob/9064f1c711bb84d3c1f7d7ab866aa5e71842969d/src/sdk/bleSDK.ts#L1550">bleSDK.ts:1550</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="entertakephoto"><code class="tsd-tag">Static</code><span>enter<wbr/>Take<wbr/>Photo</span><a href="#entertakephoto" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="entertakephoto-1"><span class="tsd-kind-call-signature">enterTakePhoto</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><a href="#entertakephoto-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Entering Take Photo mode</p>
|
|
112
|
+
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/MoShenGuo/ms-data-sdk/blob/9064f1c711bb84d3c1f7d7ab866aa5e71842969d/src/sdk/bleSDK.ts#L1540">bleSDK.ts:1540</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="getactivitymodedatawithmode"><code class="tsd-tag">Static</code><span>get<wbr/>Activity<wbr/>Mode<wbr/>Data<wbr/>With<wbr/>Mode</span><a href="#getactivitymodedatawithmode" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="getactivitymodedatawithmode-1"><span class="tsd-kind-call-signature">getActivityModeDataWithMode</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">mode</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><a href="#getactivitymodedatawithmode-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Get multi-sport mode data</p>
|
|
91
113
|
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">mode</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>0: Start reading from the latest position (up to 50 records)
|
|
92
114
|
2: Continue reading from the previous position (when total records exceed 50)
|
|
93
115
|
0x99: Delete all GPS data</p>
|
|
94
116
|
</div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span></h4><p>{number[]} Command packet to send to the device</p>
|
|
95
|
-
<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/MoShenGuo/ms-data-sdk/blob/
|
|
117
|
+
<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/MoShenGuo/ms-data-sdk/blob/9064f1c711bb84d3c1f7d7ab866aa5e71842969d/src/sdk/bleSDK.ts#L1108">bleSDK.ts:1108</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="getalarmclock"><code class="tsd-tag">Static</code><span>get<wbr/>Alarm<wbr/>Clock</span><a href="#getalarmclock" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="getalarmclock-1"><span class="tsd-kind-call-signature">getAlarmClock</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><a href="#getalarmclock-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Get alarm clocks</p>
|
|
96
118
|
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span></h4><p>{number[]} Command packet to send to the firmware</p>
|
|
97
|
-
<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/MoShenGuo/ms-data-sdk/blob/
|
|
119
|
+
<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/MoShenGuo/ms-data-sdk/blob/9064f1c711bb84d3c1f7d7ab866aa5e71842969d/src/sdk/bleSDK.ts#L1270">bleSDK.ts:1270</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="getautobloodoxygen"><code class="tsd-tag">Static</code><span>get<wbr/>Auto<wbr/>Blood<wbr/>Oxygen</span><a href="#getautobloodoxygen" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="getautobloodoxygen-1"><span class="tsd-kind-call-signature">getAutoBloodOxygen</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">mode</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">,</span> <span class="tsd-kind-parameter">time</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><a href="#getautobloodoxygen-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Get blood oxygen (SpO2) data (automatic measurement)</p>
|
|
98
120
|
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">mode</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>0: Read the most recent data
|
|
99
121
|
2: Continue reading from the previous position
|
|
100
122
|
99: Delete data</p>
|
|
101
123
|
</div></li><li><span><span class="tsd-kind-parameter">time</span>: <span class="tsd-signature-type">string</span></span><div class="tsd-comment tsd-typography"><p>Date and time in format yyyy-MM-dd HH:mm:ss</p>
|
|
102
124
|
</div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span></h4><p>{number[]} Command packet to send to the device</p>
|
|
103
|
-
<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/MoShenGuo/ms-data-sdk/blob/
|
|
125
|
+
<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/MoShenGuo/ms-data-sdk/blob/9064f1c711bb84d3c1f7d7ab866aa5e71842969d/src/sdk/bleSDK.ts#L1180">bleSDK.ts:1180</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="getautomatichrmonitoring"><code class="tsd-tag">Static</code><span>get<wbr/>Automatic<wbr/>HR<wbr/>Monitoring</span><a href="#getautomatichrmonitoring" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="getautomatichrmonitoring-1"><span class="tsd-kind-call-signature">getAutomaticHRMonitoring</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">type</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><a href="#getautomatichrmonitoring-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Read automatic heart rate measurement periods</p>
|
|
104
126
|
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">type</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>1: Read heart rate time settings, 2: Read SpO2 time settings, 4: Read HRV time period settings</p>
|
|
105
127
|
</div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span></h4><p>{number[]} Command packet to send to the device</p>
|
|
106
|
-
<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/MoShenGuo/ms-data-sdk/blob/
|
|
128
|
+
<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/MoShenGuo/ms-data-sdk/blob/9064f1c711bb84d3c1f7d7ab866aa5e71842969d/src/sdk/bleSDK.ts#L1092">bleSDK.ts:1092</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="getaxillarytemperaturedatawithmode"><code class="tsd-tag">Static</code><span>get<wbr/>Axillary<wbr/>Temperature<wbr/>Data<wbr/>With<wbr/>Mode</span><a href="#getaxillarytemperaturedatawithmode" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="getaxillarytemperaturedatawithmode-1"><span class="tsd-kind-call-signature">getAxillaryTemperatureDataWithMode</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">mode</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">,</span> <span class="tsd-kind-parameter">time</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><a href="#getaxillarytemperaturedatawithmode-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Manual temperature test data</p>
|
|
107
129
|
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">mode</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>0 - read the latest detailed data,
|
|
108
130
|
2 - continue from the last read position,
|
|
109
131
|
99 - delete data</p>
|
|
110
132
|
</div></li><li><span><span class="tsd-kind-parameter">time</span>: <span class="tsd-signature-type">string</span></span><div class="tsd-comment tsd-typography"><p>Date string in format yyyy-MM-dd HH:mm:ss</p>
|
|
111
133
|
</div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span></h4><p>{number[]} Command packet to send to the firmware</p>
|
|
112
|
-
<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/MoShenGuo/ms-data-sdk/blob/
|
|
134
|
+
<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/MoShenGuo/ms-data-sdk/blob/9064f1c711bb84d3c1f7d7ab866aa5e71842969d/src/sdk/bleSDK.ts#L567">bleSDK.ts:567</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="getbloodoxygen"><code class="tsd-tag">Static</code><span>get<wbr/>Blood<wbr/>Oxygen</span><a href="#getbloodoxygen" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="getbloodoxygen-1"><span class="tsd-kind-call-signature">getBloodOxygen</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">mode</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">,</span> <span class="tsd-kind-parameter">time</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><a href="#getbloodoxygen-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Get blood oxygen (SpO2) data</p>
|
|
113
135
|
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">mode</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>0: Read the most recent data
|
|
114
136
|
2: Continue reading from the previous position
|
|
115
137
|
99: Delete data</p>
|
|
116
138
|
</div></li><li><span><span class="tsd-kind-parameter">time</span>: <span class="tsd-signature-type">string</span></span><div class="tsd-comment tsd-typography"><p>Date and time in format yyyy-MM-dd HH:mm:ss</p>
|
|
117
139
|
</div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span></h4><p>{number[]} Command packet to send to the device</p>
|
|
118
|
-
<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/MoShenGuo/ms-data-sdk/blob/
|
|
140
|
+
<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/MoShenGuo/ms-data-sdk/blob/9064f1c711bb84d3c1f7d7ab866aa5e71842969d/src/sdk/bleSDK.ts#L1161">bleSDK.ts:1161</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="getdetailactivitydatawithmodefortime"><code class="tsd-tag">Static</code><span>get<wbr/>Detail<wbr/>Activity<wbr/>Data<wbr/>With<wbr/>Mode<wbr/>For<wbr/>Time</span><a href="#getdetailactivitydatawithmodefortime" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="getdetailactivitydatawithmodefortime-1"><span class="tsd-kind-call-signature">getDetailActivityDataWithModeForTime</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">mode</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">,</span> <span class="tsd-kind-parameter">time</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><a href="#getdetailactivitydatawithmodefortime-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Get detailed step data</p>
|
|
119
141
|
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">mode</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>0 - read the latest detailed data,
|
|
120
142
|
2 - continue from the last read position,
|
|
121
143
|
99 - delete data</p>
|
|
122
144
|
</div></li><li><span><span class="tsd-kind-parameter">time</span>: <span class="tsd-signature-type">string</span></span><div class="tsd-comment tsd-typography"><p>Date string in format yyyy-MM-dd HH:mm:ss</p>
|
|
123
145
|
</div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span></h4><p>{number[]} Command packet to send to the firmware</p>
|
|
124
|
-
<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/MoShenGuo/ms-data-sdk/blob/
|
|
146
|
+
<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/MoShenGuo/ms-data-sdk/blob/9064f1c711bb84d3c1f7d7ab866aa5e71842969d/src/sdk/bleSDK.ts#L533">bleSDK.ts:533</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="getdetailsleepdatawithmode"><code class="tsd-tag">Static</code><span>get<wbr/>Detail<wbr/>Sleep<wbr/>Data<wbr/>With<wbr/>Mode</span><a href="#getdetailsleepdatawithmode" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="getdetailsleepdatawithmode-1"><span class="tsd-kind-call-signature">getDetailSleepDataWithMode</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">mode</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><a href="#getdetailsleepdatawithmode-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Get detailed sleep data</p>
|
|
125
147
|
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">mode</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>0 - read the most recent detailed sleep data
|
|
126
148
|
2 - continue reading the next segment from the previous position
|
|
127
149
|
99 - delete sleep data</p>
|
|
128
150
|
</div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span></h4><p>{number[]} detailed sleep data</p>
|
|
129
|
-
<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/MoShenGuo/ms-data-sdk/blob/
|
|
151
|
+
<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/MoShenGuo/ms-data-sdk/blob/9064f1c711bb84d3c1f7d7ab866aa5e71842969d/src/sdk/bleSDK.ts#L302">bleSDK.ts:302</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="getdetailsleepdatawithmodefortime"><code class="tsd-tag">Static</code><span>get<wbr/>Detail<wbr/>Sleep<wbr/>Data<wbr/>With<wbr/>Mode<wbr/>For<wbr/>Time</span><a href="#getdetailsleepdatawithmodefortime" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="getdetailsleepdatawithmodefortime-1"><span class="tsd-kind-call-signature">getDetailSleepDataWithModeForTime</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">mode</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">,</span> <span class="tsd-kind-parameter">time</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><a href="#getdetailsleepdatawithmodefortime-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Get detailed sleep data</p>
|
|
130
152
|
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">mode</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>0 - read the latest sleep data,
|
|
131
153
|
2 - continue from the last read position,
|
|
132
154
|
99 - delete sleep data</p>
|
|
133
155
|
</div></li><li><span><span class="tsd-kind-parameter">time</span>: <span class="tsd-signature-type">string</span></span><div class="tsd-comment tsd-typography"><p>Date string in format yyyy-MM-dd HH:mm:ss</p>
|
|
134
156
|
</div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span></h4><p>{number[]} Command packet to send to the firmware</p>
|
|
135
|
-
<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/MoShenGuo/ms-data-sdk/blob/
|
|
157
|
+
<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/MoShenGuo/ms-data-sdk/blob/9064f1c711bb84d3c1f7d7ab866aa5e71842969d/src/sdk/bleSDK.ts#L515">bleSDK.ts:515</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="getdevicebatterylevel"><code class="tsd-tag">Static</code><span>get<wbr/>Device<wbr/>Battery<wbr/>Level</span><a href="#getdevicebatterylevel" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="getdevicebatterylevel-1"><span class="tsd-kind-call-signature">getDeviceBatteryLevel</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><a href="#getdevicebatterylevel-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Get device battery level</p>
|
|
136
158
|
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span></h4><p>{number[]} Command packet to send to the device firmware</p>
|
|
137
|
-
<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/MoShenGuo/ms-data-sdk/blob/
|
|
159
|
+
<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/MoShenGuo/ms-data-sdk/blob/9064f1c711bb84d3c1f7d7ab866aa5e71842969d/src/sdk/bleSDK.ts#L742">bleSDK.ts:742</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="getdeviceinfo"><code class="tsd-tag">Static</code><span>get<wbr/>Device<wbr/>Info</span><a href="#getdeviceinfo" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="getdeviceinfo-1"><span class="tsd-kind-call-signature">getDeviceInfo</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><a href="#getdeviceinfo-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Get basic parameters of the wristband (device information)</p>
|
|
138
160
|
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span></h4><p>Uint8Array Command packet (7 bytes) for sending via BLE</p>
|
|
139
|
-
<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/MoShenGuo/ms-data-sdk/blob/
|
|
161
|
+
<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/MoShenGuo/ms-data-sdk/blob/9064f1c711bb84d3c1f7d7ab866aa5e71842969d/src/sdk/bleSDK.ts#L1250">bleSDK.ts:1250</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="getdevicemacaddress"><code class="tsd-tag">Static</code><span>get<wbr/>Device<wbr/>Mac<wbr/>Address</span><a href="#getdevicemacaddress" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="getdevicemacaddress-1"><span class="tsd-kind-call-signature">getDeviceMacAddress</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><a href="#getdevicemacaddress-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Get device MAC address</p>
|
|
140
162
|
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span></h4><p>{number[]} Command packet to send to the device firmware</p>
|
|
141
|
-
<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/MoShenGuo/ms-data-sdk/blob/
|
|
163
|
+
<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/MoShenGuo/ms-data-sdk/blob/9064f1c711bb84d3c1f7d7ab866aa5e71842969d/src/sdk/bleSDK.ts#L730">bleSDK.ts:730</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="getdevicename"><code class="tsd-tag">Static</code><span>get<wbr/>Device<wbr/>Name</span><a href="#getdevicename" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="getdevicename-1"><span class="tsd-kind-call-signature">getDeviceName</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><a href="#getdevicename-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>获取设备名称</p>
|
|
142
164
|
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span></h4><p>{number[]} 指令包(7字节)</p>
|
|
143
|
-
<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/MoShenGuo/ms-data-sdk/blob/
|
|
165
|
+
<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/MoShenGuo/ms-data-sdk/blob/9064f1c711bb84d3c1f7d7ab866aa5e71842969d/src/sdk/bleSDK.ts#L789">bleSDK.ts:789</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="getdevicetime"><code class="tsd-tag">Static</code><span>get<wbr/>Device<wbr/>Time</span><a href="#getdevicetime" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="getdevicetime-1"><span class="tsd-kind-call-signature">getDeviceTime</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><a href="#getdevicetime-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Get the device time</p>
|
|
144
166
|
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span></h4><p>{number[]} Command packet to send to the firmware</p>
|
|
145
|
-
<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/MoShenGuo/ms-data-sdk/blob/
|
|
167
|
+
<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/MoShenGuo/ms-data-sdk/blob/9064f1c711bb84d3c1f7d7ab866aa5e71842969d/src/sdk/bleSDK.ts#L832">bleSDK.ts:832</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="getdeviceversion"><code class="tsd-tag">Static</code><span>get<wbr/>Device<wbr/>Version</span><a href="#getdeviceversion" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="getdeviceversion-1"><span class="tsd-kind-call-signature">getDeviceVersion</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><a href="#getdeviceversion-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Get device firmware version</p>
|
|
146
168
|
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span></h4><p>{number[]} Command packet to send to the device firmware</p>
|
|
147
|
-
<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/MoShenGuo/ms-data-sdk/blob/
|
|
169
|
+
<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/MoShenGuo/ms-data-sdk/blob/9064f1c711bb84d3c1f7d7ab866aa5e71842969d/src/sdk/bleSDK.ts#L706">bleSDK.ts:706</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="getdynamichrwithmode"><code class="tsd-tag">Static</code><span>get<wbr/>Dynamic<wbr/>HR<wbr/>With<wbr/>Mode</span><a href="#getdynamichrwithmode" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="getdynamichrwithmode-1"><span class="tsd-kind-call-signature">getDynamicHRWithMode</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">mode</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">,</span> <span class="tsd-kind-parameter">time</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><a href="#getdynamichrwithmode-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Get heart rate data</p>
|
|
148
170
|
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">mode</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>0: Read the most recent data
|
|
149
171
|
2: Continue reading from the previous position
|
|
150
172
|
99: Delete data</p>
|
|
151
173
|
</div></li><li><span><span class="tsd-kind-parameter">time</span>: <span class="tsd-signature-type">string</span></span><div class="tsd-comment tsd-typography"><p>Date and time in format yyyy-MM-dd HH:mm:ss</p>
|
|
152
174
|
</div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span></h4><p>{number[]} Command packet to send to the device</p>
|
|
153
|
-
<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/MoShenGuo/ms-data-sdk/blob/
|
|
175
|
+
<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/MoShenGuo/ms-data-sdk/blob/9064f1c711bb84d3c1f7d7ab866aa5e71842969d/src/sdk/bleSDK.ts#L1143">bleSDK.ts:1143</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="getecghistory"><code class="tsd-tag">Static</code><span>get<wbr/>Ecg<wbr/>History</span><a href="#getecghistory" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="getecghistory-1"><span class="tsd-kind-call-signature">getEcgHistory</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">index</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">,</span> <span class="tsd-kind-parameter">time</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><a href="#getecghistory-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Get HRV test data</p>
|
|
176
|
+
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">index</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>Read the data from the first read test. The range is from 0 to 9, and a total of 10 sets of waveforms are saved.</p>
|
|
177
|
+
</div></li><li><span><span class="tsd-kind-parameter">time</span>: <span class="tsd-signature-type">string</span></span><div class="tsd-comment tsd-typography"><p>yyyy-MM-dd HH:mm:ss</p>
|
|
178
|
+
</div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span></h4><p>{number[]} command packet, to be sent to the firmware</p>
|
|
179
|
+
<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/MoShenGuo/ms-data-sdk/blob/9064f1c711bb84d3c1f7d7ab866aa5e71842969d/src/sdk/bleSDK.ts#L1632">bleSDK.ts:1632</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="gethrvdatawithmode"><code class="tsd-tag">Static</code><span>get<wbr/>HRV<wbr/>Data<wbr/>With<wbr/>Mode</span><a href="#gethrvdatawithmode" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="gethrvdatawithmode-1"><span class="tsd-kind-call-signature">getHRVDataWithMode</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">mode</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">,</span> <span class="tsd-kind-parameter">time</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><a href="#gethrvdatawithmode-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Get HRV test data</p>
|
|
154
180
|
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">mode</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>0 - read the most recent detailed data
|
|
155
181
|
2 - continue reading the next segment from the previous position
|
|
156
182
|
99 - delete data</p>
|
|
157
183
|
</div></li><li><span><span class="tsd-kind-parameter">time</span>: <span class="tsd-signature-type">string</span></span><div class="tsd-comment tsd-typography"><p>yyyy-MM-dd HH:mm:ss</p>
|
|
158
184
|
</div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span></h4><p>{number[]} command packet, to be sent to the firmware</p>
|
|
159
|
-
<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/MoShenGuo/ms-data-sdk/blob/
|
|
185
|
+
<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/MoShenGuo/ms-data-sdk/blob/9064f1c711bb84d3c1f7d7ab866aa5e71842969d/src/sdk/bleSDK.ts#L334">bleSDK.ts:334</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="gethrvtesttime"><code class="tsd-tag">Static</code><span>get<wbr/>Hrv<wbr/>Test<wbr/>Time</span><a href="#gethrvtesttime" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="gethrvtesttime-1"><span class="tsd-kind-call-signature">getHrvTestTime</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><a href="#gethrvtesttime-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>HRV test data</p>
|
|
160
186
|
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span></h4><p>{number[]} Command packet to send to the firmware</p>
|
|
161
|
-
<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/MoShenGuo/ms-data-sdk/blob/
|
|
187
|
+
<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/MoShenGuo/ms-data-sdk/blob/9064f1c711bb84d3c1f7d7ab866aa5e71842969d/src/sdk/bleSDK.ts#L382">bleSDK.ts:382</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="getpersonalinfo"><code class="tsd-tag">Static</code><span>get<wbr/>Personal<wbr/>Info</span><a href="#getpersonalinfo" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="getpersonalinfo-1"><span class="tsd-kind-call-signature">getPersonalInfo</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><a href="#getpersonalinfo-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Get personal information</p>
|
|
162
188
|
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span></h4><p>{number[]} Command packet to send to the firmware</p>
|
|
163
|
-
<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/MoShenGuo/ms-data-sdk/blob/
|
|
189
|
+
<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/MoShenGuo/ms-data-sdk/blob/9064f1c711bb84d3c1f7d7ab866aa5e71842969d/src/sdk/bleSDK.ts#L683">bleSDK.ts:683</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="getppiddatawithmode"><code class="tsd-tag">Static</code><span>get<wbr/>PPID<wbr/>Data<wbr/>With<wbr/>Mode</span><a href="#getppiddatawithmode" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="getppiddatawithmode-1"><span class="tsd-kind-call-signature">getPPIDDataWithMode</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">mode</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><a href="#getppiddatawithmode-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>PPI data</p>
|
|
164
190
|
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">mode</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>99: Delete PPI data
|
|
165
191
|
0: Read the most recent PPI data
|
|
166
192
|
1: Read PPI data at a specified position
|
|
167
193
|
2: Continue reading the next segment from the last read position</p>
|
|
168
194
|
</div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span></h4><p>{number[]} command packet, to be sent to the firmware</p>
|
|
169
|
-
<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/MoShenGuo/ms-data-sdk/blob/
|
|
195
|
+
<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/MoShenGuo/ms-data-sdk/blob/9064f1c711bb84d3c1f7d7ab866aa5e71842969d/src/sdk/bleSDK.ts#L360">bleSDK.ts:360</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="getrealtimesleepdatawithmode"><code class="tsd-tag">Static</code><span>get<wbr/>Real<wbr/>Time<wbr/>Sleep<wbr/>Data<wbr/>With<wbr/>Mode</span><a href="#getrealtimesleepdatawithmode" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="getrealtimesleepdatawithmode-1"><span class="tsd-kind-call-signature">getRealTimeSleepDataWithMode</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">mode</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><a href="#getrealtimesleepdatawithmode-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Get detailed sleep data + activity level</p>
|
|
170
196
|
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">mode</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>0: Read the most recent sleep detail data
|
|
171
197
|
1: Read sleep detail data at the specified position.<br>
|
|
172
198
|
2: Continue reading the next segment of data from the last read position.
|
|
173
199
|
0x99: Delete sleep detail data.</p>
|
|
174
200
|
</div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span></h4><p>{number[]} Command packet to send to the device</p>
|
|
175
|
-
<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/MoShenGuo/ms-data-sdk/blob/
|
|
201
|
+
<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/MoShenGuo/ms-data-sdk/blob/9064f1c711bb84d3c1f7d7ab866aa5e71842969d/src/sdk/bleSDK.ts#L1528">bleSDK.ts:1528</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="getsedentaryreminder"><code class="tsd-tag">Static</code><span>get<wbr/>Sedentary<wbr/>Reminder</span><a href="#getsedentaryreminder" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="getsedentaryreminder-1"><span class="tsd-kind-call-signature">getSedentaryReminder</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><a href="#getsedentaryreminder-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Get sedentary reminder settings</p>
|
|
176
202
|
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span></h4><p>{number[]} Command packet to send to the firmware</p>
|
|
177
|
-
<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/MoShenGuo/ms-data-sdk/blob/
|
|
203
|
+
<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/MoShenGuo/ms-data-sdk/blob/9064f1c711bb84d3c1f7d7ab866aa5e71842969d/src/sdk/bleSDK.ts#L1479">bleSDK.ts:1479</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="getsocialsetting"><code class="tsd-tag">Static</code><span>get<wbr/>Social<wbr/>Setting</span><a href="#getsocialsetting" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="getsocialsetting-1"><span class="tsd-kind-call-signature">getSocialSetting</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><a href="#getsocialsetting-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Get Social Distance parameters</p>
|
|
204
|
+
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/MoShenGuo/ms-data-sdk/blob/9064f1c711bb84d3c1f7d7ab866aa5e71842969d/src/sdk/bleSDK.ts#L1614">bleSDK.ts:1614</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="getstatichrwithmode"><code class="tsd-tag">Static</code><span>get<wbr/>Static<wbr/>HR<wbr/>With<wbr/>Mode</span><a href="#getstatichrwithmode" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="getstatichrwithmode-1"><span class="tsd-kind-call-signature">getStaticHRWithMode</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">mode</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">,</span> <span class="tsd-kind-parameter">time</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><a href="#getstatichrwithmode-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Get single heart rate data (interval heart rate measurement)</p>
|
|
178
205
|
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">mode</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>0: Read the most recent data
|
|
179
206
|
2: Continue reading from the previous position
|
|
180
207
|
99: Delete data</p>
|
|
181
208
|
</div></li><li><span><span class="tsd-kind-parameter">time</span>: <span class="tsd-signature-type">string</span></span><div class="tsd-comment tsd-typography"><p>Date and time in format yyyy-MM-dd HH:mm:ss</p>
|
|
182
209
|
</div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span></h4><p>{number[]} Command packet to send to the device</p>
|
|
183
|
-
<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/MoShenGuo/ms-data-sdk/blob/
|
|
210
|
+
<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/MoShenGuo/ms-data-sdk/blob/9064f1c711bb84d3c1f7d7ab866aa5e71842969d/src/sdk/bleSDK.ts#L1125">bleSDK.ts:1125</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="getstepgoal"><code class="tsd-tag">Static</code><span>Get<wbr/>Step<wbr/>Goal</span><a href="#getstepgoal" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="getstepgoal-1"><span class="tsd-kind-call-signature">GetStepGoal</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><a href="#getstepgoal-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Read step goal</p>
|
|
184
211
|
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span></h4><p>{number[]} Command byte array to send to the device</p>
|
|
185
|
-
<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/MoShenGuo/ms-data-sdk/blob/
|
|
212
|
+
<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/MoShenGuo/ms-data-sdk/blob/9064f1c711bb84d3c1f7d7ab866aa5e71842969d/src/sdk/bleSDK.ts#L1239">bleSDK.ts:1239</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="gettemperature_historydatawithmode"><code class="tsd-tag">Static</code><span>get<wbr/>Temperature_<wbr/>history<wbr/>Data<wbr/>With<wbr/>Mode</span><a href="#gettemperature_historydatawithmode" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="gettemperature_historydatawithmode-1"><span class="tsd-kind-call-signature">getTemperature_historyDataWithMode</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">mode</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">,</span> <span class="tsd-kind-parameter">time</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><a href="#gettemperature_historydatawithmode-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Automatic temperature test data</p>
|
|
186
213
|
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">mode</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>0 - read the latest detailed data,
|
|
187
214
|
2 - continue from the last read position,
|
|
188
215
|
99 - delete data</p>
|
|
189
216
|
</div></li><li><span><span class="tsd-kind-parameter">time</span>: <span class="tsd-signature-type">string</span></span><div class="tsd-comment tsd-typography"><p>Date string in format yyyy-MM-dd HH:mm:ss</p>
|
|
190
217
|
</div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span></h4><p>{number[]} Command packet to send to the firmware</p>
|
|
191
|
-
<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/MoShenGuo/ms-data-sdk/blob/
|
|
218
|
+
<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/MoShenGuo/ms-data-sdk/blob/9064f1c711bb84d3c1f7d7ab866aa5e71842969d/src/sdk/bleSDK.ts#L550">bleSDK.ts:550</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="gettotalactivitydatawithmode"><code class="tsd-tag">Static</code><span>get<wbr/>Total<wbr/>Activity<wbr/>Data<wbr/>With<wbr/>Mode</span><a href="#gettotalactivitydatawithmode" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="gettotalactivitydatawithmode-1"><span class="tsd-kind-call-signature">getTotalActivityDataWithMode</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">mode</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><a href="#gettotalactivitydatawithmode-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Get total activity data for a specific day</p>
|
|
192
219
|
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">mode</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>Indicates reading from the latest position (up to 50 data sets),
|
|
193
220
|
2: continue reading from the last position (when total data > 50),
|
|
194
221
|
0x99: delete all activity data</p>
|
|
195
222
|
</div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span></h4><p>{number[]} Command packet to send to the firmware</p>
|
|
196
|
-
<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/MoShenGuo/ms-data-sdk/blob/
|
|
223
|
+
<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/MoShenGuo/ms-data-sdk/blob/9064f1c711bb84d3c1f7d7ab866aa5e71842969d/src/sdk/bleSDK.ts#L464">bleSDK.ts:464</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="gettotalactivitydatawithmodefortime"><code class="tsd-tag">Static</code><span>get<wbr/>Total<wbr/>Activity<wbr/>Data<wbr/>With<wbr/>Mode<wbr/>For<wbr/>Time</span><a href="#gettotalactivitydatawithmodefortime" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="gettotalactivitydatawithmodefortime-1"><span class="tsd-kind-call-signature">getTotalActivityDataWithModeForTime</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">mode</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">,</span> <span class="tsd-kind-parameter">time</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><a href="#gettotalactivitydatawithmodefortime-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Get the latest total activity data for a specific date</p>
|
|
197
224
|
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">mode</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>0 - read from the latest position (up to 50 data sets),
|
|
198
225
|
2 - continue reading from the last position (when total data > 50),
|
|
199
226
|
99 - delete all activity data</p>
|
|
200
227
|
</div></li><li><span><span class="tsd-kind-parameter">time</span>: <span class="tsd-signature-type">string</span></span><div class="tsd-comment tsd-typography"><p>Date string in format yyyy-MM-dd HH:mm:ss</p>
|
|
201
228
|
</div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span></h4><p>{number[]} Command packet to send to the firmware</p>
|
|
202
|
-
<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/MoShenGuo/ms-data-sdk/blob/
|
|
203
|
-
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">dataType</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>Measurement type: 0x01 - HRV, 0x02 - Heart rate, 0x03 - Blood oxygen
|
|
229
|
+
<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/MoShenGuo/ms-data-sdk/blob/9064f1c711bb84d3c1f7d7ab866aa5e71842969d/src/sdk/bleSDK.ts#L489">bleSDK.ts:489</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="healthmeasurementwithdatatype"><code class="tsd-tag">Static</code><span>health<wbr/>Measurement<wbr/>With<wbr/>Data<wbr/>Type</span><a href="#healthmeasurementwithdatatype" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="healthmeasurementwithdatatype-1"><span class="tsd-kind-call-signature">healthMeasurementWithDataType</span><span class="tsd-signature-symbol">(</span><br/> <span class="tsd-kind-parameter">dataType</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">,</span><br/> <span class="tsd-kind-parameter">open</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">,</span><br/> <span class="tsd-kind-parameter">measurementTime</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">null</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">,</span><br/><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><a href="#healthmeasurementwithdatatype-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Health measurement control</p>
|
|
230
|
+
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">dataType</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>Measurement type: 0x01 - HRV, 0x02 - Heart rate, 0x03 - Blood oxygen Ox04 - ECG,</p>
|
|
204
231
|
</div></li><li><span><span class="tsd-kind-parameter">open</span>: <span class="tsd-signature-type">boolean</span></span><div class="tsd-comment tsd-typography"><p>1 to start measurement, 0 to stop measurement</p>
|
|
232
|
+
</div></li><li><span><span class="tsd-kind-parameter">measurementTime</span>: <span class="tsd-signature-type">null</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>Measurement duration in seconds</p>
|
|
205
233
|
</div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span></h4><p>{number[]} Command packet to send to the firmware</p>
|
|
206
|
-
<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/MoShenGuo/ms-data-sdk/blob/
|
|
234
|
+
<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/MoShenGuo/ms-data-sdk/blob/9064f1c711bb84d3c1f7d7ab866aa5e71842969d/src/sdk/bleSDK.ts#L1015">bleSDK.ts:1015</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="mapweathercode"><code class="tsd-tag">Static</code><span>map<wbr/>Weather<wbr/>Code</span><a href="#mapweathercode" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="mapweathercode-1"><span class="tsd-kind-call-signature">mapWeatherCode</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">code</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><a href="#mapweathercode-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Seniverse weather code → device AA</p>
|
|
235
|
+
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">code</span>: <span class="tsd-signature-type">string</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">number</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/MoShenGuo/ms-data-sdk/blob/9064f1c711bb84d3c1f7d7ab866aa5e71842969d/src/sdk/bleSDK.ts#L995">bleSDK.ts:995</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="mcureset"><code class="tsd-tag">Static</code><span>mcu<wbr/>Reset</span><a href="#mcureset" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="mcureset-1"><span class="tsd-kind-call-signature">mcuReset</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><a href="#mcureset-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Reboot the device</p>
|
|
207
236
|
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span></h4><p>{number[]} Command packet to send to the device firmware</p>
|
|
208
|
-
<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/MoShenGuo/ms-data-sdk/blob/
|
|
237
|
+
<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/MoShenGuo/ms-data-sdk/blob/9064f1c711bb84d3c1f7d7ab866aa5e71842969d/src/sdk/bleSDK.ts#L754">bleSDK.ts:754</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="progressbloodsugar"><code class="tsd-tag">Static</code><span>progress<wbr/>Blood<wbr/>Sugar</span><a href="#progressbloodsugar" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="progressbloodsugar-1"><span class="tsd-kind-call-signature">progressBloodSugar</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">progress</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><a href="#progressbloodsugar-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Set blood sugar measurement progress</p>
|
|
209
238
|
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">progress</span>: <span class="tsd-signature-type">number</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span></h4><p>{number[]} Command packet to send to the firmware</p>
|
|
210
|
-
<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/MoShenGuo/ms-data-sdk/blob/
|
|
239
|
+
<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/MoShenGuo/ms-data-sdk/blob/9064f1c711bb84d3c1f7d7ab866aa5e71842969d/src/sdk/bleSDK.ts#L434">bleSDK.ts:434</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="realecgwave"><code class="tsd-tag">Static</code><span>real<wbr/>ECG<wbr/>Wave</span><a href="#realecgwave" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="realecgwave-1"><span class="tsd-kind-call-signature">realECGWave</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">open</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><a href="#realecgwave-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">open</span>: <span class="tsd-signature-type">boolean</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span></h4><p>{number[]}</p>
|
|
240
|
+
<div class="tsd-comment tsd-typography"><div class="tsd-tag-static"><h4 class="tsd-anchor-link" id="static">Static<a href="#static" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><p>ECG real-time waveform</p>
|
|
241
|
+
</div><div class="tsd-tag-memberof"><h4 class="tsd-anchor-link" id="memberof">Memberof<a href="#memberof" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><p>BleSDK</p>
|
|
242
|
+
</div></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/MoShenGuo/ms-data-sdk/blob/9064f1c711bb84d3c1f7d7ab866aa5e71842969d/src/sdk/bleSDK.ts#L1040">bleSDK.ts:1040</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="realtimestep"><code class="tsd-tag">Static</code><span>real<wbr/>Time<wbr/>Step</span><a href="#realtimestep" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="realtimestep-1"><span class="tsd-kind-call-signature">realTimeStep</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">enable</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">,</span> <span class="tsd-kind-parameter">tempEnable</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><a href="#realtimestep-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Enable or disable real-time step counting mode</p>
|
|
211
243
|
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">enable</span>: <span class="tsd-signature-type">boolean</span></span><div class="tsd-comment tsd-typography"><p>true: start real-time step counting, false: stop real-time step counting</p>
|
|
212
244
|
</div></li><li><span><span class="tsd-kind-parameter">tempEnable</span>: <span class="tsd-signature-type">boolean</span></span><div class="tsd-comment tsd-typography"><p>true: enable real-time temperature, false: disable real-time temperature</p>
|
|
213
245
|
</div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span></h4><p>{number[]} Command packet to send to the firmware</p>
|
|
214
|
-
<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/MoShenGuo/ms-data-sdk/blob/
|
|
246
|
+
<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/MoShenGuo/ms-data-sdk/blob/9064f1c711bb84d3c1f7d7ab866aa5e71842969d/src/sdk/bleSDK.ts#L638">bleSDK.ts:638</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="remindercommand"><code class="tsd-tag">Static</code><span>reminder<wbr/>Command</span><a href="#remindercommand" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="remindercommand-1"><span class="tsd-kind-call-signature">reminderCommand</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">type</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">,</span> <span class="tsd-kind-parameter">message</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">,</span> <span class="tsd-kind-parameter">contact</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><a href="#remindercommand-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Generate reminder command</p>
|
|
247
|
+
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">type</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>reminder type (0~11, 0xFF = stop call)</p>
|
|
248
|
+
</div></li><li><span><span class="tsd-kind-parameter">message</span>: <span class="tsd-signature-type">string</span></span><div class="tsd-comment tsd-typography"><p>reminder content (max 60 bytes)</p>
|
|
249
|
+
</div></li><li><span><span class="tsd-kind-parameter">contact</span>: <span class="tsd-signature-type">string</span></span><div class="tsd-comment tsd-typography"><p>contact content (max 15 bytes)</p>
|
|
250
|
+
</div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/MoShenGuo/ms-data-sdk/blob/9064f1c711bb84d3c1f7d7ab866aa5e71842969d/src/sdk/bleSDK.ts#L921">bleSDK.ts:921</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="reset"><code class="tsd-tag">Static</code><span>reset</span><a href="#reset" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="reset-1"><span class="tsd-kind-call-signature">reset</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><a href="#reset-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Restore factory settings</p>
|
|
215
251
|
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span></h4><p>{number[]} Command packet to send to the device firmware</p>
|
|
216
|
-
<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/MoShenGuo/ms-data-sdk/blob/
|
|
252
|
+
<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/MoShenGuo/ms-data-sdk/blob/9064f1c711bb84d3c1f7d7ab866aa5e71842969d/src/sdk/bleSDK.ts#L718">bleSDK.ts:718</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="sendheartpackage"><code class="tsd-tag">Static</code><span>send<wbr/>Heart<wbr/>Package</span><a href="#sendheartpackage" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="sendheartpackage-1"><span class="tsd-kind-call-signature">sendHeartPackage</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">distance</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">,</span> <span class="tsd-kind-parameter">space</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">,</span> <span class="tsd-kind-parameter">rssi</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><a href="#sendheartpackage-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Send heartbeat packet for activity mode (used with "EnterActivityMode")
|
|
217
253
|
When the band enters multi-activity mode via the APP, the APP must send a data packet to the band every second, otherwise the band will exit multi-activity mode.</p>
|
|
218
254
|
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">distance</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>Distance in kilometers (floating point)</p>
|
|
219
255
|
</div></li><li><span><span class="tsd-kind-parameter">space</span>: <span class="tsd-signature-type">number</span></span></li><li><span><span class="tsd-kind-parameter">rssi</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>APP GPS signal strength. Possible values: 1, 2, 3</p>
|
|
220
256
|
</div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span></h4><p>{number[]} Command packet to send to the firmware</p>
|
|
221
|
-
<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/MoShenGuo/ms-data-sdk/blob/
|
|
257
|
+
<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/MoShenGuo/ms-data-sdk/blob/9064f1c711bb84d3c1f7d7ab866aa5e71842969d/src/sdk/bleSDK.ts#L608">bleSDK.ts:608</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="sendhex"><code class="tsd-tag">Static</code><span>send<wbr/>Hex</span><a href="#sendhex" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="sendhex-1"><span class="tsd-kind-call-signature">sendHex</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">data</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">,</span> <span class="tsd-kind-parameter">isCrc</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><a href="#sendhex-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">data</span>: <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span></span></li><li><span><span class="tsd-kind-parameter">isCrc</span>: <span class="tsd-signature-type">boolean</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/MoShenGuo/ms-data-sdk/blob/9064f1c711bb84d3c1f7d7ab866aa5e71842969d/src/sdk/bleSDK.ts#L1257">bleSDK.ts:1257</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="setalarmclock"><code class="tsd-tag">Static</code><span>set<wbr/>Alarm<wbr/>Clock</span><a href="#setalarmclock" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="setalarmclock-1"><span class="tsd-kind-call-signature">setAlarmClock</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">arrayClockAlarm</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">[]</span><a href="#setalarmclock-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Set all alarms</p>
|
|
222
258
|
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">arrayClockAlarm</span>: <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">[]</span></span><div class="tsd-comment tsd-typography"><p>Array of alarm configurations. Each element is an object with the following properties:</p>
|
|
223
259
|
<ul>
|
|
224
260
|
<li>openOrClose: boolean, whether the alarm is enabled</li>
|
|
@@ -229,38 +265,52 @@ When the band enters multi-activity mode via the APP, the APP must send a data p
|
|
|
229
265
|
<li>text: string, text to display for the alarm</li>
|
|
230
266
|
</ul>
|
|
231
267
|
</div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">[]</span></h4><p>{number[][]} Command packets to send to the firmware</p>
|
|
232
|
-
<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/MoShenGuo/ms-data-sdk/blob/
|
|
268
|
+
<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/MoShenGuo/ms-data-sdk/blob/9064f1c711bb84d3c1f7d7ab866aa5e71842969d/src/sdk/bleSDK.ts#L1303">bleSDK.ts:1303</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="setautomatichrmonitoring"><code class="tsd-tag">Static</code><span>set<wbr/>Automatic<wbr/>HR<wbr/>Monitoring</span><a href="#setautomatichrmonitoring" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="setautomatichrmonitoring-1"><span class="tsd-kind-call-signature">setAutomaticHRMonitoring</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">autoHeart</span><span class="tsd-signature-symbol">:</span> <a href="../interfaces/MyAutomaticHRMonitoring.html" class="tsd-signature-type tsd-kind-interface">MyAutomaticHRMonitoring</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><a href="#setautomatichrmonitoring-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Read the automatic measurement time periods</p>
|
|
233
269
|
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">autoHeart</span>: <a href="../interfaces/MyAutomaticHRMonitoring.html" class="tsd-signature-type tsd-kind-interface">MyAutomaticHRMonitoring</a></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span></h4><p>{number[]} Command packet to send to the device</p>
|
|
234
|
-
<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/MoShenGuo/ms-data-sdk/blob/
|
|
270
|
+
<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/MoShenGuo/ms-data-sdk/blob/9064f1c711bb84d3c1f7d7ab866aa5e71842969d/src/sdk/bleSDK.ts#L1069">bleSDK.ts:1069</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="setbraceletdial"><code class="tsd-tag">Static</code><span>set<wbr/>Braceletdial</span><a href="#setbraceletdial" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="setbraceletdial-1"><span class="tsd-kind-call-signature">setBraceletdial</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">mode</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><a href="#setbraceletdial-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Set the wristband dial mode</p>
|
|
235
271
|
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">mode</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>Dial mode (0, 1, 2... as defined by the device)</p>
|
|
236
272
|
</div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span></h4><p>{number[]} Command packet (7 bytes)</p>
|
|
237
|
-
<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/MoShenGuo/ms-data-sdk/blob/
|
|
273
|
+
<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/MoShenGuo/ms-data-sdk/blob/9064f1c711bb84d3c1f7d7ab866aa5e71842969d/src/sdk/bleSDK.ts#L1053">bleSDK.ts:1053</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="setdeviceid"><code class="tsd-tag">Static</code><span>set<wbr/>Device<wbr/>ID</span><a href="#setdeviceid" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="setdeviceid-1"><span class="tsd-kind-call-signature">setDeviceID</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">idBytes</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><a href="#setdeviceid-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Generate the "Set Device ID" command</p>
|
|
274
|
+
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">idBytes</span>: <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span></span><div class="tsd-comment tsd-typography"><p>number[] 6-byte ID, high byte first</p>
|
|
275
|
+
</div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span></h4><p>number[] command array ready to send</p>
|
|
276
|
+
<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/MoShenGuo/ms-data-sdk/blob/9064f1c711bb84d3c1f7d7ab866aa5e71842969d/src/sdk/bleSDK.ts#L896">bleSDK.ts:896</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="setdeviceinfo"><code class="tsd-tag">Static</code><span>set<wbr/>Device<wbr/>Info</span><a href="#setdeviceinfo" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="setdeviceinfo-1"><span class="tsd-kind-call-signature">setDeviceInfo</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">deviceBaseParameter</span><span class="tsd-signature-symbol">:</span> <a href="../interfaces/MyDeviceInfo.html" class="tsd-signature-type tsd-kind-interface">MyDeviceInfo</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><a href="#setdeviceinfo-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>2025E Device Information Settings
|
|
277
|
+
Set device information</p>
|
|
238
278
|
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">deviceBaseParameter</span>: <a href="../interfaces/MyDeviceInfo.html" class="tsd-signature-type tsd-kind-interface">MyDeviceInfo</a></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span></h4><p>{number[]} Command packet to send to the firmware</p>
|
|
239
|
-
<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/MoShenGuo/ms-data-sdk/blob/
|
|
279
|
+
<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/MoShenGuo/ms-data-sdk/blob/9064f1c711bb84d3c1f7d7ab866aa5e71842969d/src/sdk/bleSDK.ts#L845">bleSDK.ts:845</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="setdeviceinfov5"><code class="tsd-tag">Static</code><span>set<wbr/>Device<wbr/>Info<wbr/>V5</span><a href="#setdeviceinfov5" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="setdeviceinfov5-1"><span class="tsd-kind-call-signature">setDeviceInfoV5</span><span class="tsd-signature-symbol">(</span><br/> <span class="tsd-kind-parameter">isHeart</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">,</span><br/> <span class="tsd-kind-parameter">isMotionDetection</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">,</span><br/> <span class="tsd-kind-parameter">isDay</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">,</span><br/><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><a href="#setdeviceinfov5-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Set device information</p>
|
|
240
280
|
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">isHeart</span>: <span class="tsd-signature-type">boolean</span></span><div class="tsd-comment tsd-typography"><p>Flash light when heart rate is too high in exercise mode</p>
|
|
241
281
|
</div></li><li><span><span class="tsd-kind-parameter">isMotionDetection</span>: <span class="tsd-signature-type">boolean</span></span><div class="tsd-comment tsd-typography"><p>Flash light during exercise mode</p>
|
|
242
282
|
</div></li><li><span><span class="tsd-kind-parameter">isDay</span>: <span class="tsd-signature-type">boolean</span></span><div class="tsd-comment tsd-typography"><p>Enable all-day heart rate monitoring</p>
|
|
243
|
-
</div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/MoShenGuo/ms-data-sdk/blob/
|
|
283
|
+
</div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/MoShenGuo/ms-data-sdk/blob/9064f1c711bb84d3c1f7d7ab866aa5e71842969d/src/sdk/bleSDK.ts#L874">bleSDK.ts:874</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="setdevicename"><code class="tsd-tag">Static</code><span>set<wbr/>Device<wbr/>Name</span><a href="#setdevicename" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="setdevicename-1"><span class="tsd-kind-call-signature">setDeviceName</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">deviceName</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><a href="#setdevicename-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Set the device name</p>
|
|
244
284
|
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">deviceName</span>: <span class="tsd-signature-type">string</span></span><div class="tsd-comment tsd-typography"><p>Device name (up to 14 ASCII characters)</p>
|
|
245
285
|
</div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span></h4><p>{number[]} Command packet (7 bytes)</p>
|
|
246
|
-
<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/MoShenGuo/ms-data-sdk/blob/
|
|
286
|
+
<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/MoShenGuo/ms-data-sdk/blob/9064f1c711bb84d3c1f7d7ab866aa5e71842969d/src/sdk/bleSDK.ts#L767">bleSDK.ts:767</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="setdevicetime"><code class="tsd-tag">Static</code><span>set<wbr/>Device<wbr/>Time</span><a href="#setdevicetime" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="setdevicetime-1"><span class="tsd-kind-call-signature">setDeviceTime</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">dateTime</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Date</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><a href="#setdevicetime-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Set the device time</p>
|
|
247
287
|
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">dateTime</span>: <span class="tsd-signature-type">Date</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span></h4><p>{number[]} Command packet to send to the firmware</p>
|
|
248
|
-
<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/MoShenGuo/ms-data-sdk/blob/
|
|
288
|
+
<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/MoShenGuo/ms-data-sdk/blob/9064f1c711bb84d3c1f7d7ab866aa5e71842969d/src/sdk/bleSDK.ts#L807">bleSDK.ts:807</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="sethrvtesttime"><code class="tsd-tag">Static</code><span>set<wbr/>Hrv<wbr/>Test<wbr/>Time</span><a href="#sethrvtesttime" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="sethrvtesttime-1"><span class="tsd-kind-call-signature">setHrvTestTime</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">time</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><a href="#sethrvtesttime-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Set HRV test duration</p>
|
|
249
289
|
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">time</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>Duration of the HRV test</p>
|
|
250
290
|
</div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span></h4><p>{number[]} Command packet to send to the firmware</p>
|
|
251
|
-
<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/MoShenGuo/ms-data-sdk/blob/
|
|
291
|
+
<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/MoShenGuo/ms-data-sdk/blob/9064f1c711bb84d3c1f7d7ab866aa5e71842969d/src/sdk/bleSDK.ts#L396">bleSDK.ts:396</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="setpersonalinfo"><code class="tsd-tag">Static</code><span>set<wbr/>Personal<wbr/>Info</span><a href="#setpersonalinfo" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="setpersonalinfo-1"><span class="tsd-kind-call-signature">setPersonalInfo</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">info</span><span class="tsd-signature-symbol">:</span> <a href="../interfaces/MyPersonalInfo.html" class="tsd-signature-type tsd-kind-interface">MyPersonalInfo</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><a href="#setpersonalinfo-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Set personal information</p>
|
|
252
292
|
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">info</span>: <a href="../interfaces/MyPersonalInfo.html" class="tsd-signature-type tsd-kind-interface">MyPersonalInfo</a></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span></h4><p>{number[]} Command packet to send to the firmware</p>
|
|
253
|
-
<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/MoShenGuo/ms-data-sdk/blob/
|
|
293
|
+
<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/MoShenGuo/ms-data-sdk/blob/9064f1c711bb84d3c1f7d7ab866aa5e71842969d/src/sdk/bleSDK.ts#L665">bleSDK.ts:665</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="setsedentaryreminder"><code class="tsd-tag">Static</code><span>set<wbr/>Sedentary<wbr/>Reminder</span><a href="#setsedentaryreminder" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="setsedentaryreminder-1"><span class="tsd-kind-call-signature">setSedentaryReminder</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">reminder</span><span class="tsd-signature-symbol">:</span> <a href="../interfaces/MySedentaryReminderV4.html" class="tsd-signature-type tsd-kind-interface">MySedentaryReminderV4</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><a href="#setsedentaryreminder-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Set sedentary reminder</p>
|
|
254
294
|
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">reminder</span>: <a href="../interfaces/MySedentaryReminderV4.html" class="tsd-signature-type tsd-kind-interface">MySedentaryReminderV4</a></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span></h4><p>{number[]} Command packet to send to the firmware</p>
|
|
255
|
-
<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/MoShenGuo/ms-data-sdk/blob/
|
|
295
|
+
<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/MoShenGuo/ms-data-sdk/blob/9064f1c711bb84d3c1f7d7ab866aa5e71842969d/src/sdk/bleSDK.ts#L1493">bleSDK.ts:1493</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="setsocialsetting"><code class="tsd-tag">Static</code><span>set<wbr/>Social<wbr/>Setting</span><a href="#setsocialsetting" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="setsocialsetting-1"><span class="tsd-kind-call-signature">setSocialSetting</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">interval</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">,</span> <span class="tsd-kind-parameter">duration</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">,</span> <span class="tsd-kind-parameter">rssi</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><a href="#setsocialsetting-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Set Social Distance parameters</p>
|
|
296
|
+
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">interval</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>Interval value (前提是开关打开设置的参数才生效)扫描时间间隔,单位是分钟。默认是2分钟</p>
|
|
297
|
+
</div></li><li><span><span class="tsd-kind-parameter">duration</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>Duration value 每次扫描时长:单位是秒。现在默认是30S</p>
|
|
298
|
+
</div></li><li><span><span class="tsd-kind-parameter">rssi</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>RSSI threshold 报警信号值:类型是int8,现在默认是-90 单字节带符号。</p>
|
|
299
|
+
</div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/MoShenGuo/ms-data-sdk/blob/9064f1c711bb84d3c1f7d7ab866aa5e71842969d/src/sdk/bleSDK.ts#L1597">bleSDK.ts:1597</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="setstepgoal"><code class="tsd-tag">Static</code><span>set<wbr/>Step<wbr/>Goal</span><a href="#setstepgoal" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="setstepgoal-1"><span class="tsd-kind-call-signature">setStepGoal</span><span class="tsd-signature-symbol">(</span><br/> <span class="tsd-kind-parameter">stepGoal</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">,</span><br/> <span class="tsd-kind-parameter">targetExecutionTime</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">,</span><br/> <span class="tsd-kind-parameter">distance</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">,</span><br/> <span class="tsd-kind-parameter">calorie</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">,</span><br/> <span class="tsd-kind-parameter">sleepTime</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">,</span><br/><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><a href="#setstepgoal-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Set step goal command</p>
|
|
256
300
|
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">stepGoal</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>Step goal (int, 4 bytes, Big-Endian)</p>
|
|
257
301
|
</div></li><li><span><span class="tsd-kind-parameter">targetExecutionTime</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>Target completion time (minutes) (int, 2 bytes)</p>
|
|
258
302
|
</div></li><li><span><span class="tsd-kind-parameter">distance</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>Distance goal (kilometers) (int, 2 bytes)</p>
|
|
259
303
|
</div></li><li><span><span class="tsd-kind-parameter">calorie</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>Calorie goal (int, 2 bytes)</p>
|
|
260
304
|
</div></li><li><span><span class="tsd-kind-parameter">sleepTime</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>Sleep time goal (minutes) (int, 2 bytes)</p>
|
|
261
305
|
</div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span></h4><p>number[] Command byte array (16 bytes, including CRC)</p>
|
|
262
|
-
<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/MoShenGuo/ms-data-sdk/blob/
|
|
306
|
+
<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/MoShenGuo/ms-data-sdk/blob/9064f1c711bb84d3c1f7d7ab866aa5e71842969d/src/sdk/bleSDK.ts#L1198">bleSDK.ts:1198</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="startbloodsugar"><code class="tsd-tag">Static</code><span>start<wbr/>Blood<wbr/>Sugar</span><a href="#startbloodsugar" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="startbloodsugar-1"><span class="tsd-kind-call-signature">startBloodSugar</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><a href="#startbloodsugar-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Start blood sugar measurement</p>
|
|
263
307
|
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span></h4><p>{number[]} Command packet to send to the firmware</p>
|
|
264
|
-
<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/MoShenGuo/ms-data-sdk/blob/
|
|
308
|
+
<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/MoShenGuo/ms-data-sdk/blob/9064f1c711bb84d3c1f7d7ab866aa5e71842969d/src/sdk/bleSDK.ts#L420">bleSDK.ts:420</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="startppgrealtime"><code class="tsd-tag">Static</code><span>start<wbr/>PPG<wbr/>Realtime</span><a href="#startppgrealtime" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="startppgrealtime-1"><span class="tsd-kind-call-signature">startPPGRealtime</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">isOpen</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><a href="#startppgrealtime-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>start PPG realtime waveform transmission</p>
|
|
309
|
+
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">isOpen</span>: <span class="tsd-signature-type">boolean</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/MoShenGuo/ms-data-sdk/blob/9064f1c711bb84d3c1f7d7ab866aa5e71842969d/src/sdk/bleSDK.ts#L1571">bleSDK.ts:1571</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="stopgo"><code class="tsd-tag">Static</code><span>stop<wbr/>Go</span><a href="#stopgo" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="stopgo-1"><span class="tsd-kind-call-signature">stopGo</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><a href="#stopgo-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Stop real-time step counting</p>
|
|
265
310
|
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span></h4><p>{number[]} Command packet to send to the firmware</p>
|
|
266
|
-
<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/MoShenGuo/ms-data-sdk/blob/9644e725c9d5fa84ec81134d235f0b4afc1d8fa1/src/sdk/bleSDK.ts#L645">bleSDK.ts:645</a></li></ul></aside></div></li></ul></section></section></details></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h3>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><span class="settings-label">Member Visibility</span><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></div><div class="tsd-theme-toggle"><label class="settings-label" for="tsd-theme">Theme</label><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div><details open class="tsd-accordion tsd-page-navigation"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h3>On This Page</h3></summary><div class="tsd-accordion-details"><details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="section-Constructors"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Constructors</summary><div><a href="#constructor"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Constructor"><use href="../assets/icons.svg#icon-512"></use></svg><span>constructor</span></a></div></details><details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="section-Properties"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Properties</summary><div><a href="#data_delete"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>DATA_<wbr/>DELETE</span></a><a href="#data_read_continue"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>DATA_<wbr/>READ_<wbr/>CONTINUE</span></a><a href="#data_read_start"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>DATA_<wbr/>READ_<wbr/>START</span></a><a href="#distancemode_km"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>Distance<wbr/>Mode_<wbr/>KM</span></a><a href="#distancemode_mile"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>Distance<wbr/>Mode_<wbr/>MILE</span></a><a href="#ecgopen"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>ecgopen</span></a><a href="#isruning"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>is<wbr/>Runing</span></a><a href="#issettingsocial"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>is<wbr/>Setting<wbr/>Social</span></a><a href="#pregnancycycleread"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>pregnancy<wbr/>Cycle<wbr/>Read</span></a><a href="#read"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>read</span></a><a href="#startdevicemeasurementwithtype"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>Start<wbr/>Device<wbr/>Measurement<wbr/>With<wbr/>Type</span></a><a href="#tag"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>TAG</span></a><a href="#tempunit_c"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>Temp<wbr/>Unit_<wbr/>C</span></a><a href="#tempunit_f"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>Temp<wbr/>Unit_<wbr/>F</span></a><a href="#timemode_12h"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>Time<wbr/>Mode_<wbr/>12h</span></a><a href="#timemode_24h"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>Time<wbr/>Mode_<wbr/>24h</span></a><a href="#wriston_disenable"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>Wrist<wbr/>On_<wbr/>Dis<wbr/>Enable</span></a><a href="#wriston_enable"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>Wrist<wbr/>On_<wbr/>Enable</span></a></div></details><details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="section-Methods"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Methods</summary><div><a href="#bloodsugarwithmode"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>bloodsugar<wbr/>With<wbr/>Mode</span></a><a href="#closebluedevice"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>close<wbr/>Blue<wbr/>Device</span></a><a href="#dataparsingwithdata"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>data<wbr/>Parsing<wbr/>With<wbr/>Data</span></a><a href="#deleteallalarmclock"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>delete<wbr/>All<wbr/>Alarm<wbr/>Clock</span></a><a href="#endbloodsugar"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>end<wbr/>Blood<wbr/>Sugar</span></a><a href="#enteractivitymode"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>enter<wbr/>Activity<wbr/>Mode</span></a><a href="#enterota"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>enter<wbr/>OTA</span></a><a href="#getactivitymodedatawithmode"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Activity<wbr/>Mode<wbr/>Data<wbr/>With<wbr/>Mode</span></a><a href="#getalarmclock"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Alarm<wbr/>Clock</span></a><a href="#getautobloodoxygen"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Auto<wbr/>Blood<wbr/>Oxygen</span></a><a href="#getautomatichrmonitoring"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Automatic<wbr/>HR<wbr/>Monitoring</span></a><a href="#getaxillarytemperaturedatawithmode"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Axillary<wbr/>Temperature<wbr/>Data<wbr/>With<wbr/>Mode</span></a><a href="#getbloodoxygen"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Blood<wbr/>Oxygen</span></a><a href="#getdetailactivitydatawithmodefortime"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Detail<wbr/>Activity<wbr/>Data<wbr/>With<wbr/>Mode<wbr/>For<wbr/>Time</span></a><a href="#getdetailsleepdatawithmode"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Detail<wbr/>Sleep<wbr/>Data<wbr/>With<wbr/>Mode</span></a><a href="#getdetailsleepdatawithmodefortime"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Detail<wbr/>Sleep<wbr/>Data<wbr/>With<wbr/>Mode<wbr/>For<wbr/>Time</span></a><a href="#getdevicebatterylevel"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Device<wbr/>Battery<wbr/>Level</span></a><a href="#getdeviceinfo"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Device<wbr/>Info</span></a><a href="#getdevicemacaddress"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Device<wbr/>Mac<wbr/>Address</span></a><a href="#getdevicename"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Device<wbr/>Name</span></a><a href="#getdevicetime"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Device<wbr/>Time</span></a><a href="#getdeviceversion"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Device<wbr/>Version</span></a><a href="#getdynamichrwithmode"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Dynamic<wbr/>HR<wbr/>With<wbr/>Mode</span></a><a href="#gethrvdatawithmode"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>HRV<wbr/>Data<wbr/>With<wbr/>Mode</span></a><a href="#gethrvtesttime"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Hrv<wbr/>Test<wbr/>Time</span></a><a href="#getpersonalinfo"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Personal<wbr/>Info</span></a><a href="#getppiddatawithmode"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>PPID<wbr/>Data<wbr/>With<wbr/>Mode</span></a><a href="#getrealtimesleepdatawithmode"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Real<wbr/>Time<wbr/>Sleep<wbr/>Data<wbr/>With<wbr/>Mode</span></a><a href="#getsedentaryreminder"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Sedentary<wbr/>Reminder</span></a><a href="#getstatichrwithmode"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Static<wbr/>HR<wbr/>With<wbr/>Mode</span></a><a href="#getstepgoal"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>Get<wbr/>Step<wbr/>Goal</span></a><a href="#gettemperature_historydatawithmode"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Temperature_<wbr/>history<wbr/>Data<wbr/>With<wbr/>Mode</span></a><a href="#gettotalactivitydatawithmode"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Total<wbr/>Activity<wbr/>Data<wbr/>With<wbr/>Mode</span></a><a href="#gettotalactivitydatawithmodefortime"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Total<wbr/>Activity<wbr/>Data<wbr/>With<wbr/>Mode<wbr/>For<wbr/>Time</span></a><a href="#healthmeasurementwithdatatype"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>health<wbr/>Measurement<wbr/>With<wbr/>Data<wbr/>Type</span></a><a href="#mcureset"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>mcu<wbr/>Reset</span></a><a href="#progressbloodsugar"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>progress<wbr/>Blood<wbr/>Sugar</span></a><a href="#realtimestep"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>real<wbr/>Time<wbr/>Step</span></a><a href="#reset"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>reset</span></a><a href="#sendheartpackage"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>send<wbr/>Heart<wbr/>Package</span></a><a href="#sendhex"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>send<wbr/>Hex</span></a><a href="#setalarmclock"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Alarm<wbr/>Clock</span></a><a href="#setautomatichrmonitoring"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Automatic<wbr/>HR<wbr/>Monitoring</span></a><a href="#setbraceletdial"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Braceletdial</span></a><a href="#setdeviceinfo"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Device<wbr/>Info</span></a><a href="#setdeviceinfov5"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Device<wbr/>Info<wbr/>V5</span></a><a href="#setdevicename"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Device<wbr/>Name</span></a><a href="#setdevicetime"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Device<wbr/>Time</span></a><a href="#sethrvtesttime"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Hrv<wbr/>Test<wbr/>Time</span></a><a href="#setpersonalinfo"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Personal<wbr/>Info</span></a><a href="#setsedentaryreminder"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Sedentary<wbr/>Reminder</span></a><a href="#setstepgoal"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Step<wbr/>Goal</span></a><a href="#startbloodsugar"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>start<wbr/>Blood<wbr/>Sugar</span></a><a href="#stopgo"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>stop<wbr/>Go</span></a></div></details></div></details></div><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html">@moshenguo/ms-data-sdk - v0.1.10</a><ul class="tsd-small-nested-navigation" id="tsd-nav-container"><li>Loading...</li></ul></nav></div></div></div><footer><p class="tsd-generator">Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></footer><div class="overlay"></div></body></html>
|
|
311
|
+
<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/MoShenGuo/ms-data-sdk/blob/9064f1c711bb84d3c1f7d7ab866aa5e71842969d/src/sdk/bleSDK.ts#L652">bleSDK.ts:652</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="texttoutf8bytessafe"><code class="tsd-tag">Static</code><span>text<wbr/>To<wbr/>Utf8<wbr/>Bytes<wbr/>Safe</span><a href="#texttoutf8bytessafe" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="texttoutf8bytessafe-1"><span class="tsd-kind-call-signature">textToUtf8BytesSafe</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">text</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">,</span> <span class="tsd-kind-parameter">maxBytes</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><a href="#texttoutf8bytessafe-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Convert text to UTF-8 bytes safely, max 30 bytes, Chinese safe</p>
|
|
312
|
+
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">text</span>: <span class="tsd-signature-type">string</span></span><div class="tsd-comment tsd-typography"><p>Input text</p>
|
|
313
|
+
</div></li><li><span><span class="tsd-kind-parameter">maxBytes</span>: <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 30</span></span><div class="tsd-comment tsd-typography"><p>Maximum bytes, default 30</p>
|
|
314
|
+
</div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span></h4><p>number[] Byte array, automatically filled with 0</p>
|
|
315
|
+
<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/MoShenGuo/ms-data-sdk/blob/9064f1c711bb84d3c1f7d7ab866aa5e71842969d/src/sdk/bleSDK.ts#L1388">bleSDK.ts:1388</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="updateweather"><code class="tsd-tag">Static</code><span>update<wbr/>Weather</span><a href="#updateweather" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="updateweather-1"><span class="tsd-kind-call-signature">updateWeather</span><span class="tsd-signature-symbol">(</span><br/> <span class="tsd-kind-parameter">params</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">{</span><br/> <span class="tsd-kind-property">address</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">;</span><br/> <span class="tsd-kind-property">aqi</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">;</span><br/> <span class="tsd-kind-property">currentTemp</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">;</span><br/> <span class="tsd-kind-property">maxTemp</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">;</span><br/> <span class="tsd-kind-property">minTemp</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">;</span><br/> <span class="tsd-kind-property">weatherCode</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">;</span><br/> <span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">,</span><br/><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><a href="#updateweather-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Generate weather update command (Hermes safe)</p>
|
|
316
|
+
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">params</span>: <span class="tsd-signature-symbol">{</span><br/> <span class="tsd-kind-property">address</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">;</span><br/> <span class="tsd-kind-property">aqi</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">;</span><br/> <span class="tsd-kind-property">currentTemp</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">;</span><br/> <span class="tsd-kind-property">maxTemp</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">;</span><br/> <span class="tsd-kind-property">minTemp</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">;</span><br/> <span class="tsd-kind-property">weatherCode</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">;</span><br/><span class="tsd-signature-symbol">}</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/MoShenGuo/ms-data-sdk/blob/9064f1c711bb84d3c1f7d7ab866aa5e71842969d/src/sdk/bleSDK.ts#L955">bleSDK.ts:955</a></li></ul></aside></div></li></ul></section></section></details></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h3>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><span class="settings-label">Member Visibility</span><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></div><div class="tsd-theme-toggle"><label class="settings-label" for="tsd-theme">Theme</label><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div><details open class="tsd-accordion tsd-page-navigation"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h3>On This Page</h3></summary><div class="tsd-accordion-details"><details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="section-Constructors"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Constructors</summary><div><a href="#constructor"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Constructor"><use href="../assets/icons.svg#icon-512"></use></svg><span>constructor</span></a></div></details><details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="section-Properties"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Properties</summary><div><a href="#data_delete"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>DATA_<wbr/>DELETE</span></a><a href="#data_read_continue"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>DATA_<wbr/>READ_<wbr/>CONTINUE</span></a><a href="#data_read_start"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>DATA_<wbr/>READ_<wbr/>START</span></a><a href="#distancemode_km"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>Distance<wbr/>Mode_<wbr/>KM</span></a><a href="#distancemode_mile"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>Distance<wbr/>Mode_<wbr/>MILE</span></a><a href="#ecgopen"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>ecgopen</span></a><a href="#isruning"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>is<wbr/>Runing</span></a><a href="#issettingsocial"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>is<wbr/>Setting<wbr/>Social</span></a><a href="#pregnancycycleread"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>pregnancy<wbr/>Cycle<wbr/>Read</span></a><a href="#read"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>read</span></a><a href="#startdevicemeasurementwithtype"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>Start<wbr/>Device<wbr/>Measurement<wbr/>With<wbr/>Type</span></a><a href="#tag"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>TAG</span></a><a href="#tempunit_c"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>Temp<wbr/>Unit_<wbr/>C</span></a><a href="#tempunit_f"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>Temp<wbr/>Unit_<wbr/>F</span></a><a href="#timemode_12h"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>Time<wbr/>Mode_<wbr/>12h</span></a><a href="#timemode_24h"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>Time<wbr/>Mode_<wbr/>24h</span></a><a href="#wriston_disenable"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>Wrist<wbr/>On_<wbr/>Dis<wbr/>Enable</span></a><a href="#wriston_enable"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>Wrist<wbr/>On_<wbr/>Enable</span></a></div></details><details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="section-Methods"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Methods</summary><div><a href="#bloodsugarwithmode"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>bloodsugar<wbr/>With<wbr/>Mode</span></a><a href="#clearbraceletdata"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>clear<wbr/>Bracelet<wbr/>Data</span></a><a href="#closebluedevice"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>close<wbr/>Blue<wbr/>Device</span></a><a href="#confirmunbind"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>confirm<wbr/>Unbind</span></a><a href="#dataparsingwithdata"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>data<wbr/>Parsing<wbr/>With<wbr/>Data</span></a><a href="#deleteallalarmclock"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>delete<wbr/>All<wbr/>Alarm<wbr/>Clock</span></a><a href="#deleteallecghistory"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>delete<wbr/>All<wbr/>Ecg<wbr/>History</span></a><a href="#endbloodsugar"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>end<wbr/>Blood<wbr/>Sugar</span></a><a href="#enteractivitymode"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>enter<wbr/>Activity<wbr/>Mode</span></a><a href="#enterota"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>enter<wbr/>OTA</span></a><a href="#entersos"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>enter<wbr/>SOS</span></a><a href="#entertakephoto"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>enter<wbr/>Take<wbr/>Photo</span></a><a href="#getactivitymodedatawithmode"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Activity<wbr/>Mode<wbr/>Data<wbr/>With<wbr/>Mode</span></a><a href="#getalarmclock"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Alarm<wbr/>Clock</span></a><a href="#getautobloodoxygen"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Auto<wbr/>Blood<wbr/>Oxygen</span></a><a href="#getautomatichrmonitoring"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Automatic<wbr/>HR<wbr/>Monitoring</span></a><a href="#getaxillarytemperaturedatawithmode"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Axillary<wbr/>Temperature<wbr/>Data<wbr/>With<wbr/>Mode</span></a><a href="#getbloodoxygen"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Blood<wbr/>Oxygen</span></a><a href="#getdetailactivitydatawithmodefortime"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Detail<wbr/>Activity<wbr/>Data<wbr/>With<wbr/>Mode<wbr/>For<wbr/>Time</span></a><a href="#getdetailsleepdatawithmode"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Detail<wbr/>Sleep<wbr/>Data<wbr/>With<wbr/>Mode</span></a><a href="#getdetailsleepdatawithmodefortime"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Detail<wbr/>Sleep<wbr/>Data<wbr/>With<wbr/>Mode<wbr/>For<wbr/>Time</span></a><a href="#getdevicebatterylevel"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Device<wbr/>Battery<wbr/>Level</span></a><a href="#getdeviceinfo"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Device<wbr/>Info</span></a><a href="#getdevicemacaddress"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Device<wbr/>Mac<wbr/>Address</span></a><a href="#getdevicename"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Device<wbr/>Name</span></a><a href="#getdevicetime"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Device<wbr/>Time</span></a><a href="#getdeviceversion"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Device<wbr/>Version</span></a><a href="#getdynamichrwithmode"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Dynamic<wbr/>HR<wbr/>With<wbr/>Mode</span></a><a href="#getecghistory"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Ecg<wbr/>History</span></a><a href="#gethrvdatawithmode"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>HRV<wbr/>Data<wbr/>With<wbr/>Mode</span></a><a href="#gethrvtesttime"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Hrv<wbr/>Test<wbr/>Time</span></a><a href="#getpersonalinfo"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Personal<wbr/>Info</span></a><a href="#getppiddatawithmode"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>PPID<wbr/>Data<wbr/>With<wbr/>Mode</span></a><a href="#getrealtimesleepdatawithmode"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Real<wbr/>Time<wbr/>Sleep<wbr/>Data<wbr/>With<wbr/>Mode</span></a><a href="#getsedentaryreminder"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Sedentary<wbr/>Reminder</span></a><a href="#getsocialsetting"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Social<wbr/>Setting</span></a><a href="#getstatichrwithmode"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Static<wbr/>HR<wbr/>With<wbr/>Mode</span></a><a href="#getstepgoal"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>Get<wbr/>Step<wbr/>Goal</span></a><a href="#gettemperature_historydatawithmode"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Temperature_<wbr/>history<wbr/>Data<wbr/>With<wbr/>Mode</span></a><a href="#gettotalactivitydatawithmode"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Total<wbr/>Activity<wbr/>Data<wbr/>With<wbr/>Mode</span></a><a href="#gettotalactivitydatawithmodefortime"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Total<wbr/>Activity<wbr/>Data<wbr/>With<wbr/>Mode<wbr/>For<wbr/>Time</span></a><a href="#healthmeasurementwithdatatype"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>health<wbr/>Measurement<wbr/>With<wbr/>Data<wbr/>Type</span></a><a href="#mapweathercode"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>map<wbr/>Weather<wbr/>Code</span></a><a href="#mcureset"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>mcu<wbr/>Reset</span></a><a href="#progressbloodsugar"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>progress<wbr/>Blood<wbr/>Sugar</span></a><a href="#realecgwave"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>real<wbr/>ECG<wbr/>Wave</span></a><a href="#realtimestep"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>real<wbr/>Time<wbr/>Step</span></a><a href="#remindercommand"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>reminder<wbr/>Command</span></a><a href="#reset"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>reset</span></a><a href="#sendheartpackage"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>send<wbr/>Heart<wbr/>Package</span></a><a href="#sendhex"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>send<wbr/>Hex</span></a><a href="#setalarmclock"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Alarm<wbr/>Clock</span></a><a href="#setautomatichrmonitoring"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Automatic<wbr/>HR<wbr/>Monitoring</span></a><a href="#setbraceletdial"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Braceletdial</span></a><a href="#setdeviceid"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Device<wbr/>ID</span></a><a href="#setdeviceinfo"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Device<wbr/>Info</span></a><a href="#setdeviceinfov5"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Device<wbr/>Info<wbr/>V5</span></a><a href="#setdevicename"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Device<wbr/>Name</span></a><a href="#setdevicetime"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Device<wbr/>Time</span></a><a href="#sethrvtesttime"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Hrv<wbr/>Test<wbr/>Time</span></a><a href="#setpersonalinfo"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Personal<wbr/>Info</span></a><a href="#setsedentaryreminder"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Sedentary<wbr/>Reminder</span></a><a href="#setsocialsetting"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Social<wbr/>Setting</span></a><a href="#setstepgoal"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Step<wbr/>Goal</span></a><a href="#startbloodsugar"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>start<wbr/>Blood<wbr/>Sugar</span></a><a href="#startppgrealtime"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>start<wbr/>PPG<wbr/>Realtime</span></a><a href="#stopgo"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>stop<wbr/>Go</span></a><a href="#texttoutf8bytessafe"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>text<wbr/>To<wbr/>Utf8<wbr/>Bytes<wbr/>Safe</span></a><a href="#updateweather"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>update<wbr/>Weather</span></a></div></details></div></details></div><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html">@moshenguo/ms-data-sdk - v0.1.11</a><ul class="tsd-small-nested-navigation" id="tsd-nav-container"><li>Loading...</li></ul></nav></div></div></div><footer><p class="tsd-generator">Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></footer><div class="overlay"></div></body></html>
|