{"_id":"@ascentio-it/capacitor-bluetooth-serial","_rev":"7-6855a9559e1b347ba8867ca7d006adce","name":"@ascentio-it/capacitor-bluetooth-serial","dist-tags":{"latest":"8.0.1"},"versions":{"7.0.0":{"name":"@ascentio-it/capacitor-bluetooth-serial","version":"7.0.0","keywords":["capacitor","plugin","native"],"author":{"name":"Gerson Groth"},"license":"MIT","_id":"@ascentio-it/capacitor-bluetooth-serial@7.0.0","maintainers":[{"name":"daanvanhulst","email":"daan.van.hulst@ascentio.nl"}],"homepage":"https://github.com/ascentio-it/capacitor-bluetooth-serial#readme","bugs":{"url":"https://github.com/ascentio-it/capacitor-bluetooth-serial/issues"},"dist":{"shasum":"d99bce6bc0844db6cf9661e41c4d770d5b971999","tarball":"https://registry.npmjs.org/@ascentio-it/capacitor-bluetooth-serial/-/capacitor-bluetooth-serial-7.0.0.tgz","fileCount":35,"integrity":"sha512-apy1Yur2AljleVGZny5iFq2gpPVMY8eDf04F925uXuKHjDBYZhzfpBSly2SY03r1nvfD5nVmMDsuZS6J0aHvKQ==","signatures":[{"sig":"MEYCIQD5ykpuFu4JBtEOezTJm5MZ4cvbXl3d+sAoNAxZzaseTgIhAM8rUPSUX7HLSJUvSMlGr6cTPTnHcuvuCGuvnVL4LZZJ","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":105759},"main":"dist/plugin.cjs.js","types":"dist/esm/index.d.ts","unpkg":"dist/plugin.js","module":"dist/esm/index.js","gitHead":"8cf3f3e91c3c8a3222da3d2861b4c03cb2cdb9da","scripts":{"fmt":"npm run eslint -- --fix && npm run prettier -- --write && npm run swiftlint -- --fix --format","lint":"npm run eslint && npm run prettier -- --check && npm run swiftlint -- lint","build":"npm run clean && npm run docgen && tsc && rollup -c rollup.config.mjs","clean":"rimraf ./dist","watch":"tsc --watch","docgen":"docgen --api BluetoothSerialPlugin --output-readme README.md --output-json dist/docs.json","eslint":"eslint . --ext ts","verify":"npm run verify:ios && npm run verify:android && npm run verify:web","prettier":"prettier \"**/*.{css,html,ts,js,java}\" --plugin=prettier-plugin-java","swiftlint":"node-swiftlint","verify:ios":"cd ios && pod install && xcodebuild -workspace Plugin.xcworkspace -scheme Plugin -destination generic/platform=iOS && cd ..","verify:web":"npm run build","prepublishOnly":"npm run build","verify:android":"cd android && ./gradlew clean build test && cd ..","publish:cocoapod":"pod trunk push ./CapacitorBluetoothSerial.podspec --allow-warnings"},"_npmUser":{"name":"daanvanhulst","email":"daan.van.hulst@ascentio.nl"},"prettier":"@ionic/prettier-config","capacitor":{"ios":{"src":"ios"},"android":{"src":"android"}},"swiftlint":"@ionic/swiftlint-config","repository":{"url":"git+https://github.com/ascentio-it/capacitor-bluetooth-serial.git","type":"git"},"_npmVersion":"11.4.2","description":"Capacitor Bluetooth Serial Plugin","directories":{},"_nodeVersion":"24.4.0","eslintConfig":{"extends":"@ionic/eslint-config/recommended"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^8.57.0","rimraf":"^6.0.1","rollup":"^4.30.1","prettier":"^3.4.2","swiftlint":"^2.0.0","typescript":"~4.8.4","@capacitor/ios":"^7.0.0","@capacitor/core":"^7.0.0","@capacitor/docgen":"^0.3.0","@capacitor/android":"^7.0.0","@ionic/eslint-config":"^0.4.0","prettier-plugin-java":"^2.6.6","@ionic/prettier-config":"^4.0.0","@ionic/swiftlint-config":"^2.0.0"},"_npmOperationalInternal":{"tmp":"tmp/capacitor-bluetooth-serial_7.0.0_1761145700565_0.32176994296943917","host":"s3://npm-registry-packages-npm-production"}},"7.4.4":{"name":"@ascentio-it/capacitor-bluetooth-serial","version":"7.4.4","keywords":["capacitor","plugin","native"],"author":{"name":"Gerson Groth"},"license":"MIT","_id":"@ascentio-it/capacitor-bluetooth-serial@7.4.4","maintainers":[{"name":"daanvanhulst","email":"daan.van.hulst@ascentio.nl"}],"homepage":"https://github.com/ascentio-it/capacitor-bluetooth-serial#readme","bugs":{"url":"https://github.com/ascentio-it/capacitor-bluetooth-serial/issues"},"dist":{"shasum":"70445cbf706e368397f826241264f3aa70d17530","tarball":"https://registry.npmjs.org/@ascentio-it/capacitor-bluetooth-serial/-/capacitor-bluetooth-serial-7.4.4.tgz","fileCount":35,"integrity":"sha512-TG9qgXMVziqrBRMdfxx1fUFuKRTX59rtZQJVEcToT+pBhTMKTKCw1AC71uD1p4a69uVOQ7J/J1TcVIYNXOcE6g==","signatures":[{"sig":"MEYCIQCKJxHSk4beoBQauRomu+oHmwek/FC3JqGUNWQI+HtI4gIhAJki2VRvCvsPatjE3rPugzu5oXgbet1uE1J1LFXNpHsu","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":105803},"main":"dist/plugin.cjs.js","types":"dist/esm/index.d.ts","unpkg":"dist/plugin.js","module":"dist/esm/index.js","gitHead":"117a8b1252d4c43793b1b90daf2b1402fb058bf9","scripts":{"fmt":"npm run eslint -- --fix && npm run prettier -- --write && npm run swiftlint -- --fix --format","lint":"npm run eslint && npm run prettier -- --check && npm run swiftlint -- lint","build":"npm run clean && npm run docgen && tsc && rollup -c rollup.config.mjs","clean":"rimraf ./dist","watch":"tsc --watch","docgen":"docgen --api BluetoothSerialPlugin --output-readme README.md --output-json dist/docs.json","eslint":"eslint . --ext ts","verify":"npm run verify:ios && npm run verify:android && npm run verify:web","prettier":"prettier \"**/*.{css,html,ts,js,java}\" --plugin=prettier-plugin-java","swiftlint":"node-swiftlint","verify:ios":"cd ios && pod install && xcodebuild -workspace Plugin.xcworkspace -scheme Plugin -destination generic/platform=iOS && cd ..","verify:web":"npm run build","prepublishOnly":"npm run build","verify:android":"cd android && ./gradlew clean build test && cd ..","publish:cocoapod":"pod trunk push ./asc_CapacitorBluetoothSerial.podspec --allow-warnings"},"_npmUser":{"name":"daanvanhulst","email":"daan.van.hulst@ascentio.nl"},"prettier":"@ionic/prettier-config","capacitor":{"ios":{"src":"ios"},"android":{"src":"android"}},"swiftlint":"@ionic/swiftlint-config","repository":{"url":"git+https://github.com/ascentio-it/capacitor-bluetooth-serial.git","type":"git"},"_npmVersion":"11.4.2","description":"Capacitor Bluetooth Serial Plugin","directories":{},"_nodeVersion":"24.4.0","eslintConfig":{"extends":"@ionic/eslint-config/recommended"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^8.57.0","rimraf":"^6.0.1","rollup":"^4.30.1","prettier":"^3.4.2","swiftlint":"^2.0.0","typescript":"~4.8.4","@capacitor/ios":"^7.4.4","@capacitor/core":"^7.4.4","@capacitor/docgen":"^0.3.0","@capacitor/android":"^7.4.4","@ionic/eslint-config":"^0.4.0","prettier-plugin-java":"^2.6.6","@ionic/prettier-config":"^4.0.0","@ionic/swiftlint-config":"^2.0.0"},"_npmOperationalInternal":{"tmp":"tmp/capacitor-bluetooth-serial_7.4.4_1761149035123_0.08223141863563499","host":"s3://npm-registry-packages-npm-production"}},"7.5.0":{"name":"@ascentio-it/capacitor-bluetooth-serial","version":"7.5.0","keywords":["capacitor","plugin","native"],"author":{"name":"Gerson Groth"},"license":"MIT","_id":"@ascentio-it/capacitor-bluetooth-serial@7.5.0","maintainers":[{"name":"daanvanhulst","email":"daan.van.hulst@ascentio.nl"}],"homepage":"https://github.com/ascentio-it/capacitor-bluetooth-serial#readme","bugs":{"url":"https://github.com/ascentio-it/capacitor-bluetooth-serial/issues"},"dist":{"shasum":"388ddfdc936a89e08d6881f2c2f30528e87e58d8","tarball":"https://registry.npmjs.org/@ascentio-it/capacitor-bluetooth-serial/-/capacitor-bluetooth-serial-7.5.0.tgz","fileCount":35,"integrity":"sha512-Mdz9uPrWieaw6k3hasN2/P1dnO/xUkgC4Ux0iTbbvXOWIPUGmfiv7RYTez2qiZOtnFkLM0MZ1PNt6SmOBPm1Bw==","signatures":[{"sig":"MEQCIAo8vROJm2HOzLQrE/40fE/cnmRD/ThfLtvBa67r2na+AiAfcOYyr0VxonYw0Uo+8M3jHUDpHkTweq/vJq7zdTikng==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":116231},"main":"dist/plugin.cjs.js","types":"dist/esm/index.d.ts","unpkg":"dist/plugin.js","module":"dist/esm/index.js","gitHead":"0c7b020468a3c54ab5ca4dfec68c5a9dc0883ca1","scripts":{"fmt":"npm run eslint -- --fix && npm run prettier -- --write && npm run swiftlint -- --fix --format","lint":"npm run eslint && npm run prettier -- --check && npm run swiftlint -- lint","build":"npm run clean && npm run docgen && tsc && rollup -c rollup.config.mjs","clean":"rimraf ./dist","watch":"tsc --watch","docgen":"docgen --api BluetoothSerialPlugin --output-readme README.md --output-json dist/docs.json","eslint":"eslint . --ext ts --ignore-pattern dist/","verify":"npm run verify:ios && npm run verify:android && npm run verify:web","prettier":"prettier \"**/*.{css,html,ts,js,java}\" --plugin=prettier-plugin-java","swiftlint":"node-swiftlint","verify:ios":"cd ios && pod install && xcodebuild -workspace Plugin.xcworkspace -scheme Plugin -destination generic/platform=iOS && cd ..","verify:web":"npm run build","prepublishOnly":"npm run build","verify:android":"cd android && ./gradlew clean build test && cd ..","publish:cocoapod":"pod trunk push ./asc_CapacitorBluetoothSerial.podspec --allow-warnings"},"_npmUser":{"name":"daanvanhulst","email":"daan.van.hulst@ascentio.nl"},"prettier":"@ionic/prettier-config","capacitor":{"ios":{"src":"ios"},"android":{"src":"android"}},"swiftlint":"@ionic/swiftlint-config","repository":{"url":"git+https://github.com/ascentio-it/capacitor-bluetooth-serial.git","type":"git"},"_npmVersion":"11.4.2","description":"Capacitor Bluetooth Serial Plugin","directories":{},"_nodeVersion":"24.4.0","eslintConfig":{"extends":"@ionic/eslint-config/recommended"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^8.57.0","rimraf":"^6.0.1","rollup":"^4.30.1","prettier":"^3.4.2","swiftlint":"^2.0.0","typescript":"~4.8.4","@capacitor/ios":"^7.4.4","@capacitor/core":"^7.4.4","@capacitor/docgen":"^0.3.0","@capacitor/android":"^7.4.4","@ionic/eslint-config":"^0.4.0","prettier-plugin-java":"^2.6.6","@ionic/prettier-config":"^4.0.0","@ionic/swiftlint-config":"^2.0.0"},"_npmOperationalInternal":{"tmp":"tmp/capacitor-bluetooth-serial_7.5.0_1761550682168_0.9037116795894422","host":"s3://npm-registry-packages-npm-production"}},"7.5.2":{"name":"@ascentio-it/capacitor-bluetooth-serial","version":"7.5.2","keywords":["capacitor","plugin","native"],"author":{"name":"Gerson Groth"},"license":"MIT","_id":"@ascentio-it/capacitor-bluetooth-serial@7.5.2","maintainers":[{"name":"daanvanhulst","email":"daan.van.hulst@ascentio.nl"}],"homepage":"https://github.com/ascentio-it/capacitor-bluetooth-serial#readme","bugs":{"url":"https://github.com/ascentio-it/capacitor-bluetooth-serial/issues"},"dist":{"shasum":"eca8b78579f7435b98713f6d6338cad5d584a97a","tarball":"https://registry.npmjs.org/@ascentio-it/capacitor-bluetooth-serial/-/capacitor-bluetooth-serial-7.5.2.tgz","fileCount":35,"integrity":"sha512-+HhRckcpQCgP9Ex4Qv9OtFA4LwpWVgyi/ByluVI6+OQ8yACOfXJ990DCBS0q0a4N8GVazGfkXdprkOUWHVO7ww==","signatures":[{"sig":"MEYCIQDtzM5Ji78WsbyqdB/eQS6zasS7e6YMhnZNxJLoSSG/JwIhAO3kgkqG4FctSzI4gU/My89g66k5B2+8mQGV3R2INTXW","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":116778},"main":"dist/plugin.cjs.js","types":"dist/esm/index.d.ts","unpkg":"dist/plugin.js","module":"dist/esm/index.js","gitHead":"4873b80b6547d33bcdd860f1d1b1b179f07afb10","scripts":{"fmt":"npm run eslint -- --fix && npm run prettier -- --write && npm run swiftlint -- --fix --format","lint":"npm run eslint && npm run prettier -- --check && npm run swiftlint -- lint","build":"npm run clean && npm run docgen && tsc && rollup -c rollup.config.mjs","clean":"rimraf ./dist","watch":"tsc --watch","docgen":"docgen --api BluetoothSerialPlugin --output-readme README.md --output-json dist/docs.json","eslint":"eslint . --ext ts --ignore-pattern dist/","verify":"npm run verify:ios && npm run verify:android && npm run verify:web","prettier":"prettier \"**/*.{css,html,ts,js,java}\" --plugin=prettier-plugin-java","swiftlint":"node-swiftlint","verify:ios":"cd ios && pod install && xcodebuild -workspace Plugin.xcworkspace -scheme Plugin -destination generic/platform=iOS && cd ..","verify:web":"npm run build","prepublishOnly":"npm run build","verify:android":"cd android && ./gradlew clean build test && cd ..","publish:cocoapod":"pod trunk push ./asc_CapacitorBluetoothSerial.podspec --allow-warnings"},"_npmUser":{"name":"daanvanhulst","email":"daan.van.hulst@ascentio.nl"},"prettier":"@ionic/prettier-config","capacitor":{"ios":{"src":"ios"},"android":{"src":"android"}},"swiftlint":"@ionic/swiftlint-config","repository":{"url":"git+https://github.com/ascentio-it/capacitor-bluetooth-serial.git","type":"git"},"_npmVersion":"11.4.2","description":"Capacitor Bluetooth Serial Plugin","directories":{},"_nodeVersion":"24.4.0","eslintConfig":{"extends":"@ionic/eslint-config/recommended"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^8.57.0","rimraf":"^6.0.1","rollup":"^4.30.1","prettier":"^3.4.2","swiftlint":"^2.0.0","typescript":"~4.8.4","@capacitor/ios":"^7.4.4","@capacitor/core":"^7.4.4","@capacitor/docgen":"^0.3.0","@capacitor/android":"^7.4.4","@ionic/eslint-config":"^0.4.0","prettier-plugin-java":"^2.6.6","@ionic/prettier-config":"^4.0.0","@ionic/swiftlint-config":"^2.0.0"},"_npmOperationalInternal":{"tmp":"tmp/capacitor-bluetooth-serial_7.5.2_1762158646951_0.7989995091687114","host":"s3://npm-registry-packages-npm-production"}},"7.5.3":{"name":"@ascentio-it/capacitor-bluetooth-serial","version":"7.5.3","keywords":["capacitor","plugin","native"],"author":{"name":"Gerson Groth"},"license":"MIT","_id":"@ascentio-it/capacitor-bluetooth-serial@7.5.3","maintainers":[{"name":"daanvanhulst","email":"daan.van.hulst@ascentio.nl"}],"homepage":"https://github.com/ascentio-it/capacitor-bluetooth-serial#readme","bugs":{"url":"https://github.com/ascentio-it/capacitor-bluetooth-serial/issues"},"dist":{"shasum":"a03e7b277858f0359adc5e1dc66ca933cda00e5e","tarball":"https://registry.npmjs.org/@ascentio-it/capacitor-bluetooth-serial/-/capacitor-bluetooth-serial-7.5.3.tgz","fileCount":35,"integrity":"sha512-193i/VF8Ixji4O+pZ8QrZDNbb6pb0WFRdZR3R84+qZ60zgvFtqviW13/mgKVVaCkjXPVEyeBgF6yYmBcLL7esA==","signatures":[{"sig":"MEYCIQDoWX1rW5gp/U1Ln6tTR/xgJmxiesM1OKl+C5NIhIoDoAIhAKv1fXZfsqU/m0ro4KKb06Lq9jFOjtdB8m9/c5fXPMIP","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":117247},"main":"dist/plugin.cjs.js","types":"dist/esm/index.d.ts","unpkg":"dist/plugin.js","module":"dist/esm/index.js","gitHead":"ec1e67c4b5eebde8e66d83581720fd73252ebadc","scripts":{"fmt":"npm run eslint -- --fix && npm run prettier -- --write && npm run swiftlint -- --fix --format","lint":"npm run eslint && npm run prettier -- --check && npm run swiftlint -- lint","build":"npm run clean && npm run docgen && tsc && rollup -c rollup.config.mjs","clean":"rimraf ./dist","watch":"tsc --watch","docgen":"docgen --api BluetoothSerialPlugin --output-readme README.md --output-json dist/docs.json","eslint":"eslint . --ext ts --ignore-pattern dist/","verify":"npm run verify:ios && npm run verify:android && npm run verify:web","prettier":"prettier \"**/*.{css,html,ts,js,java}\" --plugin=prettier-plugin-java","swiftlint":"node-swiftlint","verify:ios":"cd ios && pod install && xcodebuild -workspace Plugin.xcworkspace -scheme Plugin -destination generic/platform=iOS && cd ..","verify:web":"npm run build","prepublishOnly":"npm run build","verify:android":"cd android && ./gradlew clean build test && cd ..","publish:cocoapod":"pod trunk push ./asc_CapacitorBluetoothSerial.podspec --allow-warnings"},"_npmUser":{"name":"daanvanhulst","email":"daan.van.hulst@ascentio.nl"},"prettier":"@ionic/prettier-config","capacitor":{"ios":{"src":"ios"},"android":{"src":"android"}},"swiftlint":"@ionic/swiftlint-config","repository":{"url":"git+https://github.com/ascentio-it/capacitor-bluetooth-serial.git","type":"git"},"_npmVersion":"11.4.2","description":"Capacitor Bluetooth Serial Plugin","directories":{},"_nodeVersion":"24.4.0","eslintConfig":{"extends":"@ionic/eslint-config/recommended"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^8.57.0","rimraf":"^6.0.1","rollup":"^4.30.1","prettier":"^3.4.2","swiftlint":"^2.0.0","typescript":"~4.8.4","@capacitor/ios":"^7.4.4","@capacitor/core":"^7.4.4","@capacitor/docgen":"^0.3.0","@capacitor/android":"^7.4.4","@ionic/eslint-config":"^0.4.0","prettier-plugin-java":"^2.6.6","@ionic/prettier-config":"^4.0.0","@ionic/swiftlint-config":"^2.0.0"},"_npmOperationalInternal":{"tmp":"tmp/capacitor-bluetooth-serial_7.5.3_1762256138800_0.7287298303825303","host":"s3://npm-registry-packages-npm-production"}},"8.0.0":{"name":"@ascentio-it/capacitor-bluetooth-serial","version":"8.0.0","keywords":["capacitor","plugin","native"],"author":{"name":"Gerson Groth"},"license":"MIT","_id":"@ascentio-it/capacitor-bluetooth-serial@8.0.0","maintainers":[{"name":"daanvanhulst","email":"daan.van.hulst@ascentio.nl"}],"homepage":"https://github.com/ascentio-it/capacitor-bluetooth-serial#readme","bugs":{"url":"https://github.com/ascentio-it/capacitor-bluetooth-serial/issues"},"dist":{"shasum":"61bceabd80a18d8e582a7b273b1b56b43201884d","tarball":"https://registry.npmjs.org/@ascentio-it/capacitor-bluetooth-serial/-/capacitor-bluetooth-serial-8.0.0.tgz","fileCount":35,"integrity":"sha512-3APYb6uwzfp11ucode4ZhDbjzVTF98sbuL+DFHJjHqwofW8RjSbk9fG2fY81S5qqCEURp4ZqUspnl9eD7wjn7w==","signatures":[{"sig":"MEUCIQDEVSPEMrCpSruM45dz856ytmFQuyY2XEFtA6S5KkD7YAIgSr5smZL6zFhSO+S4bLF3wvRTHxeSDJyN/MPfQAiN0rc=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":117386},"main":"dist/plugin.cjs.js","types":"dist/esm/index.d.ts","unpkg":"dist/plugin.js","module":"dist/esm/index.js","gitHead":"d8716f2578fd7fbf58aebb7090267baa45df27d0","scripts":{"lint":"eslint . --ext .ts,.js","build":"npm run clean && npm run docgen && tsc && rollup -c rollup.config.mjs","clean":"rimraf ./dist","watch":"tsc --watch","docgen":"docgen --api BluetoothSerialPlugin --output-readme README.md --output-json dist/docs.json","eslint":"eslint . --ext .ts,.js --ignore-pattern dist/","format":"prettier --write .","verify":"npm run verify:ios && npm run verify:android && npm run verify:web","prettier":"prettier \"**/*.{css,html,ts,js,java}\" --plugin=prettier-plugin-java","swiftlint":"node-swiftlint","verify:ios":"cd ios && pod install && xcodebuild -workspace Plugin.xcworkspace -scheme Plugin -destination generic/platform=iOS && cd ..","verify:web":"npm run build","prepublishOnly":"npm run build","verify:android":"cd android && ./gradlew clean build test && cd ..","publish:cocoapod":"pod trunk push ./asc_CapacitorBluetoothSerial.podspec --allow-warnings"},"_npmUser":{"name":"daanvanhulst","email":"daan.van.hulst@ascentio.nl"},"prettier":"@ionic/prettier-config","capacitor":{"ios":{"src":"ios"},"android":{"src":"android"}},"swiftlint":"@ionic/swiftlint-config","repository":{"url":"git+https://github.com/ascentio-it/capacitor-bluetooth-serial.git","type":"git"},"_npmVersion":"11.8.0","description":"Capacitor Bluetooth Serial Plugin","directories":{},"_nodeVersion":"24.11.1","eslintConfig":{"extends":"@ionic/eslint-config/recommended"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^8.57.1","rimraf":"^6.1.0","rollup":"^4.53.2","globals":"^17.3.0","prettier":"^3.8.1","swiftlint":"^2.0.0","@eslint/js":"^9.39.2","typescript":"^5.9.3","@types/node":"^25.2.0","@capacitor/ios":"^8.0.0","@capacitor/core":"^8.0.0","@capacitor/docgen":"^0.3.1","typescript-eslint":"^8.54.0","@capacitor/android":"^8.0.0","@ionic/eslint-config":"^0.4.0","prettier-plugin-java":"^2.7.7","@ionic/prettier-config":"^4.0.0","@ionic/swiftlint-config":"^2.0.0"},"_npmOperationalInternal":{"tmp":"tmp/capacitor-bluetooth-serial_8.0.0_1770023394102_0.7781613410855317","host":"s3://npm-registry-packages-npm-production"}},"8.0.1":{"name":"@ascentio-it/capacitor-bluetooth-serial","version":"8.0.1","description":"Capacitor Bluetooth Serial Plugin","main":"dist/plugin.cjs.js","module":"dist/esm/index.js","types":"dist/esm/index.d.ts","unpkg":"dist/plugin.js","scripts":{"verify":"npm run verify:ios && npm run verify:android && npm run verify:web","verify:ios":"cd ios && pod install && xcodebuild -workspace Plugin.xcworkspace -scheme Plugin -destination generic/platform=iOS && cd ..","verify:android":"cd android && ./gradlew clean build test && cd ..","verify:web":"npm run build","lint":"eslint . --ext .ts,.js","format":"prettier --write .","eslint":"eslint . --ext .ts,.js --ignore-pattern dist/","prettier":"prettier \"**/*.{css,html,ts,js,java}\" --plugin=prettier-plugin-java","swiftlint":"node-swiftlint","docgen":"docgen --api BluetoothSerialPlugin --output-readme README.md --output-json dist/docs.json","build":"npm run clean && npm run docgen && tsc && rollup -c rollup.config.mjs","clean":"rimraf ./dist","watch":"tsc --watch","prepublishOnly":"npm run build","publish:cocoapod":"pod trunk push ./AscentioItCapacitorBluetoothSerial.podspec --allow-warnings"},"author":{"name":"Gerson Groth"},"license":"MIT","devDependencies":{"@capacitor/android":"^8.0.0","@capacitor/core":"^8.0.0","@capacitor/docgen":"^0.3.1","@capacitor/ios":"^8.0.0","@eslint/js":"^9.39.2","@ionic/eslint-config":"^0.4.0","@ionic/prettier-config":"^4.0.0","@ionic/swiftlint-config":"^2.0.0","@types/node":"^25.2.0","eslint":"^8.57.1","globals":"^17.3.0","prettier":"^3.8.1","prettier-plugin-java":"^2.7.7","rimraf":"^6.1.0","rollup":"^4.53.2","swiftlint":"^2.0.0","typescript":"^5.9.3","typescript-eslint":"^8.54.0"},"prettier":"@ionic/prettier-config","swiftlint":"@ionic/swiftlint-config","eslintConfig":{"extends":"@ionic/eslint-config/recommended"},"capacitor":{"ios":{"src":"ios"},"android":{"src":"android"}},"publishConfig":{"access":"public"},"keywords":["capacitor","plugin","native"],"repository":{"type":"git","url":"git+https://github.com/ascentio-it/capacitor-bluetooth-serial.git"},"bugs":{"url":"https://github.com/ascentio-it/capacitor-bluetooth-serial/issues"},"_id":"@ascentio-it/capacitor-bluetooth-serial@8.0.1","gitHead":"ec6730da4d148a471cdde97d25518805929ec813","homepage":"https://github.com/ascentio-it/capacitor-bluetooth-serial#readme","_nodeVersion":"20.10.0","_npmVersion":"10.2.3","dist":{"integrity":"sha512-7IgQVE9CwRvuhyH+NKx+BsbCt9+evca00LQj6g2PqerhHGB5P8DQp6MCWMx5cPKWRB1CMIZEqlUhkW+8EDrF2g==","shasum":"96a178e8f650d5a199845debbb29fba35e0bb47a","tarball":"https://registry.npmjs.org/@ascentio-it/capacitor-bluetooth-serial/-/capacitor-bluetooth-serial-8.0.1.tgz","fileCount":35,"unpackedSize":117406,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIGqJvSns+upZRafGIVlOavJmKcKvXl6J4CDS8laMnPErAiEA/2wA4BTRz1sp5nUcxB68+vkpVDpDQ5OnIBDdpwU8WJM="}]},"_npmUser":{"name":"daanvanhulst","email":"daan.van.hulst@ascentio.nl"},"directories":{},"maintainers":[{"name":"daanvanhulst","email":"daan.van.hulst@ascentio.nl"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/capacitor-bluetooth-serial_8.0.1_1786020812532_0.13598313663444328"},"_hasShrinkwrap":false}},"time":{"created":"2025-10-22T15:08:20.468Z","modified":"2026-08-06T12:53:32.806Z","7.0.0":"2025-10-22T15:08:20.766Z","7.4.4":"2025-10-22T16:03:55.334Z","7.5.0":"2025-10-27T07:38:02.335Z","7.5.2":"2025-11-03T08:30:47.146Z","7.5.3":"2025-11-04T11:35:39.042Z","8.0.0":"2026-02-02T09:09:54.258Z","8.0.1":"2026-08-06T12:53:32.663Z"},"bugs":{"url":"https://github.com/ascentio-it/capacitor-bluetooth-serial/issues"},"author":{"name":"Gerson Groth"},"license":"MIT","homepage":"https://github.com/ascentio-it/capacitor-bluetooth-serial#readme","keywords":["capacitor","plugin","native"],"repository":{"type":"git","url":"git+https://github.com/ascentio-it/capacitor-bluetooth-serial.git"},"description":"Capacitor Bluetooth Serial Plugin","maintainers":[{"name":"daanvanhulst","email":"daan.van.hulst@ascentio.nl"}],"readme":"# Capacitor Bluetooth Serial Plugin\n\nA client implementation for interacting with Bluetooth (serial), using Capacitor.\n\nFork from [e-is/capacitor-bluetooth-serial](https://github.com/e-is/capacitor-bluetooth-serial)\n\nWhich is in turn forked from:\n\nForked from [agro1desenvolvimento/capacitor-bluetooth-serial](https://github.com/agro1desenvolvimento/capacitor-bluetooth-serial) (archived)\n\nI needed this plugin with Capacitor 8 and some additional logic for getting the paired devices. This is why I have forked it. I most likely won't add additional features. But I will try to keep the packages updated and working with newer versions of Capacitor. Our project only uses Android, and I don't have a iOS device to check if it works. This is why supported platforms only states Android.\n\nSupported platforms\n\n- [ ] Web\n- [x] Android\n- [?] iOS\n\nSupported Capacitor versions:\n\n- Capacitor 8 : use version 8.x\n- Capacitor 7 : use version 7.x\n- Capacitor 6 : use version 6.x\n- Capacitor 5 : use version 5.x\n- Capacitor 4 : use version 0.6.x\n- Capacitor <= 3: Please use [capacitor-bluetooth-serial](https://github.com/agro1desenvolvimento/capacitor-bluetooth-serial) (<= v0.0.3)\n\n## Usage\n\nInstall the plugin via npm\n\n`npm intall --save @ascentio-it/capacitor-bluetooth-serial`\n\n```typescript\nimport { BluetoothSerial } from '@ascentio-it/capacitor-bluetooth-serial';\n\n//...do something with plugin\n```\n\n## readStream (Helper Example)\n\nThe following is a helper function to continuously read data from a Bluetooth device as a stream, using notifications and a subscription pattern.\n\n```typescript\nimport { BluetoothSerial } from '@ascentio-it/capacitor-bluetooth-serial';\nimport type { PluginListenerHandle } from '@capacitor/core';\n\nconst readStream = (address: string, delimiter: string = '\\n') => {\n  let listener: PluginListenerHandle | null = null;\n  let stopped = false;\n  const subscribers: Array<(data: string) => void> = [];\n\n  BluetoothSerial.startNotifications({ address, delimiter })\n    .then(() => {\n      BluetoothSerial.addListener('onRead', (data: { value: string }) => {\n        if (!stopped) {\n          subscribers.forEach((cb) => cb(data.value));\n        }\n      }).then((handle) => {\n        listener = handle;\n      });\n    })\n    .catch((err) => {\n      subscribers.forEach((cb) =>\n        cb(`Error starting notifications: ${err instanceof Error ? err.message : String(err)}`),\n      );\n    });\n\n  return {\n    subscribe(cb: (data: string) => void) {\n      subscribers.push(cb);\n\n      return {\n        unsubscribe() {\n          stopped = true;\n          if (listener) {\n            listener.remove();\n          }\n        },\n      };\n    },\n  };\n};\n\n// Usage example:\nconst stream = readStream('00:11:22:33:44:55');\nconst subscription = stream.subscribe((data) => {\n  console.log('Received:', data);\n});\n\n// To stop listening:\n// subscription.unsubscribe();\n```\n\n## API Documentation\n\nInterface and type definitions can be found [here](./src/definitions.ts).\n\n# API\n\n## Methods\n\n- [BluetoothSerial.checkBluetoothPermissions](#checkBluetoothPermissions)\n- [BluetoothSerial.getPairedDevices](#getPairedDevices)\n- [BluetoothSerial.isEnabled](#isEnabled)\n- [BluetoothSerial.canEnable](#canEnable)\n- [BluetoothSerial.enable](#enable)\n- [BluetoothSerial.disable](#disable)\n- [BluetoothSerial.startEnabledNotifications](#startEnabledNotifications)\n- [BluetoothSerial.stopEnabledNotifications](#stopEnabledNotifications)\n- [BluetoothSerial.scan](#scan)\n- [BluetoothSerial.connect](#connect)\n- [BluetoothSerial.connectInsecure](#connectInsecure)\n- [BluetoothSerial.disconnect](#disconnect)\n- [BluetoothSerial.isConnected](#isConnected)\n- [BluetoothSerial.read](#read)\n- [BluetoothSerial.readUntil](#readUntil)\n- [BluetoothSerial.startNotifications](#startNotifications)\n- [BluetoothSerial.stopNotifications](#stopNotifications)\n- [BluetoothSerial.write](#write)\n\n## checkBluetoothPermissions\n\nChecks if Bluetooth permissions are granted (Android only).\n\n`checkBluetoothPermissions(): Promise<boolean>;`\n\n### Description\n\nChecks whether the required Bluetooth permissions are granted on Android. Returns a promise that resolves to `true` if permissions are granted, or `false` otherwise.\n\n### Parameters\n\nNone.\n\n### Quick Example\n\n```typescript\nBluetoothSerial.checkBluetoothPermissions()\n  .then((granted: boolean) => {\n    if (granted) {\n      console.log('Bluetooth permissions granted');\n    } else {\n      console.log('Bluetooth permissions not granted');\n    }\n  })\n  .catch(() => {\n    console.log('Error checking Bluetooth permissions');\n  });\n```\n\n## getPairedDevices\n\nGet a list of paired Bluetooth devices.\n\n`getPairedDevices(): Promise<{ devices: PairedBluetoothDevice[] }>;`\n\n### Description\n\nReturns a promise that resolves to an object containing an array of paired Bluetooth devices. Each device includes a name and address.\n\n### Parameters\n\nNone.\n\n### Quick Example\n\n```typescript\nBluetoothSerial.getPairedDevices()\n  .then(({ devices }) => {\n    devices.forEach((device) => {\n      console.log(`Device: ${device.name}, Address: ${device.address}`);\n    });\n  })\n  .catch(() => {\n    console.log('Error retrieving paired devices');\n  });\n```\n\n## isEnabled\n\nReports if bluetooth is enabled.\n\n`isEnabled(): Promise<BluetoothState>;`\n\n### Description\n\nFunction `isEnabled` calls the success whatever bluetooth is enabled or not. The promise will contain an attribute `enabled` indicating if bluetooth is enabled or _not_ enabled. The failure callback will be called only if an error occurs.\n\nIf you want to enable bluetooth afterwards, you can use #enable directly, once #enable also check if the bluetooth is conected or not.\n\n### Parameters\n\nNone.\n\n### Quick Example\n\n```typescript\nBluetoothSerial.isEnabled()\n  .then((response: BluetoothState) => {\n    const status = response.enabled ? 'enabled' : 'disabled';\n    console.log(`Bluetooth is ${status}`);\n  })\n  .catch(() => {\n    console.log('Error checking bluetooth status');\n  });\n```\n\n## canEnable\n\nReports if bluetooth can be enabled.\n\n`canEnable(): Promise<BluetoothState>;`\n\n### Description\n\nFunction `canEnable` calls the success whatever bluetooth can be enabled or not. The promise will contain an attribute `enabled` indicating if bluetooth can be enabled or _not_. The failure callback will be called only if an error occurs.\n\n### Parameters\n\nNone.\n\n### Quick Example\n\n```typescript\nBluetoothSerial.canEnable()\n  .then((response: BluetoothState) => {\n    const canEnable = response.enabled;\n    console.log(`Bluetooth can be enabled ? ${canEnable}`);\n  })\n  .catch(() => {\n    console.log('Error checking if bluetooth can be enabled');\n  });\n```\n\n## enable\n\nEnable bluetooth if it is not enabled. Also request permissions for bluetooth access if it is necessary.\n\n`enable(): Promise<BluetoothState>;`\n\n### Description\n\nFunction `enable` calls the success whatever bluetooth is successfully enabled or not. The promise will contain an attribute `enabled` indicating if bluetooth is enabled or _not_ enabled after the process. The failure callback will be called only if an error occurs.\n\nIf the app does not have permission to use bluetooth, it will request it.\n\n### Parameters\n\nNone.\n\n### Quick Example\n\n```typescript\nBluetoothSerial.enable()\n  .then((response: BluetoothState) => {\n    const status = response.enabled ? 'enabled' : 'disabled';\n    console.log(`Bluetooth is ${status}`);\n  })\n  .catch(() => {\n    console.log('Error enabling bluetooth');\n  });\n```\n\n## disable\n\nDisable bluetooth if enabled. Also request permissions for bluetooth access if it is necessary.\n\n`disable(): Promise<BluetoothState>;`\n\n### Description\n\nFunction `disable` calls the success whatever bluetooth is successfully disabled or not.\nThe promise will contain an attribute `enabled` indicating if bluetooth is enabled or _not_ enabled after the process.\nThe failure callback will be called only if an error occurs.\n\nIf the app does not have permission to use bluetooth, it will request it.\n\n### Parameters\n\nNone.\n\n### Quick Example\n\n```typescript\nBluetoothSerial.disable()\n  .then((response: BluetoothState) => {\n    const status = response.enabled ? 'enabled' : 'disabled';\n    console.log(`Bluetooth is ${status}`);\n  })\n  .catch(() => {\n    console.log('Error disabling bluetooth');\n  });\n```\n\n## startEnabledNotifications\n\nBe notified when bluetooth status changed.\n\n`startEnabledNotifications(): Promise<void>`;\n\n### Description\n\nFunction `startEnabledNotifications` enable status notifications. In order to retrieve the values, use an Event Listener with 'onEnabledChanged' as event name.\n\n```typescript\nconst eventListener = BluetoothSerial.addListener('onEnabledChanged', (response: BluetoothState) => {\n  const { enabled } = response;\n  //Do something with enabled variable\n});\n```\n\n### Parameters\n\nNone.\n\n### Quick Example\n\n```typescript\nBluetoothSerial.startEnabledNotifications()\n  .then(() => {\n    eventListener = BluetoothSerial.addListener('onEnabledChanged', (data: BluetoothState) => {\n      console.log('Bluetooth state changed to ' + (data.enabled ? 'Enabled' : 'Disabled'));\n    });\n  })\n  .catch(() => {\n    console.log('Error starting enabled listener');\n  });\n```\n\n## stopEnabledNotifications\n\nStops the propagation of value changes.\n\n`stopEnabledNotifications(): Promise<void>`;\n\n### Description\n\nFunction `stopEnabledNotifications` disable bluetooth state notifications. Additionally, the event listener has to be removed.\n\n```typescript\neventListener.remove();\n```\n\n### Parameters\n\nNone.\n\n### Quick Example\n\n```typescript\nBluetoothSerial.stopEnabledNotifications()\n  .then(() => {\n    eventListener.remove();\n  })\n  .catch(() => {\n    console.log('Error disabling listener for device');\n  });\n```\n\n## scan\n\nDiscover devices visible and close to the device\n\n`scan(): Promise<BluetoothScanResult>;`\n\n### Description\n\n#### Android\n\nFunction `scan` discovers Bluetooth devices close to the device and visible. The success callback is called with a list of objects similar to `list`, or an empty list if no devices are found.\n\nExample list passed to success callback.\n\n```json\n[\n  {\n    \"class\": 0,\n    \"id\": \"00:11:22:33:44:55\",\n    \"address\": \"00:11:22:33:44:55\",\n    \"name\": \"Device 1\"\n  },\n  {\n    \"class\": 7936,\n    \"id\": \"01:23:6645:4D67:89:00\",\n    \"address\": \"01:23:6645:4D67:89:00\",\n    \"name\": \"Device 2\"\n  }\n]\n```\n\nThe discovery process takes a while to happen.\nYou may want to show a progress indicator while waiting for the discover proces to finish, and the sucess callback to be invoked.\n\nCalling `connect` on an unpaired Bluetooth device should begin the Android pairing process.\n\n### Parameters\n\nNone.\n\n### Quick Example\n\n```typescript\nBluetoothSerial\n  .scan()\n  .then((result: BluetoothScanResult) => {\n    result.devices.forEach((device: BluetoothDevice) {\n        console.log(device.id);\n    });\n  })\n  .catch(() => {\n    console.log('Error scanning devices');\n  });\n```\n\n## connect\n\nConnect to a Bluetooth device.\n\n`connect(options: BluetoothConnectOptions): Promise<void>`;\n\n### Description\n\nFunction `connect` connects to a Bluetooth device. The callback Success will be called when the connection is successful. Failure is called if the connection fails.\n\n#### Android\n\nFor Android, `connect` takes a MAC address of the remote device.\n\n### Parameters\n\n- { **address** }: Identifier of the remote device.\n\n### Quick Example\n\n```typescript\nBluetoothSerial.connect({\n  address: '00:11:22:33:44:55',\n})\n  .then(() => {\n    console.log('Successfully connected');\n  })\n  .catch(() => {\n    console.log('Error connecting...');\n  });\n```\n\n## connectInsecure\n\nConnect insecurely to a Bluetooth device.\n\n`connectInsecure(options: BluetoothConnectOptions): Promise<void>`;\n\n### Description\n\nFunction `connectInsecure` connects to a Bluetooth device. The callback Success will be called when the connection is successful. Failure is called if the connection fails.\nFunction `connectInsecure` works like [BluetoothSerial.connect](#connect), but creates an insecure connection to a Bluetooth device. See the [Android docs](<https://developer.android.com/reference/android/bluetooth/BluetoothDevice.html#createInsecureRfcommSocketToServiceRecord(java.util.UUID)>) for more information.\n\n#### Android\n\nFor Android, `connectInsecure` takes a MAC address of the remote device.\n\n### Parameters\n\n- { **address** }: Identifier of the remote device.\n\n### Quick Example\n\n```typescript\nBluetoothSerial.connectInsecure({\n  address: '00:11:22:33:44:55',\n})\n  .then(() => {\n    console.log('Successfully connected');\n  })\n  .catch(() => {\n    console.log('Error connecting...');\n  });\n```\n\n## disconnect\n\nDisconnect a Bluetooth device.\n\n`disconnect(options: BluetoothConnectOptions): Promise<void>`;\n\n### Description\n\nFunction `disconnect` disconnects a Bluetooth device. The callback Success will be called when the disconnection is successful. Failure is called if the disconnection fails.\n\n#### Android\n\nFor Android, `disconnect` takes a MAC address of the remote device.\n\n**Warning**: If no address is passed, all devices will be disconnected.\n\n### Parameters\n\n- { **address** }: Identifier of the remote device.\n\n### Quick Example\n\n```typescript\nBluetoothSerial.disconnect({\n  address: '00:11:22:33:44:55',\n})\n  .then(() => {\n    console.log('Successfully disconnected');\n  })\n  .catch(() => {\n    console.log('Error disconnecting...');\n  });\n```\n\n## isConnected\n\nReports the connection status.\n\n`isConnected(options: BluetoothConnectOptions): Promise<BluetoothConnectResult>`;\n\n### Description\n\nFunction `isConnected` calls the success callback with the connection status (connected or not connected). Failure will be called only if an error occurs.\n\n#### Android\n\nFor Android, `isConnected` takes a MAC address of the remote device.\n\n### Parameters\n\n- { **address** }: Identifier of the remote device.\n\n### Quick Example\n\n```typescript\nBluetoothSerial.isConnected({\n  address: '00:11:22:33:44:55',\n})\n  .then((result: BluetoothConnectResult) => {\n    const status = result.connected ? 'connected' : 'disconnected';\n    console.log(`Device is ${status}`);\n  })\n  .catch(() => {\n    console.log('Error checking connection status');\n  });\n```\n\n## read\n\nReads data from the buffer.\n\n`read(options: BluetoothReadOptions): Promise<BluetoothReadResult>`;\n\n### Description\n\nFunction `read` reads the data from the buffer. The data is passed to the success callback as a String. Calling `read` when no data is available will pass an empty String to the callback.\n\n### Parameters\n\n- { **address** }: Identifier of the remote device.\n\n### Quick Example\n\n```typescript\nBluetoothSerial.read({\n  address: '00:11:22:33:44:55',\n})\n  .then((result: BluetoothReadResult) => {\n    console.log(result.data);\n  })\n  .catch(() => {\n    console.log('Error reading data from device');\n  });\n```\n\n## readUntil\n\nReads data from the buffer until it reaches a delimiter.\n\n`readUntil(options: BluetoothReadUntilOptions): Promise<BluetoothReadResult>`;\n\n### Description\n\nFunction `readUntil` reads the data from the buffer until it reaches a delimiter. The data is passed to the success callback as a String. If the buffer does not contain the delimiter, an empty String is passed to the callback.\n\n### Parameters\n\n- { **address** }: Identifier of the remote device.\n- { **delimiter** }: Delimiter.\n\n### Quick Example\n\n```typescript\nBluetoothSerial.readUntil({\n  address: '00:11:22:33:44:55',\n  delimiter: '\\n',\n})\n  .then((result: BluetoothReadResult) => {\n    console.log(result.data);\n  })\n  .catch(() => {\n    console.log('Error reading data from device');\n  });\n```\n\n## startNotifications\n\nEnable and be notified when any data is received.\n\n`startNotifications(options: BluetoothEnableNotificationsOptions): Promise<void>`;\n\n### Description\n\nFunction `startNotifications` enable notifications. In order to retrieve the values, use an Event Listener with 'onRead' as event name.\n\n```typescript\nconst eventListener = BluetoothSerial.addListener('onRead', (response: BluetoothReadResult) => {\n  const { value } = response;\n  //Do something with the value\n});\n```\n\n### Parameters\n\n- { **address** }: Identifier of the remote device.\n- { **delimiter** }: Delimiter for notification.\n\n### Quick Example\n\n```typescript\nBluetoothSerial.startNotifications({\n  address: '00:11:22:33:44:55',\n  delimiter: '\\n',\n})\n  .then((result: BluetoothEnableNotificationsResult) => {\n    eventListener = BluetoothSerial.addListener('onRead', (data: BluetoothReadResult) => {\n      console.log('Received value: ' + data.value);\n    });\n  })\n  .catch(() => {\n    console.log('Error enabling listener for device');\n  });\n```\n\n## stopNotifications\n\nStops the propagation of value changes.\n\n`stopNotifications(options: BluetoothDisableNotificationsOptions): Promise<void>`;\n\n### Description\n\nFunction `stopNotifications` disable notifications. Additionally, the event listener has to be removed.\n\n```typescript\neventListener.remove();\n```\n\n### Parameters\n\n- { **address** }: Identifier of the remote device.\n\n### Quick Example\n\n```typescript\nBluetoothSerial.stopNotifications({\n  address: '00:11:22:33:44:55',\n})\n  .then(() => {\n    eventListener.remove();\n  })\n  .catch(() => {\n    console.log('Error disabling listener for device');\n  });\n```\n\n## write\n\nWrite data to the buffer.\n\n`write(options: BluetoothWriteOptions): Promise<void>`;\n\n### Description\n\nFunction `write` writes data to the buffer.\n\n### Parameters\n\n- { **address** }: Identifier of the remote device.\n- { **value** }: String to send.\n\n### Quick Example\n\n```typescript\nBluetoothSerial.write({\n  address: '00:11:22:33:44:55',\n  value: 'Hello world',\n})\n  .then(() => {\n    console.log('Value sent to device');\n  })\n  .catch(() => {\n    console.log('Error writing data to device');\n  });\n```\n","readmeFilename":"README.md"}