Skip to content
New issue

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

write string error #44

Open
alisaya10 opened this issue Apr 26, 2022 · 0 comments
Open

write string error #44

alisaya10 opened this issue Apr 26, 2022 · 0 comments

Comments

@alisaya10
Copy link

hi dear i connected to the device and i get the content too but when i want to write string its give me this error

i try also to connect with Auto-Connection i click on send but it doesnt give an error but still doesnt send to device

13 | There is no connection

this is my code to send to the device

handleSendButton = () => {
  let command = Buffer.Buffer.from([43, 0, 4, 0, 1, 1, 0]);
  command = command.toString();
  console.log(command);
  RNSerialport.writeString('/dev/bus/usb/001/007', command);
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant