Commit graph

52 commits

Author SHA1 Message Date
Jay Beavers
1a41d67be1 Modify Windows serial port behavior to follow new calling pattern used for Linux, fix #226 2013-10-23 14:52:04 -07:00
Chris Williams
9b3ba57ac5 Reverting out the change from joshmh about size changes. 2013-10-03 19:01:58 -04:00
Chris Williams
f859bf8002 Merge pull request #220 from joshmh/master
Parity shouldn't be changing data bits
2013-10-02 06:38:57 -07:00
Chris Williams
b19b2237b3 Merge pull request #221 from giseburt/fix_close_and_flowcontrol
Fix close and flowcontrol
2013-10-01 13:22:23 -07:00
Robert Giseburt
dcadb0d842 Fixing write to support non-blocking. 2013-10-01 10:15:35 -05:00
Josh Harvey
03ad3d2552 Parity shouldn't be changing data bits 2013-09-28 18:50:30 +01:00
Bobris
b6fe782fff Fix for truncated error messages on Windows 2013-08-31 22:51:18 +02:00
Robert Giseburt
512bc80c2d Fix for close() (#150), support flow control (#203).
Flow control options haven't been added to windows yet.
2013-08-19 00:46:38 -05:00
Robert Giseburt
b1a76326e8 Fixing up flow control changes. 2013-08-14 00:20:38 -05:00
Chris Williams
8bd63d8a24 Flushing changes for the new flowcontrol handling. 2013-08-13 14:37:10 -04:00
Chris Williams
701675e11e Adding test for relaxed baudrate handling and adding more advanced code handlign for options. 2013-08-13 10:21:35 -04:00
Chris Williams
93c2c86a70 Removed defunct test directory and requirement on specific baud rates. 2013-08-13 10:02:05 -04:00
Jay Beavers
81bee12e6f Update enumser.cpp #195 2013-07-29 22:03:22 -07:00
Jay Beavers
dc33b32eb5 Merge pull request #189 from JayBeavers/checkErrno
Check write(...) errno for #43
2013-07-20 06:48:50 -07:00
JayBeavers
a8c4f3b516 Remove extraneous \n 2013-07-19 09:13:12 -07:00
JayBeavers
58424e9264 Add error text per @mharsch, move to snprintf 2013-07-19 09:11:07 -07:00
Jay Beavers
26608a844a Clean up of gcc warning 2013-07-18 18:41:43 -07:00
Jay Beavers
fc971dc834 Clean up of printf to use sprintf and return the error via the Baton 2013-07-18 18:39:28 -07:00
Jay Beavers
543a2cd1a3 Check write(...) errno #43 2013-07-18 18:25:59 -07:00
Jay Beavers
fd91295c89 Flow Control Bit Fix #112 2013-07-18 13:08:45 -07:00
Jay Beavers
38b5e3b564 Merge pull request #186 from JayBeavers/SimplifyDependencies
Simplify win/enumser to reduce build dependencies
2013-07-18 08:15:03 -07:00
Jiří Zůna
12d82f2f07 fix for issue 169, on some windows 7
On some windows machine alerts are shown, when something goes bad when
trying to list com ports. dhToggleExceptions(FALSE) turns those off.
But then, there is sometimes huge number of serial ports reported, which do not have their
name set. We check for the name existence and proceed only when it is
available. For us it fixes
https://github.com/voodootikigod/node-serialport/issues/169
reliably on multiple machines.
2013-07-18 16:17:58 +02:00
JayBeavers
b13d167910 Simplify win/enumser to reduce build dependencies 2013-07-17 21:20:39 -07:00
Domenic Denicola
d0ca467b09 Cast size_t to DWORD to avoid compiler warning.
This doesn't change any functionality, but silences the following compiler warning (which occurs at least on Windows x64, not sure about elsewhere):

```
..\src\serialport_win.cpp(281): warning C4267: 'argument' : conversion from 'size_t' to 'DWORD', possible loss of data
[c:\Users\Domenic\Dropbox\Programming\WIP\nodebots\node_modules\serialport\build\serialport.vcxproj]
```
2013-05-30 11:55:41 -03:00
mscdex
eb11daf928 src: lint 2013-04-21 10:50:25 -04:00
mscdex
5e63724006 windows: fix compilation with VS Express 2013-04-07 14:34:51 -04:00
Chris Williams
1f561aadae Merge pull request #143 from tehknox/master
Fixed an error to work with nodejs 0.10.0 on Windows
2013-03-22 06:51:06 -07:00
Adriano Raiano
0cb7070150 added manufacturer and serialNumber in mac for 108#issuecomment-15285753 2013-03-22 11:10:14 +01:00
Frédérick Lebel
29c6119cf4 fixing
Fixed the error :
error C2664: 'uv_queue_work' : cannot convert parameter 4 from 'void
(__cdecl *)(uv_work_t *)' to 'uv_after_work_cb'
2013-03-19 10:25:42 -04:00
Adriano Raiano
07ca55b210 solve merge conflicts of pull request #108 2013-03-14 15:12:12 +01:00
Chris Williams
87622fe02a Merge pull request #128 from iangregory/patch-1
Update src/serialport_unix.cpp to build on OpenBSD
2013-03-13 20:50:08 -07:00
Chris Williams
5625086fb2 Merge pull request #130 from savardc/flush
Sleep for 1s before calling tcflush
2013-03-13 20:49:33 -07:00
Chris Williams
aa81e0eaf8 Merge pull request #138 from tomgco/master
Fixing issues whilst building under node 0.10
2013-03-13 20:48:57 -07:00
Adriano Raiano
b1f2cf5c03 lock getUsbDevice for mac os 2013-03-13 14:30:50 +01:00
Adriano Raiano
1e1463bfdf fixes Errors when unplug device on windows Issue #95 2013-03-13 08:58:30 +01:00
Adriano Raiano
9162be29fa release ressources 2013-03-13 08:38:22 +01:00
Tom Gallacher
4e1e7fdea3 Fixing issues with building under node 0.10 2013-03-12 21:03:04 +00:00
Christian Savard
1cd20426a7 Sleep for 1s before calling tcflush 2013-02-22 12:20:22 -05:00
iangregory
6a74703de0 Update src/serialport_unix.cpp to build on OpenBSD 2013-02-16 18:29:24 +00:00
Joe Ferner
b38b3e53ea increase buffer size 2012-12-31 16:21:56 -05:00
Vadim Kosarev
d02bfd3c62 Add new serial ports list method for Win32
New serial ports list method for Win32 allows enumerate some virtual COM
ports not listed in Device Manager
2012-12-30 16:09:01 +06:00
Vadim Kosarev
989248bb31 Rewrite overlapped IO code to fix receiving data loss 2012-12-29 21:01:50 +06:00
Adriano Raiano
49fcadd7e5 native list approach for mac 2012-11-12 15:55:21 +01:00
U-Mark-Desktop\Mark
cd0889f958 Fix handle leak 2012-09-30 11:34:50 +02:00
U-Mark-Desktop\Mark
bb1292a1ed Cancel timed out read operation to fix random crashes in Node's IoCompletionPort handler 2012-09-30 11:32:20 +02:00
Jay Beavers
39e559fc11 Add fifo queue support to serialportWrite, fix test to detect arduinos under Linux 2012-09-03 17:15:52 -07:00
Chris Williams
e229cae674 Merge pull request #68 from sebseb7/osx_baud
mac osx >= 10.4 can handle higher baud rates
2012-08-24 07:35:11 -07:00
Kevin McDermott
cd279b9402 Add attempt at Window Flush. 2012-08-23 20:51:56 +01:00
Kevin McDermott
3aa4d03db8 Add flush functionality. 2012-08-23 18:01:51 +01:00
Julian Gautier
a3bc2fbe9b use bufferSize for windows, dont disable DTR 2012-08-12 20:48:21 -07:00