digitalmars.D.announce - serialport v1.0.0
- Oleg B (9/9) May 06 2018 Stable version of serialport package
- Dechcaudron (7/11) May 07 2018 I used this library for my end-of-degree project a couple years
- Dmitry Olshansky (5/14) May 07 2018 These 3 versions of the same API is precisely the reason for me
- Andrea Fontana (4/13) May 09 2018 I wonder if someone can benchmark serialport lib against this
- Oleg B (8/26) May 13 2018 I think it's different things.
- Andre Pany (8/17) May 13 2018 Thanks for this library. The announcement is at the right time as
- Jonathan M Davis (8/28) May 13 2018 So, now we'll be able to hack your shutters? ;)
- Andre Pany (9/40) May 13 2018 Hopefully not:)
- Russel Winder (15/20) May 14 2018 On Sun, 2018-05-13 at 12:05 -0600, Jonathan M Davis via Digitalmars-d-an...
Stable version of serialport package * Blocking `SerialPortBlk` for classic usage * Non-blocking `SerialPortNonBlk` and `SerialPortFR` for usage in fibers or in vibe-d * Variative initialization and configuration * Hardware flow control config flag Doc: http://serialport.dpldocs.info/v1.0.0/serialport.html Dub: http://code.dlang.org/packages/serialport Git: https://github.com/deviator/serialport
May 06 2018
On Sunday, 6 May 2018 at 22:02:05 UTC, Oleg B wrote:Stable version of serialport packageI used this library for my end-of-degree project a couple years back, I'm really glad to see it come to a stable version. Congrats and thank you!* Blocking `SerialPortBlk` for classic usage * Non-blocking `SerialPortNonBlk` and `SerialPortFR` for usage in fibers or in vibe-dMaybe `SerialPort!Blocking` would fit better with the language's features? I know I'm just being picky and it's mainly a matter of taste, but still.
May 07 2018
On Sunday, 6 May 2018 at 22:02:05 UTC, Oleg B wrote:Stable version of serialport package * Blocking `SerialPortBlk` for classic usage * Non-blocking `SerialPortNonBlk` and `SerialPortFR` for usage in fibers or in vibe-dThese 3 versions of the same API is precisely the reason for me starting the Photon project. Otherwise - great to see serial ports library and I'd be glad to one day test it for compatibility with my approach.* Variative initialization and configuration * Hardware flow control config flag Doc: http://serialport.dpldocs.info/v1.0.0/serialport.html Dub: http://code.dlang.org/packages/serialport Git: https://github.com/deviator/serialport
May 07 2018
On Sunday, 6 May 2018 at 22:02:05 UTC, Oleg B wrote:Stable version of serialport package * Blocking `SerialPortBlk` for classic usage * Non-blocking `SerialPortNonBlk` and `SerialPortFR` for usage in fibers or in vibe-d * Variative initialization and configuration * Hardware flow control config flag Doc: http://serialport.dpldocs.info/v1.0.0/serialport.html Dub: http://code.dlang.org/packages/serialport Git: https://github.com/deviator/serialportI wonder if someone can benchmark serialport lib against this test: http://codeandlife.com/2012/07/03/benchmarking-raspberry-pi-gpio-speed/
May 09 2018
On Wednesday, 9 May 2018 at 14:41:45 UTC, Andrea Fontana wrote:On Sunday, 6 May 2018 at 22:02:05 UTC, Oleg B wrote:I think it's different things. serialport is wrap around system calls, it's not control hardware directly. You could be misled by the phrase about 'hardware flow control': is't set on or off using of RTS and CTS pins of UART. Firmware control RTS and CTS pins directly. http://www.brainboxes.com/faq/items/what-is-rts--cts-hardware-flow-control-Stable version of serialport package * Blocking `SerialPortBlk` for classic usage * Non-blocking `SerialPortNonBlk` and `SerialPortFR` for usage in fibers or in vibe-d * Variative initialization and configuration * Hardware flow control config flag Doc: http://serialport.dpldocs.info/v1.0.0/serialport.html Dub: http://code.dlang.org/packages/serialport Git: https://github.com/deviator/serialportI wonder if someone can benchmark serialport lib against this test: http://codeandlife.com/2012/07/03/benchmarking-raspberry-pi-gpio-speed/
May 13 2018
On Sunday, 6 May 2018 at 22:02:05 UTC, Oleg B wrote:Stable version of serialport package * Blocking `SerialPortBlk` for classic usage * Non-blocking `SerialPortNonBlk` and `SerialPortFR` for usage in fibers or in vibe-d * Variative initialization and configuration * Hardware flow control config flag Doc: http://serialport.dpldocs.info/v1.0.0/serialport.html Dub: http://code.dlang.org/packages/serialport Git: https://github.com/deviator/serialportThanks for this library. The announcement is at the right time as I want to write a smart home application to control my shutters. The application will run on a raspberry pi (ftdi sub stick). Do you thought about including your library into phobos? A std library really should contain this functionality. Kind regards Andre
May 13 2018
On Sunday, May 13, 2018 17:57:56 Andre Pany via Digitalmars-d-announce wrote:On Sunday, 6 May 2018 at 22:02:05 UTC, Oleg B wrote:So, now we'll be able to hack your shutters? ;)Stable version of serialport package * Blocking `SerialPortBlk` for classic usage * Non-blocking `SerialPortNonBlk` and `SerialPortFR` for usage in fibers or in vibe-d * Variative initialization and configuration * Hardware flow control config flag Doc: http://serialport.dpldocs.info/v1.0.0/serialport.html Dub: http://code.dlang.org/packages/serialport Git: https://github.com/deviator/serialportThanks for this library. The announcement is at the right time as I want to write a smart home application to control my shutters. The application will run on a raspberry pi (ftdi sub stick).Do you thought about including your library into phobos? A std library really should contain this functionality.Really? If the consensus is that it should go in, then okay, but I don't think that I've ever seen a standard library with anything like functionality for talking to serial ports. And what would having it be in Phobos buy you over just grabbing it from code.dlang.org? - Jonathan M Davis
May 13 2018
On Sunday, 13 May 2018 at 18:05:35 UTC, Jonathan M Davis wrote:On Sunday, May 13, 2018 17:57:56 Andre Pany via Digitalmars-d-announce wrote:Hopefully not:) For me it is just a convenience reason. I would not have to search dub registry for serial libraries and try them out. For functionality included in Phobos I know they were reviewed by several developers and therefore have high code quality and only few bugs. Kind regards AndreOn Sunday, 6 May 2018 at 22:02:05 UTC, Oleg B wrote:So, now we'll be able to hack your shutters? ;)Stable version of serialport package * Blocking `SerialPortBlk` for classic usage * Non-blocking `SerialPortNonBlk` and `SerialPortFR` for usage in fibers or in vibe-d * Variative initialization and configuration * Hardware flow control config flag Doc: http://serialport.dpldocs.info/v1.0.0/serialport.html Dub: http://code.dlang.org/packages/serialport Git: https://github.com/deviator/serialportThanks for this library. The announcement is at the right time as I want to write a smart home application to control my shutters. The application will run on a raspberry pi (ftdi sub stick).Do you thought about including your library into phobos? A std library really should contain this functionality.Really? If the consensus is that it should go in, then okay, but I don't think that I've ever seen a standard library with anything like functionality for talking to serial ports. And what would having it be in Phobos buy you over just grabbing it from code.dlang.org? - Jonathan M Davis
May 13 2018
On Sun, 2018-05-13 at 12:05 -0600, Jonathan M Davis via Digitalmars-d-annou= nce=20 wrote: [=E2=80=A6]=20 Really? If the consensus is that it should go in, then okay, but I don't think that I've ever seen a standard library with anything like functionality for talking to serial ports. And what would having it be in Phobos buy you over just grabbing it from code.dlang.org?Python is a batteries included distribution. PySerial and PySerial-AsyncIO are packages in PyPI, not in the distibution= , and sometime packaged in OS package repositories.. --=20 Russel. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Dr Russel Winder t: +44 20 7585 2200 41 Buckmaster Road m: +44 7770 465 077 London SW11 1EN, UK w: www.russel.org.uk
May 14 2018