React-native-windows: Serial port communication

Created on 22 Jan 2020  路  3Comments  路  Source: microsoft/react-native-windows

Proposal: [Is that possible to have serial port communication on this]

Summary


We are building a professional app that may will use serial port communication to send commands to our devices.
How can I select a COM port and send commands to that port?

Motivation

Basic example

Open Questions

Extensions Invalid Triage question

All 3 comments

@dubiao the short answer is you'll need to write a native module to expose this platform behavior (for something like a serial port you're not going to find existing modules for Android or iOS I'm guessing ;)). We're currently landing more support for this in our 0.61 milestone. @stmoy Can you provide the best documentation links here?

The React Native Windows page has documentation for modules now. Closing this issue.

Was this page helpful?
0 / 5 - 0 ratings