Commit graph

30 commits

Author SHA1 Message Date
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
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
Seb
3b868e9248 mac osx >= 10.4 can handle higher baud rates 2012-07-30 05:51:54 +02:00
Joe Ferner
f44e7e66f0 working list and terminal on ubuntu 2012-06-26 22:57:16 -04:00