You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
476 B
C
24 lines
476 B
C
11 years ago
|
#ifndef RN42_H
|
||
|
#define RN42_H
|
||
|
|
||
11 years ago
|
#include <stdbool.h>
|
||
|
|
||
11 years ago
|
host_driver_t rn42_driver;
|
||
11 years ago
|
host_driver_t rn42_config_driver;
|
||
|
|
||
|
void rn42_init(void);
|
||
10 years ago
|
int16_t rn42_getc(void);
|
||
10 years ago
|
const char *rn42_gets(uint16_t timeout);
|
||
11 years ago
|
void rn42_putc(uint8_t c);
|
||
10 years ago
|
void rn42_puts(char *s);
|
||
10 years ago
|
bool rn42_autoconnecting(void);
|
||
11 years ago
|
void rn42_autoconnect(void);
|
||
|
void rn42_disconnect(void);
|
||
10 years ago
|
bool rn42_rts(void);
|
||
|
void rn42_cts_hi(void);
|
||
|
void rn42_cts_lo(void);
|
||
10 years ago
|
bool rn42_linked(void);
|
||
10 years ago
|
void rn42_set_leds(uint8_t l);
|
||
11 years ago
|
|
||
|
#endif
|