question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Question: cordovarduino vs. cordova-plugin-serial

See original GitHub issue

First of all, thanks for this great plugin! Will post to #15 as soon as there’s something to see 😉

Looking for a USB/serial plugin for Android, I found both this [https://www.npmjs.com/package/cordovarduino] and cordova-plugin-serial [https://www.npmjs.com/package/cordova-plugin-serial], which seem to be very similar, except for version numbers and maintainers. So far, I’ve been using cordova-plugin-serial with my Ionic 2 app, but the link to its GitHub repo seems broken.

So, you could please shed some light on this?

Issue Analytics

  • State:open
  • Created 7 years ago
  • Comments:13 (12 by maintainers)

github_iconTop GitHub Comments

9reactions
tkemcommented, Jan 17, 2017

Maybe cordova-plugin-usb-serial would be an alternative (similar to cordova-plugin-bluetooth-serial)?

2reactions
ccoenencommented, Mar 28, 2018

@xseignard could you look into changing the id in plugin.xml and package.json?

https://github.com/xseignard/cordovarduino/blob/eb35d36e264763f4a47d75f195860cd365f245ab/plugin.xml#L4-L5

and

https://github.com/xseignard/cordovarduino/blob/223eb2bc8f78e660475964f327b424711081529b/package.json#L6

adding this plugin will alway change the project’s `package.json´, adding this line:

"fr.drangies.cordova.serial": "~0.0.7",

and this breaks subsequent npm install. I believe changing those two places would fix the issue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Read data from multiple USB ports on Android, using ...
Using the Cordova plugin, xseignard/cordovarduino , I can get data from either port A or port B, but not both concurrently.
Read more >
cordova-plugin-serial - npm
Cordova plugin to communicate with the android USB serial port. Latest version: 0.0.3, last published: 7 years ago.
Read more >
Cordova-plugin-serial NPM - npm.io
Cordovarduino is a Cordova/Phonegap plugin that enable you to use serial communication from an Android device to a serial over USB capable one....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found