SerialPort Version: 6.0.4, also tried some 6.0.x before with same effects
NodeJS Version: 6.12.3 (currently), but also seen on Node 4.x and 8.x
Operating System and Hardware Platform:
Linux cubietruck4 4.13.16-sunxi #20 SMP Fri Nov 24 19:50:07 CET 2017 armv7l armv7l armv7l GNU/Linux
OS: Armbian, Debian Stretch
Have you checked the right version of the api docs?:
my code still uses the "old" read way, but as I know it should be compatible.
Are you having trouble installing and you checked the Installation Special Cases docs?
No problems and also no error messages while installing
Are you using Electron and have you checked the Electron Docs?:
No Electron.
Summary of Problem
I tried to use Serialport 6.x in my projects but have the same problems then others. It just don't work. you do not get any data when reading.
My System is a Cubietruck with an Armbian (Debian Stretch with Mainline Kernel), but also raspberries had such a problem as I get feedback.
What is possible to to to get back Support for these systems for Serialport 6 (4 works ok-ish ... but has many issues as you know)?!
How can I support?
Steps and Code to Reproduce the Issue
Use whatever code to read data ...
e.g. https://github.com/node-serialport/node-serialport/issues/1415
@Apollon77 That sound frustrating. The issue template contains the fields and sections listed below that need to be filled out. If the requested information is provided it will increase the chances of someone being able to provide assistance.
__Operating System__ and __Hardware Platform__:
Have you checked the right __version__ of the __api docs?__:
I updated the issue as requested
@Apollon77 Please take a look at the latest comments in #1415 to see if it helps. If I'm not mistaken this issues is a duplicate of #1415 and can be closed, correct?
I will test that later this afternoon and report.
I decided to open a new issue because Ibise an ARM device with Linux and the other issue was not talking about arm ... and arm was listed as „should be but untested“.
After my test we know it ;-)
https://github.com/node-serialport/node-serialport/blob/master/README.md#platform-support
basically says that 😋
On Mon, Jan 15, 2018, 1:36 PM Ingo Fischer notifications@github.com wrote:
I will test that later this afternoon and report.
I decided to open a new issue because Ibise an ARM device with Linux and
the other issue was not talking about arm ... and arm was listed as „should
be but untested“.After my test we know it ;-)
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/node-serialport/node-serialport/issues/1439#issuecomment-357759569,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AABlbnfSKCT7WLQqz9k61W-DUt58hWubks5tK5rAgaJpZM4RdvoB
.
Ohh I understand! Arm works well but we don't have any CI tests for ARM and we don't provide any builds for ARM because of nodejs lack of support for detecting what version of ARM the system is and travis ci's lack of support for ARM systems. There might be a way to test with docker containers but it is not yet proven.
So, 2s waiting will not make any difference (as thought). When I go to serialport 4.0.7 it works, it i use the exact same code with serialport 6.0.4 it get no response
If it helps I can do second run with 6.0.4 and try to enable Serialport debug (Hope I get that done, or I need to find a short example without my full code ...)?
I found my problem :-( Was mine fault.
I had an "update" statement to set a baudrate and here is forgot to use the "new" case "baudRate" ... and so it was set to the wrong baudrate :-(
@Apollon77 good to hear that it's working now and thanks for taking the time to provide feedback.
Most helpful comment
I found my problem :-( Was mine fault.
I had an "update" statement to set a baudrate and here is forgot to use the "new" case "baudRate" ... and so it was set to the wrong baudrate :-(