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.
		
		
		
		
		
			
		
			
				
					24 lines
				
				476 B
			
		
		
			
		
	
	
					24 lines
				
				476 B
			| 
								 
											12 years ago
										 
									 | 
							
								#ifndef RN42_H
							 | 
						||
| 
								 | 
							
								#define RN42_H
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 
											12 years ago
										 
									 | 
							
								#include <stdbool.h>
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 
											12 years ago
										 
									 | 
							
								host_driver_t rn42_driver;
							 | 
						||
| 
								 
											12 years ago
										 
									 | 
							
								host_driver_t rn42_config_driver;
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								void rn42_init(void);
							 | 
						||
| 
								 
											11 years ago
										 
									 | 
							
								int16_t rn42_getc(void);
							 | 
						||
| 
								 
											11 years ago
										 
									 | 
							
								const char *rn42_gets(uint16_t timeout);
							 | 
						||
| 
								 
											12 years ago
										 
									 | 
							
								void rn42_putc(uint8_t c);
							 | 
						||
| 
								 
											11 years ago
										 
									 | 
							
								void rn42_puts(char *s);
							 | 
						||
| 
								 
											11 years ago
										 
									 | 
							
								bool rn42_autoconnecting(void);
							 | 
						||
| 
								 
											12 years ago
										 
									 | 
							
								void rn42_autoconnect(void);
							 | 
						||
| 
								 | 
							
								void rn42_disconnect(void);
							 | 
						||
| 
								 
											11 years ago
										 
									 | 
							
								bool rn42_rts(void);
							 | 
						||
| 
								 | 
							
								void rn42_cts_hi(void);
							 | 
						||
| 
								 | 
							
								void rn42_cts_lo(void);
							 | 
						||
| 
								 
											11 years ago
										 
									 | 
							
								bool rn42_linked(void);
							 | 
						||
| 
								 
											11 years ago
										 
									 | 
							
								void rn42_set_leds(uint8_t l);
							 | 
						||
| 
								 
											12 years ago
										 
									 | 
							
								
							 | 
						||
| 
								 | 
							
								#endif
							 |