Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/ionic-framework/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Ionic framework 如何从离子3中的OBDII读取数据?_Ionic Framework_Obd Ii - Fatal编程技术网

Ionic framework 如何从离子3中的OBDII读取数据?

Ionic framework 如何从离子3中的OBDII读取数据?,ionic-framework,obd-ii,Ionic Framework,Obd Ii,我需要一种方法来连接数据从蓝牙使用离子3检索数据 我现在以代码为例: this.bluetoothSerial.write(this.code).then( (success) => { alert('Connected ' + '. Data reading is successful: ' + new Uint8Array(success)); }, 该代码有什么问题?是的,我运行该代码,但无法获取数据。还有别的办法吗?嗨,提拉,欢迎来到SO!请记住这一页,尤其是这一部分,因

我需要一种方法来连接数据从蓝牙使用离子3检索数据

我现在以代码为例:

this.bluetoothSerial.write(this.code).then( (success) => {
    alert('Connected ' + '. Data reading is successful: ' + new Uint8Array(success));
},

该代码有什么问题?是的,我运行该代码,但无法获取数据。还有别的办法吗?嗨,提拉,欢迎来到SO!请记住这一页,尤其是这一部分,因为没有您提供的更多信息,我们无法解决您的问题。祝你好运