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?
I use chrome.serial to communicate with device on COM port and i need provide
Share
You can solve this by a
chrome extensionto support Content Scripts andpackaged appfor serial port communication with External Message CommunicationFetch 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.
References