* New function slip_write(u8_t *ptr, int len).
* Slip active detection and current address reporting.
This commit is contained in:
parent
1429faa22e
commit
3de6d787c9
2 changed files with 42 additions and 3 deletions
|
@ -29,7 +29,7 @@
|
|||
*
|
||||
* This file is part of the Contiki operating system.
|
||||
*
|
||||
* @(#)$Id: slip.h,v 1.1 2006/06/17 22:41:17 adamdunkels Exp $
|
||||
* @(#)$Id: slip.h,v 1.2 2006/09/26 15:47:26 bg- Exp $
|
||||
*/
|
||||
|
||||
#ifndef __SLIP_H__
|
||||
|
@ -63,6 +63,11 @@ u8_t slip_send(void);
|
|||
*/
|
||||
int slip_input_byte(unsigned char c);
|
||||
|
||||
u8_t slip_write(u8_t *ptr, int len);
|
||||
|
||||
/* Did we receive any bytes lately? */
|
||||
extern u8_t slip_active;
|
||||
|
||||
/* Statistics. */
|
||||
extern u16_t slip_rubbish, slip_twopackets, slip_overflow, slip_ip_drop;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue