Commit graph

238 commits

Author SHA1 Message Date
Jay Beavers
be5bbee4bc Merge pull request #187 from zuzkins/sp-list-win-fix
FIX: Some windows 7 displays error when listing com ports

lgtm, nice work.
2013-07-18 07:53:50 -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
Chris Williams
320b0033b2 Merge pull request #170 from domenic/patch-1
Cast size_t to DWORD to avoid compiler warning.
2013-06-27 13:07:53 -07:00
Chris Williams
4d1146a44a Forcing a new spin on npm. 2013-06-15 16:39:07 -04:00
Chris Williams
5c307449a3 Merge pull request #171 from domenic/patch-2
Tell Windows users to install Arduino drivers.
2013-06-11 08:45:32 -07:00
Domenic Denicola
2159ccc793 Tell Windows users to install Arduino drivers.
See #109 for exactly what goes wrong.
2013-05-30 12:51:02 -03: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
Chris Williams
f96062de1d Merge pull request #159 from mscdex/patch-2
Update Windows requirements
2013-04-22 10:59:22 -07:00
Chris Williams
38c195ec7d Merge pull request #160 from mscdex/lint
src: lint
2013-04-22 10:59:13 -07:00
mscdex
eb11daf928 src: lint 2013-04-21 10:50:25 -04:00
Brian White
c6040d62c2 Update Windows requirements 2013-04-21 11:22:03 -03:00
Adriano Raiano
002d26843e correct open in case of error 2013-04-08 15:46:59 +02:00
Chris Williams
1738281adf Merge pull request #156 from mscdex/fix-vs-express
windows: fix compilation with VS Express
2013-04-07 12:14:20 -07:00
mscdex
5e63724006 windows: fix compilation with VS Express 2013-04-07 14:34:51 -04:00
Chris Williams
e99c9093e9 Merge pull request #148 from oshea00/master
Added a example that works for Arduino
2013-04-03 08:42:16 -07:00
Mike OShea
c33eac4552 Fixed delimiter choice 2013-03-28 18:11:53 -07:00
Mike OShea
105c96dccf A full example that really works
Just change the serial port name to match where your arduino is plugged in.
2013-03-28 16:03:34 -07:00
Chris Williams
c723d9362d Update. to the readme and minor version. 2013-03-22 09:56:57 -04:00
Chris Williams
091fec1a18 Update packages. 2013-03-22 09:55:26 -04:00
Chris Williams
304cb11606 Merge pull request #141 from adrai/open
encapsulation of open function
2013-03-22 06:52:08 -07: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
Chris Williams
9d1c2e3857 Merge pull request #144 from timnew/master
Removed the list wrapper
2013-03-22 06:50:48 -07:00
DD
94853926d5 Merge commit '69fac6007f7af34e1a1fcf6d993f93a914760e3b' 2013-03-22 18:17:50 +08:00
DD
9f745f15e9 remove the list wrapper 2013-03-22 18:15:20 +08:00
Adriano Raiano
0cb7070150 added manufacturer and serialNumber in mac for 108#issuecomment-15285753 2013-03-22 11:10:14 +01:00
DD
69fac6007f remove the list wrapper 2013-03-22 13:46:25 +08: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
338ef67d20 clean better on close 2013-03-15 09:03:10 +01:00
Adriano Raiano
657c4e3f3f encapsulation of open function 2013-03-14 16:43:53 +01: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
Chris Williams
4849152b83 Merge pull request #139 from adrai/winfix
fixes Errors when unplug device on windows Issue #95
2013-03-13 20:48:03 -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
Joe Ferner
10349bf434 Merge pull request #120 from vkosar/master
Important fix in Win32 code
2012-12-31 12:57:15 -08: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
Vadim Kosarev
c23307049c Fix package.json typo 2012-12-29 21:00:42 +06:00
Chris Williams
7a79a94e16 Merge pull request #107 from Lophilo/doc
Everything must occur after on('open')
2012-12-23 11:09:29 -08:00
Chris Williams
4b06d8d273 Merge pull request #114 from TooTallNate/patch-2
package: remove "node-gyp" as a dependency
2012-12-23 11:08:38 -08:00
Nathan Rajlich
d837fd3d2b package: remove "node-gyp" as a dependency
npm bundles its own internal copy of node-gyp,
so installing another copy is not necessary.
2012-12-05 19:45:43 -08:00
Joe Ferner
ba90601d61 fix the callback on list. callback was on the wrong function 2012-11-14 10:11:28 -05:00
Adriano Raiano
49fcadd7e5 native list approach for mac 2012-11-12 15:55:21 +01:00