We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
This plugin is not working for me. It does not recognise the class as it returns null
"
import SerialPortAPI from 'react-native-serial-port-api'; async function example() { /* const devices = await SerialPortAPI.devicePathsAsync(); console.log(devices)*/ const serialPort = await SerialPortAPI.open("/dev/ttyS4", { baudRate: 38400 }); console.log(serialPort, 'serialPort'); // subscribe received data const sub = serialPort.onReceived(buff => { console.log(buff.toString('hex').toUpperCase()); }) // unsubscribe // sub.remove(); // send data with hex format await serialPort.send('00FF'); // close serialPort.close(); } example();
The text was updated successfully, but these errors were encountered:
Which version?
Sorry, something went wrong.
Hello,
I tried the version v.1.4.0-rc.1 as I saw it in previous messages. Previously I think I tried the latest version.
Thank you
Do you know if it works with expo? Thank you!
I am not familiar with Expo. Can you try the latest version?
No branches or pull requests
This plugin is not working for me. It does not recognise the class as it returns null
"
"
The text was updated successfully, but these errors were encountered: