腾讯云
开发者社区
文档
建议反馈
控制台
登录/注册
首页
学习
活动
专区
工具
TVP
最新优惠活动
文章/答案/技术大牛
搜索
搜索
关闭
发布
精选内容/技术社群/优惠产品,
尽在小程序
立即前往
文章
问答
(9999+)
视频
沙龙
1
回答
ionic
2
BluetoothSerial
无法
工作
我想编辑一个通过蓝牙发送信息的程序,我的源代码在这里,即使我在我的设备上尝试,它仍然给我“
无法
启用蓝牙”。import { Injectable } from '@angular/core';import {//angular.io/docs/ts/latest/guide/dependency-injection.html
浏览 11
提问于2017-03-06
得票数 0
2
回答
在
ionic
2
中,当
BluetoothSerial
.isEnabled和
BluetoothSerial
.list()
、
、
Typescript错误属性'isEnabled‘在类型'typeof
BluetoothSerial
’上不存在还有这里上面是我在
ionic
2
中运行时得到的错误。
浏览 0
提问于2017-05-30
得票数 0
1
回答
如何使用离子3和角4通过BLE发送数据?
、
、
); // console.log('string from
2
nd
浏览 7
提问于2017-06-17
得票数 1
回答已采纳
1
回答
蓝牙系列-
Ionic
2
、
、
、
、
我已经测试过Google的一个应用程序,它可以
工作
,但是当我从
BluetoothSerial
本地库调用connect方法时,它不起作用。有人能帮帮我吗?import { Component } from '@angular/core'; import {
BluetoothSerial
} from '
ionic
-native'; @Comp
浏览 1
提问于2016-09-30
得票数 2
1
回答
为什么蓝牙Serial
Ionic
3的插座在几秒钟后就坏了?
、
、
、
、
代码可以
工作
,但在建立连接后,它只保持连接几秒钟。","id":"65:68:12:29:A9:
2
B","class":7936}]", source: file:///android_asset/www/build/main.js (62200)06-16 12:46:44.260
浏览 6
提问于2017-06-17
得票数 1
2
回答
如何使用
ionic
3连接蓝牙打印机?
、
、
我
无法
使用以下插件连接蓝牙打印机$ npm install --save @
ionic
-native/printer 有没有办法用
ionic
3连接蓝牙打印机?
浏览 4
提问于2017-10-26
得票数 0
回答已采纳
2
回答
蓝牙串行
Ionic
2
、
、
、
我现在正在用
ionic
2
制作安卓app.right,我想做的就是列出所有可用的蓝牙设备。下面是我的代码:import {
BluetoothSerial
} from '
ionic
-native'; selector:
浏览 4
提问于2016-12-01
得票数 0
回答已采纳
1
回答
蓝牙串行
Ionic
不在Android设备上
工作
,而是在IOS上
工作
、
、
、
我用的是
Ionic
和Vue.js。该代码在IOS上运行良好,但正在返回(“
无法
连接到Android上的这台设备”) () => { this.
bluetoothSerial
.subscribeRawData().subscribe( da
浏览 5
提问于2020-01-17
得票数 1
1
回答
无法
列出
ionic
2
中存在的蓝牙设备列表
、
、
、
我想展示一下
Ionic
2
中存在的蓝牙设备的列表。现在,我可以使用该应用程序打开手机上的蓝牙,但看不到其他设备。.ts文件:import { Platform, AlertController } from '
ionic
-angular'; import {
BluetoothSerial
} from '
ionic
浏览 0
提问于2017-04-16
得票数 1
1
回答
尝试导入库时出现Vue.js错误
、
、
、
我很尴尬,因为我不知道为什么我的库不能
工作
。注意:我是Vue.js的初学者 我安装了一个名为"Bluetooth Serial“的库,我想在一个组件中使用它,但经过多次尝试,它仍然不能
工作
我在我的入口点main.js import
BluetoothSerial
from "@
ionic
-native/bluetooth-serial/ngx"; Object.defineProperty(Vue.prototype, '$
bluetoothSerial<
浏览 7
提问于2019-10-09
得票数 0
回答已采纳
1
回答
ionic
2
中的蓝牙串行,没有设备列表
、
、
、
、
我在我的
Ionic
2
应用程序中使用蓝牙串行,我想列出可以连接的设备。import { Platform, AlertController } from '
ionic
-angular';import {
BluetoothSerial
} from '
ionic
浏览 0
提问于2017-02-18
得票数 0
2
回答
如何在离子3的代码中解决这个ngFor
、
我有一个cordova蓝牙插件,
工作
正常,但是当我试图显示配对设备的列表时,我
无法
在html页面上显示它们,但只是保持警惕。我已经尝试了我所能做的,但是我没有在应用程序的html页面上显示数据。我
无法
真正通过控制台获得错误,因为我正在实际设备上运行该应用程序。我是新的离子和角质,任何帮助我会真的非常感谢。ion-content>这是我的home.ts代码import { Component } from '@angular/core'; import { NavController } fro
浏览 0
提问于2018-10-25
得票数 0
回答已采纳
2
回答
反应本地等待承诺永不执行
、
、
、
、
我有一个正在调用的asycn函数,女巫正在调用await
BluetoothSerial
.discoverUnpairedDevices(),但是什么都没有发生,它只是等待。我遗漏了什么?discovering: true }) console.log("false: ", this.state.discovering)在将代码更改为 const unpairedDevices
浏览 5
提问于2020-02-21
得票数 1
1
回答
无法
从bluetooth Serial
Ionic
读取蓝牙数据
、
、
、
、
open(item: any){this.
bluetoothSerial
.connectInsecure("XX:XX:X4:X6:1X:
2
X").subscribe((data) =>{ this.
bluetoothSerial
.subscribeRawData().subscribe((data)=> { alert("Subscription : " + J
浏览 10
提问于2017-07-11
得票数 1
1
回答
用
Ionic
蓝牙串口读取多路数据
、
、
、
、
但我对在
Ionic
上做这件事的正确方法有疑问。BTString = serial1.read(); serial1.write("79.80"); // measurement
2
_<em
浏览 0
提问于2017-11-03
得票数 0
1
回答
构造函数中的离子-
BluetoothSerial
使所有元素不可见。
、
、
、
button>JS:import { AlertController } from '
ionic
-angular,但是在包含它之后按钮就消失了:import { Component } from '@angular/core'; import { AlertController } from '
ionic
-angular
浏览 1
提问于2017-06-15
得票数 1
回答已采纳
6
回答
如何在离子3中使用cordova插件蓝牙in?
、
、
、
、
var yourGloballyAccessablePlugin: any;解决方案尝试:因此,我尝试在最初的项目结构app.component.ts中运行这段代码,这是@Webruster推荐的,其中包含来自bluetoothle 的init params。this.splashScreen.hide(); this.initTranslate();但是这样应用程序甚至不加载,
浏览 14
提问于2017-12-24
得票数 3
回答已采纳
3
回答
BluetoothSerial
插件不适用于离子
、
、
、
、
我已经使用以下命令安装了蓝牙串口 com.
ionic
.keyboard1.0.4 "Keyboard"cordova-plugin-whitelist/css/
ionic
.css" rel=&quo
浏览 2
提问于2015-06-23
得票数 3
回答已采纳
1
回答
在角工厂中不能调用服务方法(使用
Ionic
)
、
使用
Ionic
v1并尝试使用this或self从工厂中调用函数,但得到错误消息: window.
bluetoothSerial
.connect(MACaddress, this.successConnect
2
浏览 1
提问于2016-11-09
得票数 0
回答已采纳
1
回答
如何将AT命令发送到BT盾小
工作
室(主从)- Arduino?
、
、
、
、
RxD 6 //Define RxD como 6 delay(2000); // Aguarda
2
segundos
blueToothSerial
.print("\r\n+INQ=1\r\n"); &
浏览 0
提问于2014-08-23
得票数 1
回答已采纳
点击加载更多
扫码
添加站长 进交流群
领取专属
10元无门槛券
手把手带您无忧上云
相关
资讯
荒野大镖客2无法连接到rockstar/无法启动游戏/无法建立连接教程
Windows 7升级1月更新汇总后导致SMBv2网络无法正常工作
艺术工作无法被人工智能取代
《瘟疫2》无法容忍的优化和系统
html2canvas 出现图片无法展示
热门
标签
更多标签
云服务器
ICP备案
云直播
对象存储
腾讯会议
活动推荐
运营活动
广告
关闭
领券