libosmo-netif
1.6.0.5-6a68
Osmocom network interface library
Toggle main menu visibility
Main Page
Related Pages
Modules
Data Structures
Data Structures
Data Fields
All
Variables
Files
File List
Globals
All
m
o
Functions
o
Typedefs
Macros
•
All
Data Structures
Files
Functions
Variables
Typedefs
Macros
Modules
Pages
rs232.h
1
#ifndef _OSMO_RS232_H_
2
#define _OSMO_RS232_H_
3
4
struct
osmo_rs232;
5
6
struct
osmo_rs232 *osmo_rs232_create(
void
*ctx);
7
8
void
osmo_rs232_set_serial_port(
struct
osmo_rs232 *,
const
char
*serial_port);
9
void
osmo_rs232_set_delay_us(
struct
osmo_rs232 *,
int
delay_us);
10
void
osmo_rs232_set_baudrate(
struct
osmo_rs232 *,
int
baudrate);
11
void
osmo_rs232_set_read_cb(
struct
osmo_rs232 *r,
int
(*read_cb)(
struct
osmo_rs232 *r));
12
13
int
osmo_rs232_open(
struct
osmo_rs232 *r);
14
15
int
osmo_rs232_read(
struct
osmo_rs232 *r,
struct
msgb *msg);
16
int
osmo_rs232_write(
struct
osmo_rs232 *r,
struct
msgb *msg);
17
18
void
osmo_rs232_close(
struct
osmo_rs232 *r);
19
void
osmo_rs232_destroy(
struct
osmo_rs232 *r);
20
21
#endif
/* _OSMO_RS232_H_ */
include
osmocom
netif
rs232.h
Generated on Tue Jun 17 2025 00:55:18 for libosmo-netif by
1.9.4