mirror of
https://github.com/siemens-mobile-hacks/node-serialport-bindings-cpp.git
synced 2026-11-26 02:47:17 +00:00
commit
cc23c7f3a8
1 changed files with 4 additions and 0 deletions
|
|
@ -331,6 +331,10 @@ Opens a connection to the given serial port.
|
|||
|
||||
Called when a connection has been opened. NOTE: Will NOT be called if openImmediately is set to false as open will not be performed. The callback should be a function that looks like: `function (error) { ... }`
|
||||
|
||||
### .isOpen()
|
||||
|
||||
Returns `true` if the port is open.
|
||||
|
||||
### .write (buffer, callback)
|
||||
|
||||
Writes data to the given serial port.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue