1
广告数据对于iPhone而言是可读格式,但对于android而言,它是十进制格式。如何阅读和解释Android的广告数据包。如何从BLE读取广告数据Ionic
this.scanner = this.ble.scan(["00EDSE-0000-00AE-9VVQ-9125475145125"], 1).subscribe((response) => {
console.log("success scan.." + JSON.stringify(response));
this.ble.connect(response.id).subscribe((response) => {
this.toast.show("Successfully paired", '2000', 'bottom').subscribe((toast) => {
console.log(toast);
this.spinnerDialog.hide();
});