[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: serial port trouble on Win10
- From: Ulrich Schmidt <u.sch.zw@...>
- Date: Sat, 10 Oct 2020 08:35:39 +0200
Hi all
My windows10 app try to comunicate with some external hardware via a
serial port
I use Lua5.3(gcc_64)+iup(precompiled-mingw6_64)[1] to build my Windows10
App. So far so good.
I can open the serial port via io.open() but this approach works in
buffered mode and my short messages get stuck in the transmit buffer.
2.try: I used winapi.open_serial() but this function silently craches my
app in case the filename is correct.
Now my questions:
Anyone tried winapi.open_serial()[2] on Win10? (mingw6_64)
Can anyone suggest a solution/lua-module, that works out of the box?
Thank you all.
Ulrich.
[1]: sourceforge.net ... iup-3.30_Win64_dllw6_lib.zip
[1]: sourceforge.net ... iup-3.30-Lua53_Win64_dllw6_lib.zip
[2]: https://luarocks.org/modules/steved/winapi/1.4.2-1