I use chrome.serial to communicate with device on COM port and i need provide basic api for javascript on my web-site. First try was with content_script + messaging, but i can't use serial permission with content_script because one of them require extension to be packaged app, and another to be extension. Can i solve this issue?
You can solve this by a chrome extension to support Content Scripts and packaged app for serial port communication with External Message Communication
Fetch your Extension Id's using management API and establish connection for single message communication.
On Message External is fired when a message is sent from another extension.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With