[GH-ISSUE #170] [Question]: USB or Bluetooth #110

Closed
opened 2026-05-05 11:43:44 -06:00 by gitea-mirror · 4 comments
Owner

Originally created by @internetstyle on GitHub (Aug 8, 2018).
Original GitHub issue: https://github.com/kusti8/proton-native/issues/170

Is Proton native able to work with USB or Bluetooth? I work with web development, but now I need to make an app that communicates with a device via USB or Bluetooth and I would like to know if Proton Native is recommended for this. Thank you.

Originally created by @internetstyle on GitHub (Aug 8, 2018). Original GitHub issue: https://github.com/kusti8/proton-native/issues/170 Is Proton native able to work with USB or Bluetooth? I work with web development, but now I need to make an app that communicates with a device via USB or Bluetooth and I would like to know if Proton Native is recommended for this. Thank you.
Author
Owner

@kusti8 commented on GitHub (Aug 8, 2018):

What are you trying to do? Proton native is only the GUI library, meaning that it only displays what you want it to. Anything that happens on the back end with communicating with something else is separate. You need to search for node packages to communicate.

Personally, I would use something like mqtt for communication and skip USB.

<!-- gh-comment-id:411393525 --> @kusti8 commented on GitHub (Aug 8, 2018): What are you trying to do? Proton native is only the GUI library, meaning that it only displays what you want it to. Anything that happens on the back end with communicating with something else is separate. You need to search for node packages to communicate. Personally, I would use something like mqtt for communication and skip USB.
Author
Owner

@internetstyle commented on GitHub (Aug 8, 2018):

Got it. Thank you. I believe that with node packages I can then do it. I had not understood that Proton Native was just UI. Better yet, because I'm used to React.

MQTT currently I believe that it would not be possible as it is a third party equipment, which I need to monitor via the web. Would using MQTT require hardware changes?

<!-- gh-comment-id:411396779 --> @internetstyle commented on GitHub (Aug 8, 2018): Got it. Thank you. I believe that with node packages I can then do it. I had not understood that Proton Native was just UI. Better yet, because I'm used to React. MQTT currently I believe that it would not be possible as it is a third party equipment, which I need to monitor via the web. Would using MQTT require hardware changes?
Author
Owner

@kusti8 commented on GitHub (Aug 8, 2018):

It entirely depends on how the equipment and your idea of the stack is setup.

What I'm thinking is you have some sort of computer like a raspberry pi interface with the equipment. That can run a web server that has a rest API that you make. Then write the web/desktop clients to interface with that. But it entirely depends on your situation and I recommend researching more generally the ideal workflow.

<!-- gh-comment-id:411399100 --> @kusti8 commented on GitHub (Aug 8, 2018): It entirely depends on how the equipment and your idea of the stack is setup. What I'm thinking is you have some sort of computer like a raspberry pi interface with the equipment. That can run a web server that has a rest API that you make. Then write the web/desktop clients to interface with that. But it entirely depends on your situation and I recommend researching more generally the ideal workflow.
Author
Owner

@internetstyle commented on GitHub (Aug 8, 2018):

Thank you very much.

<!-- gh-comment-id:411400210 --> @internetstyle commented on GitHub (Aug 8, 2018): Thank you very much.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/proton-native#110
No description provided.