flyskywhy / react-native-usb-serialport

High performance JAVA native gateway passthrough between multi usb serial port and multi socket without JS bridge, or just use multi usb serial port or socket alone
MIT License
26 stars 24 forks source link

got 1 argument expected 2 #13

Closed steve-lgtm closed 1 year ago

steve-lgtm commented 1 year ago

Hi @flyskywhy !

Can you help me with that?

image

TheGlenn88 commented 1 year ago

Dupe of #4 you need to use:

RNSerialport.writeString("/dev/bus/usb/001/002", "hello");

This is explained in the README, search for "diff" to find it.

steve-lgtm commented 1 year ago

Yeah I see it's working now. Thanks