repo.or.cz
/
libserialport
/
gsi.git
/
search
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
first
·
prev
·
next
Apply termios setting changes immediately.
2013-11-25
M
artin
L
i
n
g
Apply
t
e
rm
i
os
set
t
ing ch
a
nge
s
i
m
media
t
ely
.
commit
|
commitdiff
|
tree
2013-11-25
Martin Ling
S
upport mar
k
/sp
a
ce
parity setting
s
.
commit
|
commitdiff
|
tree
2013-11-25
M
a
r
t
i
n
L
ing
Turn off all the fanc
y
termios features
.
commit
|
commitdiff
|
tree
2013-11-25
Martin Lin
g
Windows no
n
blockin
g
wr
i
te
:
1 byte
a
t a tim
e
t
o
k
n
ow
.
.
.
commit
|
commitdiff
|
tree
2013-11-25
Mar
t
i
n
Ling
Implement non-blo
c
king I
/
O
o
n Windows
.
commit
|
commitdiff
|
tree
2013-11-25
Martin Lin
g
Fix SET_FAIL macro
.
commit
|
commitdiff
|
tree
2013-11-25
Martin Ling
Hand
l
e
-EAGAIN in
n
on-bloc
k
i
n
g re
a
ds on
U
n
i
x
, and
r
e
t
urn
.
.
.
commit
|
commitdiff
|
tree
2013-11-23
M
a
rti
n
Li
n
g
F
i
x bug in de
b
ug message generation in s
p
_flush()
.
commit
|
commitdiff
|
tree
2013-11-23
Ma
r
tin Ling
I
n
itialise
s
tr
u
cture
i
n sp_new
_
config()
.
commit
|
commitdiff
|
tree
2013-11-23
M
a
rtin Ling
A
d
d ge
n
e
r
a
t
o
r pr
o
gram for conf
i
guration accessor
headers
.
commit
|
commitdiff
|
tree
2013-11-23
Martin Ling
M
ake
c
onfigurat
i
on structure opaque
.
commit
|
commitdiff
|
tree
2013-11-23
Ma
r
t
in Ling
Clarify do
c
umentation
.
commit
|
commitdiff
|
tree
2013-11-23
Martin
L
ing
A
d
d sp_get_port_handle
(
) function
.
commit
|
commitdiff
|
tree
2013-11-23
Martin Li
n
g
Make port struc
t
ure opaque
.
commit
|
commitdiff
|
tree
2013-11-23
Mar
t
in Ling
A
dd back
p
rev
i
ously d
e
leted sp_get_c
o
nfig funct
i
on
.
commit
|
commitdiff
|
tree
2013-11-23
Martin Ling
F
i
x
s
wap
p
ed DCD & RI
s
ignals on
W
indows
.
commit
|
commitdiff
|
tree
2013-11-23
Martin Ling
R
e
turn SP
_
ERR
_
S
U
PP from sp_list_port
s
() on unsupported
.
.
.
commit
|
commitdiff
|
tree
2013-11-23
Martin
Li
n
g
Generate debug o
u
tput w
h
en
r
e
tu
r
n
i
ng using
TRY() m
a
cro
.
commit
|
commitdiff
|
tree
2013-11-23
M
artin
L
i
ng
A
dditional argument
checking
.
commit
|
commitdiff
|
tree
2013-11-23
Marti
n
Ling
Add additional debug messages
.
commit
|
commitdiff
|
tree
2013-11-23
Martin Ling
A
d
d debug
o
utput for all entry an
d
exit po
i
n
t
s
.
commit
|
commitdiff
|
tree
2013-11-23
Mar
t
in Li
n
g
A
d
d
debug macr
o
s
.
commit
|
commitdiff
|
tree
2013-11-22
Martin L
i
ng
A
dd A
P
I for and
d
efaul
t
handler for debug me
s
sages
.
commit
|
commitdiff
|
tree
2013-11-22
Mart
i
n Ling
Remove d
u
pliate/redundant return value docume
n
tation
.
commit
|
commitdiff
|
tree
2013-11-22
M
artin Ling
Use new SP_ERR_SU
P
P error
t
o indicate uns
u
ppo
r
ted operatio
n
s
.
commit
|
commitdiff
|
tree
2013-11-22
Martin
Lin
g
Chec
k
for t
e
rmiox support at runtime
.
commit
|
commitdiff
|
tree
2013-11-22
M
a
r
tin Ling
Fix me
m
ory leaks
.
commit
|
commitdiff
|
tree
2013-11-22
Martin
Ling
Fix to sp_flush()
o
n
Unix
.
commit
|
commitdiff
|
tree
2013-11-22
Martin L
i
ng
Add missing @param port ent
r
ies
t
o documentation
.
commit
|
commitdiff
|
tree
2013-11-22
M
a
r
t
i
n L
i
ng
Add
sp_g
e
t_signals(
)
function
.
commit
|
commitdiff
|
tree
2013-11-22
Martin
L
i
ng
Add sp_start_b
r
eak
(
) and sp_end_break() functions
.
commit
|
commitdiff
|
tree
2013-11-22
Mart
i
n
L
i
n
g
Ad
d
s
p
_drai
n
() function
.
commit
|
commitdiff
|
tree
2013-11-22
Mart
i
n
Ling
Add m
i
ss
i
n
g @param p
o
rt entry to documentation
.
commit
|
commitdiff
|
tree
2013-11-22
Martin
L
ing
Mak
e
sp_flush take an option
fo
r
wh
a
t to flu
s
h
.
commit
|
commitdiff
|
tree
2013-11-22
Martin Li
n
g
Use a more logical
s
et of SP_MODE_* flags
.
commit
|
commitdiff
|
tree
2013-11-22
Martin Ling
D
efine SP_PARITY_* mo
r
e logically
.
commit
|
commitdiff
|
tree
2013-11-21
Mart
i
n Lin
g
D
ocument this mad
n
es
s
.
commit
|
commitdiff
|
tree
2013-11-21
M
artin Ling
Supp
o
rt n
o
n-standard flow contro
l
mo
d
es
o
n Linux
.
commit
|
commitdiff
|
tree
2013-11-21
Martin Ling
S
upp
o
rt
c
u
s
to
m
b
audrates on Linux
.
commit
|
commitdiff
|
tree
2013-11-19
M
artin Ling
Retr
i
ev
e
XON/XOFF setting on
U
ni
x
.
commit
|
commitdiff
|
tree
2013-11-19
M
a
r
t
in Ling
Cl
a
r
ify usage of
-1 in configuration API
.
commit
|
commitdiff
|
tree
2013-11-19
Martin Ling
Gr
o
up fu
n
cti
o
ns
fo
r
documentation
.
commit
|
commitdiff
|
tree
2013-11-19
M
a
r
tin Ling
Use na
m
ed enums instea
d
of
int
s
for cl
e
arer documentation
.
commit
|
commitdiff
|
tree
2013-11-19
Marti
n
Ling
Add doxy
g
e
n
docum
e
ntation
.
commit
|
commitdiff
|
tree
2013-11-19
Marti
n
Li
n
g
Mark con
f
ig argu
m
en
t
to sp_set_co
n
fig
a
s co
n
st
.
commit
|
commitdiff
|
tree
2013-11-18
Martin Ling
Additional argument checking for c
o
nfig
f
unctions
.
commit
|
commitdiff
|
tree
2013-11-18
M
artin
Ling
Rem
o
ve sp_ prefix from priv
a
te port data
struc
t
ure
.
commit
|
commitdiff
|
tree
2013-11-18
M
a
rti
n
L
i
ng
Ti
d
y
u
p
static func
t
ions
.
commit
|
commitdiff
|
tree
2013-11-18
Mar
t
in L
i
ng
Make sure OS handles are
s
et correctly for unopen
e
d
.
.
.
commit
|
commitdiff
|
tree
2013-11-18
Martin
L
ing
Get Xon/
X
of
f
s
tatus on Wi
n
dows
.
commit
|
commitdiff
|
tree
2013-11-18
Martin Ling
Refactor port co
n
f
i
guration cod
e
.
commit
|
commitdiff
|
tree
2013-11-16
Martin Ling
Add sp_get_conf
i
g() f
u
n
c
t
ion
.
commit
|
commitdiff
|
tree
2013-11-15
Martin Ling
Update
documenta
t
i
on
.
commit
|
commitdiff
|
tree
2013-11-15
M
a
rtin Ling
R
emov
e
disused flowco
n
t
ro
l
fiel
d
from sp_port_config
.
commit
|
commitdiff
|
tree
2013-11-15
Marti
n
Ling
Eliminate lengthy switch/c
a
se b
l
ocks fo
r
baudrates
.
commit
|
commitdiff
|
tree
2013-11-15
Martin Ling
Add sp_set_flowcontrol
h
elper funct
i
on
.
commit
|
commitdiff
|
tree
2013-11-15
Martin Ling
Store control bits in sp_
p
o
rt_da
t
a
on U
n
ix
.
commit
|
commitdiff
|
tree
2013-11-15
Mart
i
n Ling
Split up prototypes
i
n in
c
lude file for clarity
.
commit
|
commitdiff
|
tree
2013-11-15
Martin L
i
ng
A
dd functi
o
n
s
for setting individu
a
l
port
p
aramete
r
s
.
commit
|
commitdiff
|
tree
2013-11-15
Martin Ling
Apply sa
n
e te
r
m
i
o
s settings at port op
e
n
t
ime
.
commit
|
commitdiff
|
tree
2013-11-15
Martin Lin
g
A
d
d pr
o
totyp
e
s for con
f
ig hel
p
er functions
.
commit
|
commitdiff
|
tree
2013-11-15
Martin Ling
R
e
trieve curren
t
control
li
n
e
s
e
t
tin
g
s in start_config
.
commit
|
commitdiff
|
tree
2013-11-15
Martin Lin
g
N
e
w
A
PI for seri
a
l contro
l
lines
.
commit
|
commitdiff
|
tree
2013-11-15
Marti
n
Ling
Move cfset{i,o}
s
p
e
ed(
)
c
a
lls to set_baudrate()
.
commit
|
commitdiff
|
tree
2013-11-15
Martin Ling
U
s
e
negative val
u
es in sp_port_conf
i
g to retain exi
s
ting
.
.
.
commit
|
commitdiff
|
tree
2013-11-15
Ma
r
tin Lin
g
Repla
c
e
s
p
_set_params
w
ith
s
p_set
_
con
f
ig, which
takes
.
.
.
commit
|
commitdiff
|
tree
2013-11-14
Mart
i
n Lin
g
Divi
d
e
sp_se
t
_params into separa
t
e helper fun
c
ti
o
ns
.
commit
|
commitdiff
|
tree
2013-11-14
Ma
r
tin Ling
Inc
l
ude <stdio
.
h> on Windows for sprintf, u
s
e
d
in s
p
_open
.
commit
|
commitdiff
|
tree
2013-11-14
Mart
i
n Ling
Support
6
-
b
it data on
U
nix
.
commit
|
commitdiff
|
tree
2013-11-14
M
a
r
t
i
n
Ling
Se
t
dat
a
bi
t
s on Windows
.
commit
|
commitdiff
|
tree
2013-11-14
Martin Ling
A
d
d
s
p_
c
opy_port(
)
fun
c
tion
.
commit
|
commitdiff
|
tree
2013-11-14
Ma
r
tin Ling
On Wi
n
dows,
p
refix
port
names
w
ith '\\
.
\' to wor
k
wi
t
h
.
.
.
commit
|
commitdiff
|
tree
2013-11-14
Mart
i
n Ling
Rename
h
eade
r
to
l
i
b
serialport
.
h
.
commit
|
commitdiff
|
tree
2013-11-14
M
artin L
i
n
g
F
i
x enumeration on
W
in
d
o
ws
.
commit
|
commitdiff
|
tree
2013-11-14
Martin Ling
F
ix enumeration
o
n
O
S X
.
commit
|
commitdiff
|
tree
2013-11-14
Martin
Ling
Update documen
t
ation
.
commit
|
commitdiff
|
tree
2013-11-14
Ma
r
tin
L
ing
Re
m
ove outdat
e
d inline documenta
t
ion, README
i
s
now
.
.
.
commit
|
commitdiff
|
tree
2013-11-14
Martin Ling
C
l
a
rify
r
e
t
u
rn values of sp_get_
p
ort_
b
y_name
(
) and
.
.
.
commit
|
commitdiff
|
tree
2013-11-14
M
a
r
tin L
i
n
g
Clarify documen
t
ati
o
n for sp_
r
ead() and
s
p_write(
)
.
commit
|
commitdiff
|
tree
2013-11-14
Martin
L
ing
Update documentation
.
commit
|
commitdiff
|
tree
2013-11-14
M
a
rtin
L
ing
Add sp_fr
e
e_port() function
.
commit
|
commitdiff
|
tree
2013-11-14
M
ar
t
in Ling
Make sp_list_
p
orts and sp_get_
p
ort_by_n
a
m
e
r
eturn int
.
commit
|
commitdiff
|
tree
2013-11-14
Martin Ling
Add
sp_get_port_by_name()
f
un
c
tion
.
commit
|
commitdiff
|
tree
2013-11-14
Martin Ling
Port name string leng
t
h now
no
l
o
nger needs to be pa
s
sed
.
.
.
commit
|
commitdiff
|
tree
2013-11-14
Martin Ling
Handle conversio
n
o
f
u
n
icode names to char *
on Windo
w
s
.
commit
|
commitdiff
|
tree
2013-11-14
Martin Li
n
g
Identify
ports by sp_p
o
rt structure, not name
.
commit
|
commitdiff
|
tree
2013-11-14
Martin
Li
n
g
Al
w
ays re
t
urn an empty port list unless allocation
.
.
.
commit
|
commitdiff
|
tree
2013-11-14
Martin L
i
ng
Add SP_ERR_MEM failur
e
code
.
commit
|
commitdiff
|
tree
2013-11-14
Martin
L
ing
Fix buil
d
ing on OSX and Li
n
ux
.
commit
|
commitdiff
|
tree
2013-11-14
Martin Ling
Rename "name
"
to
"
val
u
e" to be more consistent wi
t
h
.
.
.
commit
|
commitdiff
|
tree
2013-11-14
Mar
t
in
L
ing
Add enum values fo
r
flow
control settings
.
commit
|
commitdiff
|
tree
2013-11-14
Mart
i
n Ling
Add do
c
ume
n
ta
t
ion
.
commit
|
commitdiff
|
tree
2013-11-14
Martin Ling
Add include guard
.
commit
|
commitdiff
|
tree
2013-11-14
Martin Lin
g
Igno
r
e non-e
x
istant serial8
2
50 ports on Linux
.
commit
|
commitdiff
|
tree
2013-11-14
M
ar
t
i
n Li
n
g
On Li
n
ux
,
skip vi
r
tual t
t
ys that have no paren
t
device
.
commit
|
commitdiff
|
tree
2013-11-14
Martin Ling
M
inor changes to port flags on Un
i
x
,
to r
e
m
ai
n
in sync
.
.
.
commit
|
commitdiff
|
tree
2013-11-14
Martin Ling
F
i
x list app
e
nd
.
commit
|
commitdiff
|
tree
2013-11-14
Martin Ling
Document enumerati
o
n f
u
nctions
.
commit
|
commitdiff
|
tree
2013-11-14
Mar
t
i
n Li
n
g
Ad
d
ser
i
al
e
numera
t
ion code
.
commit
|
commitdiff
|
tree
2013-11-14
Martin
Ling
Add
.
gitignore f
o
r b
u
ild o
u
tputs
.
commit
|
commitdiff
|
tree
next