Comments (4)
For B600 it's enough to add
C #define B600 CBR_600
as you probably did (I'll update the library adding the missing baud rates).
For the other two options, just give me a few days to find out (sorry, I'm kinda busy with the job), you could try to define them in the header file and check if it works anyway in the meantime.
from termiwin.
Yes I defined B600 as you showed :-)
The others I defined as 0x00000000 for now, so it compiles.
Currently I try to get libmbus tcp working first because I already have tests for this. Serial is more complicated to test, so second step
from termiwin.
I've updated the library adding those missing options. I've searched for an implementation of CLOCAL and CREAD in Windows but I couldn't find anything, so I just defined them as you did (0x00000000).
from termiwin.
ok, as thought ... :-)
from termiwin.
Related Issues (10)
- hard defines for read/write/select/open/close also affects other files HOT 4
- How to Cross-compile it with mingw-w64 from Linux system HOT 3
- Returned handle cannot be used with "isatty" HOT 6
- Control/Charset option handling is not working HOT 3
- tcdrain is always blocking ... HOT 12
- Serial port name init seems wrong/strange HOT 1
- Any way to use with a Python packages?
- Function openSerial() changes the portname parameter
- Tons of Errors HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from termiwin.