# ionic native-serial returns device not found

**URL:** <https://forum.ionicframework.com/t/ionic-native-serial-returns-device-not-found/150520>\
**Category:** Ionic Native\
**Created:** [December 16, 2018, 11:46pm UTC](https://forum.ionicframework.com/t/ionic-native-serial-returns-device-not-found/150520 "2018-12-16T23:46:52Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![JuninhoDrak](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/juninhodrak/32/123203_2.png) [@JuninhoDrak](https://forum.ionicframework.com/u/JuninhoDrak)\
**Post date:** [December 16, 2018, 11:46pm UTC](https://forum.ionicframework.com/t/ionic-native-serial-returns-device-not-found/150520/1 "2018-12-16T23:46:52Z")

</div>

The problem is: I want to establish communication between my desktop and my android smart device.

I’m trying a simple step but I get “device not found” as return

this is where I base my coding: [https://ionicframework.com/docs/native/serial/](https://ionicframework.com/docs/native/serial/)

this is the code:

> import { Component, OnInit } from ‘@angular/core’; import { NavController } from ‘ionic-angular’; import {Serial} from ‘@ionic-native/serial’;
> 
> @Component({ selector: ‘page-home’, templateUrl: ‘home.html’ }) export class HomePage implements OnInit { public status:string;  
> constructor(public navCtrl: NavController, public serial:Serial) {
> 
> }
> 
> ngOnInit(){  
> this.serial.requestPermission({vid:“04e8”,pid:“6860”,driver:“FtdiSerialDriver”})//I already have tried to omit the request options but got the same error .then(()=\>{ this.status = “Permission requested”; //this would be the successfully result }).catch(error=\>{ this.status = error.toString(); // it’s returning “device not found” }); } }

there are few content about this feature on web.

---

<div class="post-metadata">

**Author:** ![mhartington](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/mhartington/32/137757_2.png) [@mhartington](https://forum.ionicframework.com/u/mhartington)\
**Post date:** [July 19, 2021, 9:03pm UTC](https://forum.ionicframework.com/t/ionic-native-serial-returns-device-not-found/150520/2 "2021-07-19T21:03:41Z")

</div>


