You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.

rn42.h 476B

1234567891011121314151617181920212223
  1. #ifndef RN42_H
  2. #define RN42_H
  3. #include <stdbool.h>
  4. host_driver_t rn42_driver;
  5. host_driver_t rn42_config_driver;
  6. void rn42_init(void);
  7. int16_t rn42_getc(void);
  8. const char *rn42_gets(uint16_t timeout);
  9. void rn42_putc(uint8_t c);
  10. void rn42_puts(char *s);
  11. bool rn42_autoconnecting(void);
  12. void rn42_autoconnect(void);
  13. void rn42_disconnect(void);
  14. bool rn42_rts(void);
  15. void rn42_cts_hi(void);
  16. void rn42_cts_lo(void);
  17. bool rn42_linked(void);
  18. void rn42_set_leds(uint8_t l);
  19. #endif