{"id":116742,"date":"2026-10-22T02:17:16","date_gmt":"2026-10-21T18:17:16","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/116742.html"},"modified":"2026-10-22T02:17:16","modified_gmt":"2026-10-21T18:17:16","slug":"%e3%80%96%e5%ae%9e%e6%88%98%e3%80%97eyf-%e5%8d%8a%e5%ad%97%e8%8a%82-3-0-app-%e4%b8%89%e7%ab%af%e5%8e%9f%e7%94%9f%e6%9e%b6%e6%9e%84%ef%bc%9akotlin%e3%80%81swift%e3%80%81arkts-%e4%b8%8b%e7%9a%84","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/116742.html","title":{"rendered":"\u3016\u5b9e\u6218\u3017Eyf \u534a\u5b57\u8282 3.0 APP \u4e09\u7aef\u539f\u751f\u67b6\u6784\uff1aKotlin\u3001Swift\u3001ArkTS \u4e0b\u7684\u84dd\u7259\u9762\u5355\u3001\u84dd\u7259\u79f0\u91cd\u4e0e\u626b\u7801\u6444\u50cf\u5934"},"content":{"rendered":"<h3>\u4e00\u3001\u4e09\u7aef\u539f\u751f\u7684\u771f\u6b63\u96be\u70b9&#xff0c;\u4e0d\u5728\u201c\u5199\u4e09\u904d\u201d&#xff0c;\u800c\u5728\u201c\u4e09\u5957\u786c\u4ef6\u62bd\u8c61\u5c42\u4e92\u4e0d\u517c\u5bb9\u201d<\/h3>\n<p>Eyf \u534a\u5b57\u8282 3.0 \u662f\u4e00\u4e2a\u9762\u5411\u5feb\u9012\u672b\u7aef\u4e0e\u7f51\u70b9\u4f5c\u4e1a\u7684 APP&#xff0c;\u6838\u5fc3\u80fd\u529b\u96c6\u4e2d\u5728\u4e09\u4ef6\u4e8b&#xff1a;\u84dd\u7259\u7535\u5b50\u9762\u5355\u6253\u5370\u3001\u84dd\u7259\u7535\u5b50\u79e4\u79f0\u91cd\u3001\u6444\u50cf\u5934\u8fde\u7eed\u626b\u7801\u3002\u8fd9\u4e09\u4e2a\u80fd\u529b\u6709\u4e00\u4e2a\u5171\u540c\u7279\u5f81\u2014\u2014\u5b83\u4eec\u90fd\u76f4\u63a5\u64cd\u4f5c\u786c\u4ef6&#xff0c;\u800c Kotlin\u3001Swift\u3001ArkTS \u5bf9\u540c\u4e00\u786c\u4ef6\u7684\u62bd\u8c61\u6a21\u578b\u5b8c\u5168\u4e0d\u540c\u3002<\/p>\n<p style=\"text-align:center\"><img decoding=\"async\" alt=\"\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/10\/20261021181709-6ad901a5036e0.png\" \/><\/p>\n<p>Android \u7684 BLE \u5141\u8bb8\u5e94\u7528\u4e3b\u52a8\u534f\u5546 MTU&#xff08;requestMtu&#xff09;&#xff0c;\u5f00\u53d1\u8005\u53ef\u4ee5\u7cbe\u7ec6\u63a7\u5236\u5206\u5305\u5927\u5c0f\u548c\u5199\u5165\u8282\u594f&#xff1b;iOS \u7684 CoreBluetooth \u4e0d\u5f00\u653e MTU \u534f\u5546 API&#xff0c;\u7531\u7cfb\u7edf\u4e0e\u5916\u8bbe\u81ea\u52a8\u534f\u5546&#xff0c;\u5e94\u7528\u5c42\u80fd\u505a\u7684\u53ea\u6709\u201c\u6309\u987a\u5e8f\u5199\u5165\u3001\u7b49\u56de\u8c03\u518d\u5199\u4e0b\u4e00\u6761\u201d&#xff1b;HarmonyOS \u7684\u84dd\u7259\u80fd\u529b\u6808\u53c8\u662f\u53e6\u4e00\u5957\u6a21\u578b&#xff0c;\u7ecf\u5178\u84dd\u7259\u548c BLE \u5206\u5f00\u7ba1\u7406&#xff0c;\u6743\u9650\u4ece\u5b89\u88c5\u65f6\u6388\u4e88\u53d8\u4e3a\u6309\u9700\u7533\u8bf7\u3002\u626b\u7801\u540c\u7406&#xff1a;Android \u53ef\u4ee5\u7528 CameraX &#043; ML Kit \u81ea\u5efa\u5206\u6790\u7ba1\u7ebf&#xff0c;iOS \u6709 VisionKit \u7684 DataScannerViewController \u628a AVCapture \u548c Vision \u5c01\u88c5\u6210\u5f00\u7bb1\u5373\u7528\u7684 Swift API&#xff0c;\u9e3f\u8499\u7684 customScan \u5219\u8981\u6c42\u5f00\u53d1\u8005\u81ea\u5df1\u7ba1\u7406 rescan \u7684\u751f\u547d\u5468\u671f&#xff0c;\u5426\u5219\u4f1a\u89e6\u53d1\u76f8\u673a\u670d\u52a1\u5f02\u5e38\u3002<\/p>\n<p>\u5982\u679c\u7528\u4e00\u5957\u8de8\u5e73\u53f0\u6846\u67b6\u786c\u625b&#xff0c;\u6700\u7ec8\u4f1a\u9000\u5316\u6210\u201c\u6bcf\u4e2a\u5e73\u53f0\u5199\u4e00\u904d\u539f\u751f\u4ee3\u7801&#xff0c;\u518d\u5305\u4e00\u5c42 JS \u6865\u201d\u3002\u4e09\u7aef\u539f\u751f\u67b6\u6784\u7684\u6b63\u786e\u505a\u6cd5\u4e0d\u662f\u8ffd\u6c42\u4ee3\u7801\u590d\u7528\u7387&#xff0c;\u800c\u662f\u5728\u5e73\u53f0\u5c42\u5404\u81ea\u7528\u6700\u5408\u9002\u7684\u65b9\u5f0f\u64cd\u4f5c\u786c\u4ef6&#xff0c;\u5728\u9886\u57df\u5c42\u6536\u655b\u51fa\u7edf\u4e00\u7684\u80fd\u529b\u5951\u7ea6\u3002<\/p>\n<h3>\u4e8c\u3001\u6574\u4f53\u5206\u5c42&#xff1a;\u5e73\u53f0\u9002\u914d\u5c42\u8584&#xff0c;\u9886\u57df\u5951\u7ea6\u5c42\u7a33<\/h3>\n<p>Eyf \u534a\u5b57\u8282 3.0 \u7684\u5206\u5c42\u539f\u5219\u662f&#xff1a;\u786c\u4ef6\u5dee\u5f02\u7559\u5728\u6700\u8584\u7684\u4e00\u5c42&#xff0c;\u4e1a\u52a1\u903b\u8f91\u4e0d\u611f\u77e5\u5e73\u53f0\u3002<\/p>\n<p>\u5951\u7ea6\u5c42\u53ea\u5b9a\u4e49\u80fd\u529b\u8bed\u4e49&#xff0c;\u4e0d\u5b9a\u4e49\u4f20\u8f93\u65b9\u5f0f\u3002\u4f8b\u5982 LabelPrinter \u7684\u5951\u7ea6\u662f\u201c\u7ed9\u5b9a\u4e00\u4efd\u9762\u5355\u6570\u636e&#xff0c;\u8f93\u51fa\u6253\u5370\u6210\u529f\/\u5931\u8d25\u201d&#xff0c;\u81f3\u4e8e\u5e95\u5c42\u8d70 BLE \u8fd8\u662f\u7ecf\u5178 SPP\u3001\u5206\u5305\u5927\u5c0f\u662f\u591a\u5c11\u3001\u6307\u4ee4\u7ed3\u5c3e\u662f \\\\r\\\\n \u8fd8\u662f \\\\n&#xff0c;\u5168\u90e8\u7531\u5e73\u53f0\u9002\u914d\u5c42\u51b3\u5b9a\u3002<\/p>\n<h3>\u4e09\u3001\u84dd\u7259\u7535\u5b50\u9762\u5355&#xff1a;\u4e09\u7aef\u7684\u201c\u5206\u5305\u5199\u5165\u201d\u6ca1\u6709\u7edf\u4e00\u7b54\u6848<\/h3>\n<h4>3.1 \u9762\u5355\u6307\u4ee4\u5c42\u7684\u5171\u540c\u7ea6\u675f<\/h4>\n<p>\u7535\u5b50\u9762\u5355\u672c\u8d28\u662f\u70ed\u654f\u6807\u7b7e&#xff0c;CPCL \u662f\u8de8\u5e73\u53f0\u6700\u901a\u7528\u7684\u6307\u4ee4\u96c6\u3002\u4e09\u4e2a\u5e73\u53f0\u65e0\u8bba\u7528\u54ea\u5957\u84dd\u7259 API&#xff0c;\u6307\u4ee4\u5c42\u6709\u4e09\u4e2a\u4e0d\u53ef\u534f\u5546\u7684\u7ea6\u675f&#xff1a;<\/p>\n<p>\u7b2c\u4e00&#xff0c;\u6307\u4ee4\u7ed3\u5c3e\u5fc5\u987b\u662f \\\\r\\\\n \u3002\u53ea\u5199 \\\\n \u6216 \\\\r&#xff0c;\u5927\u91cf\u4fbf\u643a\u6253\u5370\u673a\u4f1a\u201c\u5199\u5165\u6210\u529f\u4f46\u4e0d\u8d70\u7eb8\u201d\u3002<\/p>\n<p>\u7b2c\u4e8c&#xff0c;\u4e2d\u6587\u5185\u5bb9\u5fc5\u987b\u4f7f\u7528 GBK \u7f16\u7801\u3002UTF-8 \u7f16\u7801\u7684\u4e2d\u6587\u59d3\u540d\u548c\u5730\u5740\u5728\u70ed\u654f\u6253\u5370\u673a\u4e0a\u4f1a\u8f93\u51fa\u4e71\u7801\u3002Android \u4fa7\u6210\u719f\u7684 UTS \u63d2\u4ef6\u9ed8\u8ba4\u5c31\u662f GBK \u7f16\u7801&#xff0c;\u9e3f\u8499\u7684\u5382\u5546 SDK \u548c PSDK \u4e5f\u5728\u5185\u90e8\u5904\u7406\u4e86 GBK \u8f6c\u6362\u3002<\/p>\n<p>\u7b2c\u4e09&#xff0c;\u5199\u5165\u5fc5\u987b\u662f\u5b57\u8282\u6d41&#xff0c;\u4e0d\u662f\u5b57\u7b26\u4e32\u3002\u65e0\u8bba Kotlin \u7684 ByteArray\u3001Swift \u7684 Data \u8fd8\u662f ArkTS \u7684 Uint8Array&#xff0c;BLE \u7279\u5f81\u503c\u5199\u5165\u7684\u5165\u53c2\u5fc5\u987b\u662f\u5b57\u8282\u5e8f\u5217&#xff0c;\u5b57\u7b26\u4e32\u76f4\u4f20\u5728\u90e8\u5206\u5e73\u53f0\u4f1a\u9759\u9ed8\u5931\u8d25\u3002<\/p>\n<p>\u8fd9\u4e09\u4e2a\u7ea6\u675f\u5728\u4e09\u7aef\u5b8c\u5168\u4e00\u81f4&#xff0c;\u662f\u5951\u7ea6\u5c42\u53ef\u4ee5\u76f4\u63a5\u56fa\u5316\u7684\u90e8\u5206\u3002\u771f\u6b63\u7684\u5dee\u5f02\u5728\u5206\u5305\u4e0e\u8282\u594f\u63a7\u5236\u3002<\/p>\n<h4>3.2 Android&#xff08;Kotlin&#xff09;&#xff1a;\u4e3b\u52a8\u534f\u5546 MTU&#xff0c;\u663e\u5f0f\u63a7\u5236\u5206\u5305<\/h4>\n<p>Android 5.1&#043; \u652f\u6301 BluetoothGatt.requestMtu(512) \u4e3b\u52a8\u534f\u5546 MTU&#xff0c;\u534f\u5546\u6210\u529f\u540e\u5b9e\u9645\u53ef\u7528\u8d1f\u8f7d\u4e3a MTU &#8211; 3&#xff08;ATT \u5934\u5f00\u9500&#xff09;\u3002\u8fd9\u610f\u5473\u7740 Android \u7aef\u6709\u80fd\u529b\u628a\u9762\u5355\u6307\u4ee4\u5207\u6210\u66f4\u5927\u7684\u5757&#xff0c;\u51cf\u5c11\u5199\u5165\u6b21\u6570\u3002\u4f46 MTU \u534f\u5546\u662f\u5f02\u6b65\u7684&#xff0c;\u5fc5\u987b\u5728 onMtuChanged \u56de\u8c03\u4e4b\u540e\u624d\u5f00\u59cb\u5199\u5165\u3002<\/p>\n<p>\u4e00\u4e2a\u52a1\u5b9e\u7684 Kotlin \u5b9e\u73b0\u7528\u534f\u7a0b\u628a\u56de\u8c03\u5730\u72f1\u6536\u655b\u4e3a\u6302\u8d77\u51fd\u6570&#xff0c;\u5e76\u6309\u534f\u5546\u540e\u7684 MTU \u4e32\u884c\u5206\u5305&#xff1a;<\/p>\n<p>kotlin<\/p>\n<p>suspend fun writeCpcl(gatt: BluetoothGatt, char: BluetoothGattCharacteristic, payload: ByteArray) {<br \/>\n    val mtu &#061; negotiateMtu(gatt, 512)   \/\/ suspend&#xff0c;\u7b49\u5f85 onMtuChanged<br \/>\n    val chunkSize &#061; (mtu &#8211; 3).coerceAtLeast(20)<\/p>\n<p>    payload.toList().chunked(chunkSize).forEach { chunk -&gt;<br \/>\n        val bytes &#061; chunk.toByteArray()<br \/>\n        if (Build.VERSION.SDK_INT &gt;&#061; Build.VERSION_CODES.TIRAMISU) {<br \/>\n            gatt.writeCharacteristic(char, bytes, BluetoothGattCharacteristic.WRITE_TYPE_DEFAULT)<br \/>\n        } else {<br \/>\n            &#064;Suppress(&#034;DEPRECATION&#034;)<br \/>\n            char.value &#061; bytes<br \/>\n            &#064;Suppress(&#034;DEPRECATION&#034;)<br \/>\n            gatt.writeCharacteristic(char)<br \/>\n        }<br \/>\n        \/\/ \u7b49\u5f85 onCharacteristicWrite \u56de\u8c03\u540e\u518d\u53d1\u4e0b\u4e00\u5305<br \/>\n        awaitWriteComplete()<br \/>\n    }<br \/>\n}<\/p>\n<p>Android \u7aef\u7684\u6838\u5fc3\u98ce\u9669\u4e0d\u662f\u201c\u5207\u591a\u5927\u201d&#xff0c;\u800c\u662f\u201c\u5199\u591a\u5feb\u201d \u3002WRITE_TYPE_NO_RESPONSE \u6a21\u5f0f\u4e0b\u8fde\u7eed\u5feb\u901f\u5199\u5165\u4f1a\u585e\u6ee1\u6253\u5370\u673a\u7684\u84dd\u7259\u63a5\u6536\u7f13\u51b2\u533a&#xff0c;\u5bfc\u81f4\u4e22\u5305\u6216\u8986\u76d6\u3002\u5de5\u7a0b\u4e0a\u5fc5\u987b\u5728\u6bcf\u5305\u4e4b\u95f4\u4fdd\u7559 15\u201320ms \u7684\u95f4\u9694&#xff0c;\u6216\u8005\u4e25\u683c\u4f9d\u8d56 onCharacteristicWrite \u56de\u8c03\u9a71\u52a8\u4e0b\u4e00\u5305\u3002<\/p>\n<p>\u5982\u679c\u6253\u5370\u673a\u540c\u65f6\u652f\u6301\u7ecf\u5178 SPP&#xff0c;Android \u7aef\u8fd8\u6709\u4e00\u6761\u66f4\u7b80\u5355\u7684\u8def\u5f84&#xff1a;SPP \u8d70 RFCOMM socket&#xff0c;\u5199\u5b57\u8282\u6d41\u7684\u8bed\u4e49\u66f4\u63a5\u8fd1\u4e32\u53e3&#xff0c;\u4e0d\u9700\u8981\u5904\u7406 BLE \u7684\u5206\u5305\u548c MTU\u3002\u4f46 SPP \u7684 socket.connect() \u5fc5\u987b\u5728 IO \u7ebf\u7a0b\u771f\u6b63\u963b\u585e\u5230\u8fde\u63a5\u5efa\u7acb&#xff0c;\u5426\u5219\u4f1a\u51fa\u73b0\u201cisConnected() \u4e3a true \u4f46\u5b9e\u9645\u5199\u4e0d\u51fa\u53bb\u201d\u7684\u5e7d\u7075\u8fde\u63a5\u3002<\/p>\n<h4>3.3 iOS&#xff08;Swift&#xff09;&#xff1a;MTU \u4e0d\u53ef\u534f\u5546&#xff0c;\u5199\u64cd\u4f5c\u5fc5\u987b\u4e32\u884c\u5316<\/h4>\n<p>iOS \u7684 CoreBluetooth \u4e0d\u63d0\u4f9b requestMtu&#xff0c;MTU \u7531\u7cfb\u7edf\u4e0e\u5916\u8bbe\u534f\u5546&#xff0c;\u5e94\u7528\u5c42\u62ff\u4e0d\u5230\u4e5f\u6539\u4e0d\u4e86\u3002\u5f00\u53d1\u8005\u80fd\u63a7\u5236\u7684\u662f\u5199\u5165\u7b56\u7565&#xff1a;\u9009 withResponse \u8fd8\u662f withoutResponse&#xff0c;\u4ee5\u53ca\u4e24\u6b21\u5199\u5165\u4e4b\u95f4\u7684\u8282\u594f\u3002<\/p>\n<p>withResponse \u6a21\u5f0f\u4e0b&#xff0c;\u7cfb\u7edf\u4f1a\u5728\u5916\u8bbe\u786e\u8ba4\u540e\u56de\u8c03 didWriteValueFor&#xff0c;\u4e32\u884c\u5316\u5929\u7136\u6709\u4fdd\u969c&#xff0c;\u4f46\u541e\u5410\u8f83\u4f4e\u3002withoutResponse \u66f4\u5feb&#xff0c;\u4f46\u5fc5\u987b\u81ea\u5df1\u7ef4\u62a4\u961f\u5217&#xff0c;\u7b49\u4e0a\u4e00\u5305\u5199\u5b8c&#xff08;\u6216\u52a0\u5ef6\u8fdf&#xff09;\u518d\u53d1\u4e0b\u4e00\u5305&#xff0c;\u5426\u5219\u540c\u6837\u4f1a\u51b2\u57ae\u6253\u5370\u673a\u7f13\u51b2\u533a\u3002<\/p>\n<p>swift<\/p>\n<p>func writeCpcl(_ payload: Data, to char: CBCharacteristic, on peripheral: CBPeripheral) {<br \/>\n    let chunkSize &#061; 182   \/\/ \u7ecf\u9a8c\u503c&#xff0c;\u4e0d\u8d85\u8fc7\u534f\u5546MTU-3<br \/>\n    var offset &#061; 0<br \/>\n    func writeNext() {<br \/>\n        guard offset &lt; payload.count else { return }<br \/>\n        let end &#061; min(offset &#043; chunkSize, payload.count)<br \/>\n        let chunk &#061; payload.subdata(in: offset..&lt;end)<br \/>\n        peripheral.writeValue(chunk, for: char,<br \/>\n                              type: .withResponse)   \/\/ \u56de\u8c03\u9a71\u52a8&#xff0c;\u5929\u7136\u4e32\u884c<br \/>\n        offset &#061; end<br \/>\n    }<br \/>\n    writeNext()<br \/>\n}<\/p>\n<p>func peripheral(_ peripheral: CBPeripheral,<br \/>\n                didWriteValueFor characteristic: CBCharacteristic,<br \/>\n                error: Error?) {<br \/>\n    if error &#061;&#061; nil { writeNext() }   \/\/ \u4e0a\u4e00\u5305\u786e\u8ba4\u540e\u624d\u53d1\u4e0b\u4e00\u5305<br \/>\n}<\/p>\n<p>iOS \u7aef\u8fd8\u6709\u4e00\u4e2a\u9690\u853d\u7684\u5751&#xff1a;\u7279\u5f81\u503c\u53d1\u73b0\u4e0d\u80fd\u786c\u7f16\u7801\u670d\u52a1 UUID\u3002\u4e0d\u540c\u6253\u5370\u673a\u7684\u53ef\u5199\u7279\u5f81\u503c\u4e0d\u540c&#xff0c;\u6b63\u786e\u505a\u6cd5\u662f\u8fde\u63a5\u540e\u904d\u5386 services \u548c characteristics&#xff0c;\u4f18\u5148\u5339\u914d\u5df2\u77e5\u7684\u6253\u5370\u673a\u670d\u52a1&#xff08;\u5982 49535343-&#8230;\u3001FF00&#xff09;&#xff0c;\u627e\u4e0d\u5230\u65f6\u9009\u7b2c\u4e00\u4e2a\u5177\u5907 properties.contains(.write) \u6216 .writeWithoutResponse \u7684\u7279\u5f81\u503c\u3002<\/p>\n<h4>3.4 HarmonyOS&#xff08;ArkTS&#xff09;&#xff1a;\u4f18\u5148\u7528\u5382\u5546 SDK&#xff0c;\u81ea\u7814\u8d70 &#064;ohos.bluetooth.ble<\/h4>\n<p>ArkTS \u7684\u84dd\u7259\u80fd\u529b\u4e0e Android\/iOS \u662f\u4e24\u5957\u6a21\u578b\u3002\u7ecf\u5178\u84dd\u7259\u548c BLE \u5206\u5f00\u7ba1\u7406&#xff0c;\u6743\u9650\u9700\u8981\u6309\u9700\u7533\u8bf7\u5e76\u5728 module.json5 \u4e2d\u58f0\u660e usedScene \u548c reason&#xff0c;\u5426\u5219\u5ba1\u6838\u4e0d\u901a\u8fc7\u3002<\/p>\n<p>\u5bf9\u7535\u5b50\u9762\u5355\u6253\u5370&#xff0c;\u4f18\u5148\u9009\u62e9\u5df2\u9002\u914d HarmonyOS \u7684\u5382\u5546 SDK\u3002\u4f73\u535a\u7684\u9e3f\u8499 SDK \u652f\u6301 SPP\u3001BLE\u3001USB\u3001\u7f51\u7edc\u56db\u79cd\u8fde\u63a5&#xff0c;\u8986\u76d6 CPCL\u3001TSPL\u3001ESC\u3001ZPL \u56db\u79cd\u6307\u4ee4\u96c6&#xff0c;\u5b8c\u5168\u57fa\u4e8e ArkTS \u5f00\u53d1&#xff0c;\u9002\u914d API 14 \u53ca\u4ee5\u4e0a\u3002PSDK \u7684 OpenHarmony SDK \u540c\u6837\u652f\u6301 CPCL&#xff0c;\u5e76\u660e\u786e\u63d0\u4f9b\u4e86 enableChunkWrite \u548c chunkSize \u53c2\u6570\u6765\u5904\u7406 BLE \u5206\u5305&#xff0c;\u5185\u7f6e GBK \u7f16\u7801\u8f6c\u6362\u3002\u5982\u679c\u6253\u5370\u673a\u578b\u53f7\u5728 SDK \u652f\u6301\u8303\u56f4\u5185&#xff0c;\u76f4\u63a5\u63a5\u5165\u662f\u6548\u7387\u6700\u9ad8\u7684\u8def\u5f84\u3002<\/p>\n<p>\u81ea\u7814 GATT \u5c01\u88c5\u65f6&#xff0c;ArkTS \u4fa7\u7684\u6838\u5fc3\u7ea6\u675f\u4e0e iOS \u7c7b\u4f3c&#xff1a;\u5199\u64cd\u4f5c\u5fc5\u987b\u4e32\u884c&#xff0c;\u5206\u5305\u5927\u5c0f\u4e0d\u80fd\u786c\u7f16\u7801&#xff0c;\u8981\u4ece\u8fde\u63a5\u53c2\u6570\u4e2d\u8bfb\u53d6\u534f\u5546\u540e\u7684 MTU \u518d\u51cf\u53bb 3 \u5b57\u8282\u7684 ATT \u5934\u3002\u533a\u522b\u5728\u4e8e ArkTS \u7684\u5f02\u6b65\u6a21\u578b\u662f Promise\/async-await&#xff0c;\u5206\u5305\u5199\u5165\u9700\u8981 await \u6bcf\u4e00\u6b21 writeCharacteristicValue \u7684\u5b8c\u6210\u56de\u8c03&#xff0c;\u800c\u4e0d\u662f\u4f9d\u8d56\u4e8b\u4ef6\u76d1\u542c\u3002<\/p>\n<h3>\u56db\u3001\u84dd\u7259\u79f0\u91cd&#xff1a;\u534f\u8bae\u89e3\u6790\u662f\u5171\u6027&#xff0c;\u6570\u636e\u7a33\u5b9a\u5224\u5b9a\u662f\u5e73\u53f0\u5dee\u5f02<\/h3>\n<h4>4.1 \u7535\u5b50\u79e4\u7684 BLE \u6a21\u578b&#xff1a;Notify \u662f\u552f\u4e00\u5165\u53e3<\/h4>\n<p>\u5feb\u9012\u573a\u666f\u7684\u84dd\u7259\u7535\u5b50\u79e4&#xff0c;\u7edd\u5927\u591a\u6570\u8d70 BLE GATT \u7684 Notify&#xff08;\u901a\u77e5&#xff09; \u6a21\u5f0f&#xff1a;\u624b\u673a\u8fde\u63a5\u540e\u4f7f\u80fd\u5bf9\u5e94\u7279\u5f81\u503c\u7684\u901a\u77e5&#xff0c;\u79e4\u5728\u91cd\u91cf\u53d8\u5316\u6216\u7a33\u5b9a\u65f6\u4e3b\u52a8\u63a8\u9001\u5b57\u8282\u6570\u7ec4&#xff0c;APP \u89e3\u6790\u51fa\u91cd\u91cf\u503c\u3002<\/p>\n<p>Android \u7aef\u7528 setCharacteristicNotification &#043; \u5199 ENABLE_NOTIFICATION_VALUE \u63cf\u8ff0\u7b26\u6765\u5f00\u542f\u901a\u77e5&#xff0c;\u7136\u540e\u5728 onCharacteristicChanged \u4e2d\u89e3\u6790\u5b57\u8282\u3002iOS \u7aef\u7528 setNotifyValue(true, for:)&#xff0c;\u5728 didUpdateValueFor \u4e2d\u62ff\u5230 Data \u5e76\u89e3\u6790\u3002\u9e3f\u8499\u7aef\u4f7f\u7528 &#064;ohos.bluetooth.ble \u7684 on(&#039;BLECharacteristicChange&#039;) \u76d1\u542c\u7279\u5f81\u503c\u53d8\u5316\u3002<\/p>\n<p>\u4e09\u7aef\u7684\u5171\u6027&#xff1a;\u7535\u5b50\u79e4\u901a\u5e38\u4ee5 10\u201350Hz \u7684\u9ad8\u9891\u63a8\u9001\u6570\u636e&#xff0c;\u5fc5\u987b\u5728\u975e\u4e3b\u7ebf\u7a0b\u505a\u5b57\u8282\u89e3\u6790&#xff0c;\u5e76\u8bbe\u8ba1\u9632\u6296\u903b\u8f91\u2014\u2014\u8fde\u7eed N \u6b21\u8bfb\u6570\u76f8\u540c\u4e14\u6301\u7eed\u4e00\u5b9a\u65f6\u95f4&#xff0c;\u624d\u89c6\u4e3a\u7a33\u5b9a\u91cd\u91cf\u3002<\/p>\n<h4>4.2 \u5b57\u8282\u89e3\u6790&#xff1a;\u534f\u8bae\u662f\u8bbe\u5907\u76f8\u5173\u7684&#xff0c;\u4e0d\u662f\u5e73\u53f0\u76f8\u5173\u7684<\/h4>\n<p>\u7535\u5b50\u79e4\u7684\u5b57\u8282\u5e03\u5c40\u7531\u5382\u5546\u534f\u8bae\u51b3\u5b9a&#xff0c;\u4e0e Kotlin\/Swift\/ArkTS \u65e0\u5173\u3002\u4e00\u4e2a\u5178\u578b\u7684\u89e3\u6790\u903b\u8f91&#xff08;\u4ee5\u5c0f\u7aef 16 \u4f4d\u6574\u6570 &#043; \u6bd4\u4f8b\u56e0\u5b50\u4e3a\u4f8b&#xff09;\u5728\u4e09\u7aef\u7684\u5199\u6cd5\u51e0\u4e4e\u662f\u4e00\u4e00\u5bf9\u5e94\u7684&#xff1a;<\/p>\n<p>kotlin<\/p>\n<p>\/\/ Kotlin<br \/>\nfun parseWeight(data: ByteArray): Double {<br \/>\n    val raw &#061; (data[1].toInt() and 0xFF) or ((data[2].toInt() and 0xFF) shl 8)<br \/>\n    return raw * 0.005   \/\/ \u6bd4\u4f8b\u56e0\u5b50\u6765\u81ea\u5382\u5546\u534f\u8bae<br \/>\n}<\/p>\n<p>swift<\/p>\n<p>\/\/ Swift<br \/>\nfunc parseWeight(_ data: Data) -&gt; Double {<br \/>\n    let raw &#061; UInt16(data[1]) | (UInt16(data[2]) &lt;&lt; 8)<br \/>\n    return Double(raw) * 0.005<br \/>\n}<\/p>\n<p>typescript<\/p>\n<p>\/\/ ArkTS<br \/>\nfunction parseWeight(data: Uint8Array): number {<br \/>\n  const raw &#061; (data[1] &amp; 0xFF) | ((data[2] &amp; 0xFF) &lt;&lt; 8);<br \/>\n  return raw * 0.005;<br \/>\n}<\/p>\n<p>\u771f\u6b63\u9700\u8981\u5e73\u53f0\u9002\u914d\u7684&#xff0c;\u662f\u201c\u4f55\u65f6\u8ba4\u4e3a\u91cd\u91cf\u5df2\u7a33\u5b9a\u201d \u3002Android \u7aef\u53ef\u4ee5\u5229\u7528\u534f\u7a0b\u7684 debounce \u64cd\u4f5c\u7b26\u5bf9\u901a\u77e5\u6d41\u505a\u9632\u6296&#xff1b;iOS \u7aef\u53ef\u4ee5\u7528 Combine \u7684 debounce&#xff1b;ArkTS \u6ca1\u6709\u5185\u7f6e\u7684\u6d41\u5f0f\u9632\u6296&#xff0c;\u9700\u8981\u624b\u5199\u65f6\u95f4\u7a97\u53e3\u5224\u65ad\u3002\u8fd9\u90e8\u5206\u903b\u8f91\u653e\u5728\u9886\u57df\u5c42&#xff0c;\u7528\u7edf\u4e00\u7684 WeightStabilizer \u5951\u7ea6\u5c01\u88c5&#xff0c;\u5e73\u53f0\u5c42\u53ea\u8d1f\u8d23\u628a\u539f\u59cb\u5b57\u8282\u6d41\u5582\u8fdb\u6765\u3002<\/p>\n<h3>\u4e94\u3001\u626b\u7801\u6444\u50cf\u5934&#xff1a;\u8fde\u7eed\u626b\u7801\u7684\u201c\u53bb\u91cd\u201d\u662f\u4e09\u7aef\u6700\u5927\u7684\u884c\u4e3a\u5dee\u5f02<\/h3>\n<h4>5.1 \u9ed8\u8ba4\u626b\u7801 vs \u8fde\u7eed\u626b\u7801<\/h4>\n<p>\u4e09\u7aef\u7684\u7cfb\u7edf\u626b\u7801\u80fd\u529b\u90fd\u6709\u4e00\u4e2a\u201c\u9ed8\u8ba4\u884c\u4e3a\u201d&#xff1a;\u626b\u5230\u4e00\u6761\u3001\u8fd4\u56de\u3001\u5173\u95ed\u3002\u8fd9\u9002\u5408\u767b\u5f55\u6216\u7ed1\u5b9a&#xff0c;\u4e0d\u9002\u5408\u5feb\u9012\u6d41\u6c34\u7ebf\u4e0a\u201c\u955c\u5934\u5bf9\u7740\u5305\u88f9&#xff0c;\u626b\u4e00\u4e2a\u5f55\u4e00\u4e2a\u201d\u7684\u4f5c\u4e1a\u6a21\u5f0f\u3002<\/p>\n<p>\u8fde\u7eed\u626b\u7801\u7684\u5173\u952e\u4e0d\u662f\u201c\u80fd\u4e0d\u80fd\u8bc6\u522b\u201d&#xff0c;\u800c\u662f\u540c\u4e00\u5f20\u7801\u5728\u89c6\u53e3\u5185\u505c\u7559\u65f6&#xff0c;\u8bc6\u522b\u5f15\u64ce\u4f1a\u4e0d\u4f1a\u53cd\u590d\u56de\u8c03\u3002Android \u7684 CameraX ImageAnalysis \u4ee5\u7a33\u5b9a\u7684\u5e27\u7387\u6301\u7eed\u5206\u6790&#xff0c;\u540c\u4e00\u4e2a\u6761\u7801\u5728\u753b\u9762\u4e2d\u4e0d\u52a8&#xff0c;\u6bcf\u4e00\u5e27\u90fd\u4f1a\u89e6\u53d1\u8bc6\u522b\u7ed3\u679c&#xff1b;iOS \u7684 VisionKit DataScannerViewController \u540c\u6837\u6301\u7eed\u8f93\u51fa&#xff1b;\u9e3f\u8499\u7684 customScan \u5728\u76f8\u673a\u7ea6 30fps \u7684\u9a71\u52a8\u4e0b&#xff0c;\u540c\u4e00\u5f20\u7801\u4e00\u79d2\u53ef\u4ee5\u56de\u8c03\u591a\u6b21\u3002<\/p>\n<p>\u4e0d\u505a\u53bb\u91cd&#xff0c;\u4e00\u79d2\u5185\u540c\u4e00\u7968\u8d27\u4f1a\u88ab\u5f55\u5165\u5341\u51e0\u6b21\u3002<\/p>\n<h4>5.2 Android&#xff08;Kotlin&#xff09;&#xff1a;\u5e27\u7387\u63a7\u5236 &#043; \u65f6\u95f4\u7a97\u53bb\u91cd<\/h4>\n<p>CameraX &#043; ML Kit \u7684\u8fde\u7eed\u626b\u7801&#xff0c;\u53bb\u91cd\u7b56\u7565\u6709\u4e24\u4e2a\u5c42\u9762\u3002\u7b2c\u4e00\u5c42\u662f\u964d\u4f4e\u5206\u6790\u5e27\u7387&#xff1a;\u4e0d\u9700\u8981 30fps \u90fd\u505a\u8bc6\u522b&#xff0c;\u53ef\u4ee5\u901a\u8fc7 ImageAnalysis \u7684 setBackpressureStrategy \u6216\u624b\u52a8\u5728\u5206\u6790\u5668\u4e2d\u52a0\u8282\u6d41&#xff0c;\u628a\u6709\u6548\u8bc6\u522b\u9891\u7387\u964d\u5230 2\u20135fps\u3002\u7b2c\u4e8c\u5c42\u662f\u4e1a\u52a1\u53bb\u91cd&#xff1a;\u8bb0\u5f55\u4e0a\u4e00\u6b21\u8bc6\u522b\u7684\u5185\u5bb9\u548c\u65f6\u95f4\u6233&#xff0c;\u5728\u65f6\u95f4\u7a97\u5185\u76f8\u540c\u5185\u5bb9\u76f4\u63a5\u4e22\u5f03&#xff0c;\u540c\u65f6\u7528\u201c\u8df3\u8fc7 N \u5e27 &#043; \u51b7\u5374\u95e8\u63a7\u201d\u907f\u514d\u6296\u52a8\u3002<\/p>\n<p>kotlin<\/p>\n<p>class ContinuousBarcodeAnalyzer(<br \/>\n    private val onResult: (String) -&gt; Unit<br \/>\n) : ImageAnalysis.Analyzer {<br \/>\n    private val recent &#061; mutableMapOf&lt;String, Long&gt;()<br \/>\n    private val ttlMs &#061; 2000L<\/p>\n<p>    override fun analyze(image: ImageProxy) {<br \/>\n        val barcode &#061; detect(image)   \/\/ ML Kit \u8bc6\u522b<br \/>\n        if (barcode !&#061; null) {<br \/>\n            val now &#061; SystemClock.elapsedRealtime()<br \/>\n            val last &#061; recent[barcode]<br \/>\n            if (last &#061;&#061; null || now &#8211; last &gt; ttlMs) {<br \/>\n                recent[barcode] &#061; now<br \/>\n                onResult(barcode)<br \/>\n            }<br \/>\n        }<br \/>\n        image.close()<br \/>\n    }<br \/>\n}<\/p>\n<p>Android \u7aef\u7684\u4f18\u52bf\u662f\u53ef\u4ee5\u5b8c\u5168\u63a7\u5236\u5206\u6790\u7ba1\u7ebf&#xff0c;\u5e27\u7387\u3001\u5206\u8fa8\u7387\u3001\u8bc6\u522b\u533a\u57df\u90fd\u53ef\u4ee5\u6309\u573a\u666f\u8c03\u4f18&#xff1b;\u4ee3\u4ef7\u662f\u9700\u8981\u81ea\u5df1\u5904\u7406 CameraX \u7684\u751f\u547d\u5468\u671f\u548c\u56fe\u50cf\u683c\u5f0f\u8f6c\u6362\u3002<\/p>\n<h4>5.3 iOS&#xff08;Swift&#xff09;&#xff1a;VisionKit \u5f00\u7bb1\u5373\u7528&#xff0c;\u4f46\u8fde\u7eed\u53bb\u91cd\u8981\u81ea\u5df1\u515c<\/h4>\n<p>iOS \u6709\u4e24\u6761\u8def\u5f84\u3002\u4f18\u5148\u8def\u5f84\u662f VisionKit \u7684 DataScannerViewController &#xff1a;\u5b83\u628a AVCapture \u548c Vision \u5c01\u88c5\u6210 Swift API&#xff0c;\u652f\u6301\u6307\u5b9a\u6761\u7801\u7b26\u53f7\u7c7b\u578b&#xff0c;\u6301\u7eed\u8bc6\u522b\u89c6\u9891\u6d41\u4e2d\u7684\u6761\u7801\u548c\u6587\u672c\u3002\u5b83\u7684\u5c40\u9650\u662f UI \u548c\u4ea4\u4e92\u7531\u7cfb\u7edf\u63a7\u5236&#xff0c;\u6df1\u5ea6\u5b9a\u5236\u53d7\u9650\u3002<\/p>\n<p>\u5b9a\u5236\u8def\u5f84\u662f AVFoundation &#043; Vision&#xff1a;\u81ea\u5df1\u642d\u5efa AVCaptureSession&#xff0c;\u5728 captureOutput \u4e2d\u7528 VNDetectBarcodesRequest \u505a\u8bc6\u522b\u3002\u8fd9\u6761\u8def\u5f84\u7075\u6d3b&#xff0c;\u4f46\u9700\u8981\u81ea\u5df1\u5904\u7406\u4f1a\u8bdd\u914d\u7f6e\u3001\u65b9\u5411\u6821\u6b63\u548c\u6027\u80fd\u8c03\u4f18\u3002<\/p>\n<p>\u65e0\u8bba\u8d70\u54ea\u6761\u8def&#xff0c;\u53bb\u91cd\u903b\u8f91\u90fd\u5fc5\u987b\u81ea\u5df1\u5199\u3002VisionKit \u4e0d\u4f1a\u544a\u8bc9\u4f60\u201c\u8fd9\u662f\u540c\u4e00\u5f20\u7801\u7684\u7b2c\u51e0\u6b21\u56de\u8c03\u201d\u3002\u4e00\u4e2a\u5b9e\u7528\u7684\u7b56\u7565\u662f\u201c\u5185\u5bb9 &#043; \u65f6\u95f4\u7a97 &#043; \u4f4d\u7f6e IoU\u201d&#xff1a;\u8bb0\u5f55\u4e0a\u4e00\u6b21\u8bc6\u522b\u7684\u6761\u7801\u503c\u548c\u5728\u753b\u9762\u4e2d\u7684\u5f52\u4e00\u5316\u77e9\u5f62&#xff0c;\u5982\u679c\u5185\u5bb9\u76f8\u540c\u4e14\u77e9\u5f62 IoU \u8f83\u9ad8&#xff0c;\u5224\u5b9a\u4e3a\u540c\u4e00\u5f20\u7801\u4ecd\u5728\u753b\u9762&#xff1b;\u8fde\u7eed\u82e5\u5e72\u5e27\u672a\u51fa\u73b0\u6216\u4f4d\u7f6e\u660e\u663e\u8df3\u53d8&#xff0c;\u518d\u653e\u884c\u540c\u5185\u5bb9\u7684\u65b0\u626b\u63cf\u3002<\/p>\n<h4>5.4 HarmonyOS&#xff08;ArkTS&#xff09;&#xff1a;customScan \u7684 rescan \u662f\u786c\u7ea6\u675f<\/h4>\n<p>\u9e3f\u8499\u7684 Scan Kit \u9ed8\u8ba4\u626b\u7801\u754c\u9762\u53ea\u8fd4\u56de\u4e00\u6b21\u7ed3\u679c\u3002\u8fde\u7eed\u626b\u7801\u5fc5\u987b\u7528 customScan \u81ea\u5efa\u9884\u89c8\u754c\u9762&#xff0c;\u5e76\u4e14\u5728 start \u7684\u56de\u8c03\u4e2d\u8c03\u7528 customScan.rescan() \u89e6\u53d1\u4e0b\u4e00\u5e27\u3002\u53cd\u590d stop \u518d start \u4f1a\u5bfc\u81f4\u9519\u8bef\u7801 7400201&#xff08;\u76f8\u673a\u670d\u52a1\u5f02\u5e38&#xff09;&#xff0c;\u751a\u81f3\u9875\u9762\u5361\u6b7b&#xff1b;rescan \u4e5f\u53ea\u5728 start \u7684\u56de\u8c03\u4e2d\u751f\u6548&#xff0c;Promise \u65b9\u5f0f\u8c03\u7528\u65e0\u6548\u3002<\/p>\n<p>\u53bb\u91cd\u65b9\u9762&#xff0c;\u534e\u4e3a\u5f00\u53d1\u8005\u793e\u533a\u7ed9\u51fa\u7684\u63a8\u8350\u65b9\u6848\u662f \u201c\u5185\u5bb9 &#043; \u4f4d\u7f6e &#043; TTL\u201d\u4e09\u7ef4\u8054\u5408\u53bb\u91cd&#xff1a;ScanResult.scanCodeRect \u63d0\u4f9b\u7801\u5728\u9884\u89c8\u753b\u9762\u4e2d\u7684\u5916\u63a5\u77e9\u5f62&#xff0c;API 12 \u8d77\u8fd8\u6709 cornerPoints&#xff1b;\u53bb\u91cd\u952e\u4e3a\u201c\u5185\u5bb9 &#043; \u91cf\u5316\u540e\u7684\u4f4d\u7f6e\u4e2d\u5fc3\u70b9\u201d&#xff0c;TTL \u5efa\u8bae 2000\u20133000ms&#xff1b;scanCodeRect \u4e3a\u7a7a\u65f6\u964d\u7ea7\u4e3a\u7eaf\u5185\u5bb9\u53bb\u91cd\u3002\u4f4d\u7f6e\u7f51\u683c\u5efa\u8bae\u53d6 15\u201330px&#xff0c;\u8fc7\u5c0f\u5219\u76f8\u673a\u6296\u52a8\u4ea7\u751f\u65b0\u952e&#xff0c;\u8fc7\u5927\u5219\u4e0d\u540c\u4f4d\u7f6e\u7684\u540c\u5185\u5bb9\u7801\u88ab\u8bef\u5224\u4e3a\u540c\u4e00\u5f20\u3002<\/p>\n<h3>\u516d\u3001\u5951\u7ea6\u5c42\u8bbe\u8ba1&#xff1a;\u4e09\u7aef\u6536\u655b\u7684\u6700\u5c0f\u63a5\u53e3\u96c6<\/h3>\n<p>\u4e09\u7aef\u9002\u914d\u5c42\u5404\u81ea\u5b9e\u73b0&#xff0c;\u5951\u7ea6\u5c42\u53ea\u66b4\u9732\u8bed\u4e49\u3002\u4ee5\u9762\u5355\u6253\u5370\u548c\u626b\u7801\u4e3a\u4f8b&#xff1a;<\/p>\n<p>kotlin<\/p>\n<p>\/\/ \u5951\u7ea6\u5c42&#xff08;\u5e73\u53f0\u65e0\u5173\u8bed\u4e49&#xff09;<br \/>\ninterface LabelPrinter {<br \/>\n    suspend fun print(label: LabelData): PrintResult<br \/>\n}<\/p>\n<p>interface ContinuousScanner {<br \/>\n    fun start(onScan: (Barcode) -&gt; Unit)<br \/>\n    fun stop()<br \/>\n}<\/p>\n<p>interface ScaleReader {<br \/>\n    fun start(onWeight: (WeightReading) -&gt; Unit)<br \/>\n    fun stop()<br \/>\n}<\/p>\n<p>Kotlin\u3001Swift\u3001ArkTS \u5404\u81ea\u5b9e\u73b0\u8fd9\u4e09\u4e2a\u63a5\u53e3\u3002\u9886\u57df\u5c42\u7684\u9762\u5355\u7ec4\u88c5\u3001\u5e42\u7b49\u63d0\u4ea4\u3001\u79f0\u91cd\u7a33\u5b9a\u5224\u5b9a\u3001\u626b\u7801\u540e\u7684\u4e1a\u52a1\u5904\u7406&#xff0c;\u5168\u90e8\u5199\u5728\u5951\u7ea6\u4e4b\u4e0a&#xff0c;\u4e00\u4efd\u903b\u8f91&#xff0c;\u4e09\u7aef\u5171\u4eab&#xff08;\u901a\u8fc7 KMP \u6216\u5404\u81ea\u7ef4\u62a4&#xff0c;\u53d6\u51b3\u4e8e\u56e2\u961f\u7684\u6280\u672f\u6808\u9009\u62e9&#xff09;\u3002<\/p>\n<p>\u8fd9\u6837\u505a\u7684\u76f4\u63a5\u6536\u76ca\u662f&#xff1a;\u65b0\u589e\u4e00\u6b3e\u6253\u5370\u673a\u65f6&#xff0c;\u53ea\u9700\u8981\u6539\u5e73\u53f0\u9002\u914d\u5c42\u7684\u4e00\u4e2a\u5b9e\u73b0\u7c7b&#xff1b;\u626b\u7801\u53bb\u91cd\u7b56\u7565\u8c03\u6574\u65f6&#xff0c;\u53ea\u6539\u9886\u57df\u5c42\u7684 WeightStabilizer \u6216 ScanDeduplicator&#xff0c;\u4e09\u7aef\u884c\u4e3a\u4e00\u81f4\u3002<\/p>\n<h3>\u4e03\u3001\u907f\u5751\u6307\u5357<\/h3>\n<p>\u57511&#xff1a;\u628a Android \u7684 MTU \u534f\u5546\u7ecf\u9a8c\u76f4\u63a5\u5957\u5230 iOS\u3002 iOS \u4e0d\u5f00\u653e MTU \u534f\u5546&#xff0c;\u786c\u7f16\u7801 Android \u4fa7\u534f\u5546\u51fa\u7684\u5206\u5305\u5927\u5c0f&#xff0c;\u5728 iOS \u4e0a\u53ef\u80fd\u8d85\u51fa\u5b9e\u9645 MTU \u5bfc\u81f4\u5199\u5165\u5931\u8d25\u3002iOS \u7aef\u7684\u5206\u5305\u7b56\u7565\u5fc5\u987b\u57fa\u4e8e\u201c\u5199\u56de\u8c03\u9a71\u52a8 &#043; \u4fdd\u5b88\u7684 chunkSize\u201d&#xff0c;\u800c\u4e0d\u662f\u201c\u534f\u5546\u540e\u7cbe\u786e\u5207\u5206\u201d\u3002<\/p>\n<p>\u57512&#xff1a;\u9e3f\u8499\u8fde\u7eed\u626b\u7801\u7528 stop\/start \u4ee3\u66ff rescan\u3002 \u8fd9\u662f\u9e3f\u8499 Scan Kit \u6700\u5bb9\u6613\u8e29\u7684\u5751\u3002\u56de\u8c03\u91cc\u53ea\u505a\u4e1a\u52a1\u5904\u7406&#xff0c;\u7136\u540e customScan.rescan()&#xff1b;stop \u53ea\u5728\u9875\u9762\u9000\u51fa\u65f6\u8c03\u7528\u3002<\/p>\n<p>\u57513&#xff1a;\u7535\u5b50\u79e4\u901a\u77e5\u5f00\u4e86&#xff0c;\u4f46\u89e3\u6790\u5728\u4e3b\u7ebf\u7a0b\u3002 10\u201350Hz \u7684\u63a8\u9001\u5728\u4e3b\u7ebf\u7a0b\u89e3\u6790\u4f1a\u963b\u585e UI&#xff0c;\u4e25\u91cd\u65f6 ANR\u3002\u4e09\u7aef\u90fd\u5fc5\u987b\u628a\u5b57\u8282\u89e3\u6790\u548c\u7a33\u5b9a\u5224\u5b9a\u653e\u5230\u540e\u53f0\u7ebf\u7a0b\/\u534f\u7a0b\/\u5f02\u6b65\u4efb\u52a1\u3002<\/p>\n<p>\u57514&#xff1a;\u9762\u5355\u6253\u5370\u201c\u5199\u5165\u6210\u529f\u201d\u5c31\u8ba4\u4e3a\u6253\u51fa\u6765\u4e86\u3002 BLE \u5199\u5165\u6210\u529f\u53ea\u4ee3\u8868\u6570\u636e\u4ea4\u7ed9\u4e86\u84dd\u7259\u6808&#xff0c;\u4e0d\u4ee3\u8868\u6253\u5370\u673a\u5df2\u7ecf\u6267\u884c\u3002\u771f\u6b63\u7684\u6210\u529f\u4fe1\u53f7\u8981\u4e48\u6765\u81ea\u6253\u5370\u673a\u7684\u72b6\u6001\u901a\u77e5&#xff08;\u5982\u679c\u652f\u6301&#xff09;&#xff0c;\u8981\u4e48\u6765\u81ea\u4eba\u5de5\u786e\u8ba4\u3002\u7cfb\u7edf\u5c42\u9762\u5e94\u5f53\u628a\u201c\u5df2\u53d1\u9001\u201d\u548c\u201c\u5df2\u6253\u5370\u201d\u4f5c\u4e3a\u4e24\u4e2a\u72ec\u7acb\u72b6\u6001\u3002<\/p>\n<h3>\u516b\u3001\u603b\u7ed3<\/h3>\n<p>Eyf \u534a\u5b57\u8282 3.0 \u7684\u4e09\u7aef\u539f\u751f\u67b6\u6784&#xff0c;\u6838\u5fc3\u7ecf\u9a8c\u53ef\u4ee5\u6982\u62ec\u4e3a\u4e09\u53e5\u8bdd&#xff1a;<\/p>\n<li>\n<p>\u786c\u4ef6\u5dee\u5f02\u7559\u5728\u6700\u8584\u7684\u4e00\u5c42&#xff1a;Kotlin \u7684 MTU \u534f\u5546\u3001Swift \u7684\u5199\u56de\u8c03\u4e32\u884c\u5316\u3001ArkTS \u7684 rescan \u751f\u547d\u5468\u671f&#xff0c;\u5404\u81ea\u89e3\u51b3\u5404\u81ea\u7684\u95ee\u9898\u3002\u9886\u57df\u5c42\u53ea\u9762\u5bf9 LabelPrinter\u3001ScaleReader\u3001ContinuousScanner \u4e09\u4e2a\u5951\u7ea6\u3002<\/p>\n<\/li>\n<li>\n<p>\u9762\u5355\u7684\u5171\u6027\u662f\u6307\u4ee4\u5c42&#xff0c;\u5dee\u5f02\u662f\u4f20\u8f93\u5c42&#xff1a;CPCL \u7684 \\\\r\\\\n \u7ed3\u5c3e\u3001GBK \u7f16\u7801\u3001\u5b57\u8282\u6d41\u5199\u5165\u4e09\u7aef\u4e00\u81f4&#xff1b;\u5206\u5305\u5927\u5c0f\u548c\u5199\u5165\u8282\u594f\u7531\u5e73\u53f0\u9002\u914d\u5c42\u5404\u81ea\u51b3\u5b9a\u3002<\/p>\n<\/li>\n<li>\n<p>\u8fde\u7eed\u626b\u7801\u7684\u201c\u53bb\u91cd\u201d\u662f\u4e09\u7aef\u884c\u4e3a\u5dee\u5f02\u6700\u5927\u7684\u5730\u65b9&#xff1a;Android \u9760\u5e27\u7387\u63a7\u5236 &#043; \u65f6\u95f4\u7a97&#xff0c;iOS \u9760\u201c\u5185\u5bb9 &#043; \u4f4d\u7f6e IoU\u201d&#xff0c;\u9e3f\u8499\u9760 rescan &#043; \u4e09\u7ef4\u8054\u5408\u53bb\u91cd\u3002\u628a\u53bb\u91cd\u7b56\u7565\u653e\u5728\u9886\u57df\u5c42\u6536\u655b&#xff0c;\u5e73\u53f0\u5c42\u53ea\u8d1f\u8d23\u628a\u539f\u59cb\u8bc6\u522b\u7ed3\u679c\u5582\u8fdb\u6765\u3002<\/p>\n<\/li>\n<p>&gt; \u672c\u6587\u4f5c\u8005&#xff1a;\u6df1\u5733&#xff0b;Eyf\u2022\u534a\u5b57\u8282\u79d1\u6280\u25aa\u6280\u672f\u4ea7\u54c1\u56e2\u961f<br \/>\n&gt; \u7269\u6d41\u3001\u5feb\u9012\u3001\u5feb\u8fd0\u4f5c\u4e1a\u7ba1\u7406\u7cfb\u7edf&#xff0c;\u8ba9\u6bcf\u4e00\u7968&#xff0c;\u90fd\u6e05\u6670\u53ef\u63a7\u3002\u4ece\u4efb\u52a1\u5206\u914d\u5230\u7b7e\u6536\u56de\u4f20&#xff0c;\u4e00\u7ad9\u5f0f\u7ba1\u7406\u6bcf\u4e2a\u4f5c\u4e1a\u73af\u8282\u3002<\/p>\n<p>\u4f60\u5728\u4e09\u7aef\u539f\u751f\u5f00\u53d1\u4e2d\u9047\u5230\u7684\u6700\u68d8\u624b\u95ee\u9898\u662f\u84dd\u7259\u5206\u5305\u7684\u4e0d\u4e00\u81f4&#xff0c;\u8fd8\u662f\u8fde\u7eed\u626b\u7801\u53bb\u91cd\u7684\u884c\u4e3a\u5dee\u5f02&#xff1f;\u6b22\u8fce\u5728\u8bc4\u8bba\u533a\u5206\u4eab\u5177\u4f53\u573a\u666f\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4e00\u3001\u4e09\u7aef\u539f\u751f\u7684\u771f\u6b63\u96be\u70b9&#xff0c;\u4e0d\u5728\u201c\u5199\u4e09\u904d\u201d&#xff0c;\u800c\u5728\u201c\u4e09\u5957\u786c\u4ef6\u62bd\u8c61\u5c42\u4e92\u4e0d\u517c\u5bb9\u201dEyf \u534a\u5b57\u8282 3.0 \u662f\u4e00\u4e2a\u9762\u5411\u5feb\u9012\u672b\u7aef\u4e0e\u7f51\u70b9\u4f5c\u4e1a\u7684 APP&#xff0c;\u6838\u5fc3\u80fd\u529b\u96c6\u4e2d\u5728\u4e09\u4ef6\u4e8b&#xff1a;\u84dd\u7259\u7535\u5b50\u9762\u5355\u6253\u5370\u3001\u84dd\u7259\u7535\u5b50\u79e4\u79f0\u91cd\u3001\u6444\u50cf\u5934\u8fde\u7eed\u626b\u7801\u3002\u8fd9\u4e09\u4e2a\u80fd\u529b\u6709\u4e00\u4e2a\u5171\u540c\u7279\u5f81\u2014\u2014\u5b83\u4eec\u90fd\u76f4\u63a5\u64cd\u4f5c\u786c\u4ef6&#xff0c;\u800c Kotlin\u3001Swift\u3001ArkTS \u5bf9\u540c\u4e00\u786c\u4ef6\u7684\u62bd\u8c61\u6a21\u578b\u5b8c\u5168\u4e0d\u540c\u3002Android \u7684 BLE \u5141\u8bb8\u5e94\u7528\u4e3b\u52a8\u534f\u5546 MTU&#xff08;requestM<\/p>\n","protected":false},"author":2,"featured_media":116741,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[6264,13240,1693,188],"topic":[],"class_list":["post-116742","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server","tag-swift","tag-app","tag-kotlin","tag-188"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u3016\u5b9e\u6218\u3017Eyf \u534a\u5b57\u8282 3.0 APP \u4e09\u7aef\u539f\u751f\u67b6\u6784\uff1aKotlin\u3001Swift\u3001ArkTS \u4e0b\u7684\u84dd\u7259\u9762\u5355\u3001\u84dd\u7259\u79f0\u91cd\u4e0e\u626b\u7801\u6444\u50cf\u5934 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wsisp.com\/helps\/116742.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u3016\u5b9e\u6218\u3017Eyf \u534a\u5b57\u8282 3.0 APP \u4e09\u7aef\u539f\u751f\u67b6\u6784\uff1aKotlin\u3001Swift\u3001ArkTS \u4e0b\u7684\u84dd\u7259\u9762\u5355\u3001\u84dd\u7259\u79f0\u91cd\u4e0e\u626b\u7801\u6444\u50cf\u5934 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u4e00\u3001\u4e09\u7aef\u539f\u751f\u7684\u771f\u6b63\u96be\u70b9&#xff0c;\u4e0d\u5728\u201c\u5199\u4e09\u904d\u201d&#xff0c;\u800c\u5728\u201c\u4e09\u5957\u786c\u4ef6\u62bd\u8c61\u5c42\u4e92\u4e0d\u517c\u5bb9\u201dEyf \u534a\u5b57\u8282 3.0 \u662f\u4e00\u4e2a\u9762\u5411\u5feb\u9012\u672b\u7aef\u4e0e\u7f51\u70b9\u4f5c\u4e1a\u7684 APP&#xff0c;\u6838\u5fc3\u80fd\u529b\u96c6\u4e2d\u5728\u4e09\u4ef6\u4e8b&#xff1a;\u84dd\u7259\u7535\u5b50\u9762\u5355\u6253\u5370\u3001\u84dd\u7259\u7535\u5b50\u79e4\u79f0\u91cd\u3001\u6444\u50cf\u5934\u8fde\u7eed\u626b\u7801\u3002\u8fd9\u4e09\u4e2a\u80fd\u529b\u6709\u4e00\u4e2a\u5171\u540c\u7279\u5f81\u2014\u2014\u5b83\u4eec\u90fd\u76f4\u63a5\u64cd\u4f5c\u786c\u4ef6&#xff0c;\u800c Kotlin\u3001Swift\u3001ArkTS \u5bf9\u540c\u4e00\u786c\u4ef6\u7684\u62bd\u8c61\u6a21\u578b\u5b8c\u5168\u4e0d\u540c\u3002Android \u7684 BLE \u5141\u8bb8\u5e94\u7528\u4e3b\u52a8\u534f\u5546 MTU&#xff08;requestM\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/116742.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2026-10-21T18:17:16+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/10\/20261021181709-6ad901a5036e0.png\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/116742.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/116742.html\",\"name\":\"\u3016\u5b9e\u6218\u3017Eyf \u534a\u5b57\u8282 3.0 APP \u4e09\u7aef\u539f\u751f\u67b6\u6784\uff1aKotlin\u3001Swift\u3001ArkTS \u4e0b\u7684\u84dd\u7259\u9762\u5355\u3001\u84dd\u7259\u79f0\u91cd\u4e0e\u626b\u7801\u6444\u50cf\u5934 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-10-21T18:17:16+00:00\",\"dateModified\":\"2026-10-21T18:17:16+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/116742.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/116742.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/116742.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u3016\u5b9e\u6218\u3017Eyf \u534a\u5b57\u8282 3.0 APP \u4e09\u7aef\u539f\u751f\u67b6\u6784\uff1aKotlin\u3001Swift\u3001ArkTS \u4e0b\u7684\u84dd\u7259\u9762\u5355\u3001\u84dd\u7259\u79f0\u91cd\u4e0e\u626b\u7801\u6444\u50cf\u5934\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u3016\u5b9e\u6218\u3017Eyf \u534a\u5b57\u8282 3.0 APP \u4e09\u7aef\u539f\u751f\u67b6\u6784\uff1aKotlin\u3001Swift\u3001ArkTS \u4e0b\u7684\u84dd\u7259\u9762\u5355\u3001\u84dd\u7259\u79f0\u91cd\u4e0e\u626b\u7801\u6444\u50cf\u5934 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wsisp.com\/helps\/116742.html","og_locale":"zh_CN","og_type":"article","og_title":"\u3016\u5b9e\u6218\u3017Eyf \u534a\u5b57\u8282 3.0 APP \u4e09\u7aef\u539f\u751f\u67b6\u6784\uff1aKotlin\u3001Swift\u3001ArkTS \u4e0b\u7684\u84dd\u7259\u9762\u5355\u3001\u84dd\u7259\u79f0\u91cd\u4e0e\u626b\u7801\u6444\u50cf\u5934 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u4e00\u3001\u4e09\u7aef\u539f\u751f\u7684\u771f\u6b63\u96be\u70b9&#xff0c;\u4e0d\u5728\u201c\u5199\u4e09\u904d\u201d&#xff0c;\u800c\u5728\u201c\u4e09\u5957\u786c\u4ef6\u62bd\u8c61\u5c42\u4e92\u4e0d\u517c\u5bb9\u201dEyf \u534a\u5b57\u8282 3.0 \u662f\u4e00\u4e2a\u9762\u5411\u5feb\u9012\u672b\u7aef\u4e0e\u7f51\u70b9\u4f5c\u4e1a\u7684 APP&#xff0c;\u6838\u5fc3\u80fd\u529b\u96c6\u4e2d\u5728\u4e09\u4ef6\u4e8b&#xff1a;\u84dd\u7259\u7535\u5b50\u9762\u5355\u6253\u5370\u3001\u84dd\u7259\u7535\u5b50\u79e4\u79f0\u91cd\u3001\u6444\u50cf\u5934\u8fde\u7eed\u626b\u7801\u3002\u8fd9\u4e09\u4e2a\u80fd\u529b\u6709\u4e00\u4e2a\u5171\u540c\u7279\u5f81\u2014\u2014\u5b83\u4eec\u90fd\u76f4\u63a5\u64cd\u4f5c\u786c\u4ef6&#xff0c;\u800c Kotlin\u3001Swift\u3001ArkTS \u5bf9\u540c\u4e00\u786c\u4ef6\u7684\u62bd\u8c61\u6a21\u578b\u5b8c\u5168\u4e0d\u540c\u3002Android \u7684 BLE \u5141\u8bb8\u5e94\u7528\u4e3b\u52a8\u534f\u5546 MTU&#xff08;requestM","og_url":"https:\/\/www.wsisp.com\/helps\/116742.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-10-21T18:17:16+00:00","og_image":[{"url":"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/10\/20261021181709-6ad901a5036e0.png"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"5 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/116742.html","url":"https:\/\/www.wsisp.com\/helps\/116742.html","name":"\u3016\u5b9e\u6218\u3017Eyf \u534a\u5b57\u8282 3.0 APP \u4e09\u7aef\u539f\u751f\u67b6\u6784\uff1aKotlin\u3001Swift\u3001ArkTS \u4e0b\u7684\u84dd\u7259\u9762\u5355\u3001\u84dd\u7259\u79f0\u91cd\u4e0e\u626b\u7801\u6444\u50cf\u5934 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-10-21T18:17:16+00:00","dateModified":"2026-10-21T18:17:16+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/116742.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/116742.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/116742.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"\u3016\u5b9e\u6218\u3017Eyf \u534a\u5b57\u8282 3.0 APP \u4e09\u7aef\u539f\u751f\u67b6\u6784\uff1aKotlin\u3001Swift\u3001ArkTS \u4e0b\u7684\u84dd\u7259\u9762\u5355\u3001\u84dd\u7259\u79f0\u91cd\u4e0e\u626b\u7801\u6444\u50cf\u5934"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/116742","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=116742"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/116742\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media\/116741"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=116742"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=116742"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=116742"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=116742"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}