# slip

Library for SLIP (Serial Line IP)

Author | Matthew Schinkel - borntechi.com, copyright © 2009, all rights reserved.
Adapted-by |
Compiler | >=2.4n

Description

    This library sends and receives SLIP (Serial Line IP) packets
                 for communication with serial data in packet form.

Sources

    http://tools.ietf.org/html/rfc1055

Dependencies

No dependency found

## Summary

### Global variables/contants

- `var byte _slip_tx_packet_data_count = 0`
- `var byte _slip_last_char`
- `const byte _SLIP_ESC_ESC = 0xDD`
- `var byte _slip_rx_packet_finished = FALSE`
- `var byte _slip_rx_packet_data_count = 0`
- `const byte _SLIP_ESC = 0xDB`
- `const byte _SLIP_ESC_END = 0xDC`
- `const byte _SLIP_END = 0xC0`

### Procedures

- `slip_send_data(byte in data)`
- `slip_end_packet()`
- `slip_poll()`
- `slip_init()`

### Functions

## API details

### Global variables/contants

- `var byte _slip_tx_packet_data_count = 0`

  No documentation found

- `var byte _slip_last_char`

  No documentation found

- `const byte _SLIP_ESC_ESC = 0xDD`

      221

- `var byte _slip_rx_packet_finished = FALSE`

      some global vars

- `var byte _slip_rx_packet_data_count = 0`

  No documentation found

- `const byte _SLIP_ESC = 0xDB`

      219

- `const byte _SLIP_ESC_END = 0xDC`

      220

- `const byte _SLIP_END = 0xC0`

      SLIP special character codes

### Procedures

- `slip_send_data(byte in data)`

      Sends one byte of packet data

- `slip_end_packet()`

      Sends end of packet data

- `slip_poll()`

      poll procedure for receiving data

- `slip_init()`

      initalize slip

### Functions

## Related samples

Here are the list of samples which use this library:

16f877 | 16f877_slip_poll.jal
16f877 | 16f877_slip_isr.jal
16f877a | 16f877a_slip_poll.jal
16f877a | 16f877a_slip_isr.jal
18f4525 | 18f4525_slip_isr.jal
18f4525 | 18f4525_slip_poll.jal
18f4550 | 18f4550_slip_poll.jal
18f4550 | 18f4550_slip_isr.jal
18f4550 | 18f4550_slip_poll_usb.jal
18f4620 | 18f4620_slip_poll.jal
18f4620 | 18f4620_network_slip_isr_ping_udp.jal
18f4620 | 18f4620_slip_isr.jal
18f46k22 | 18f46k22_slip_poll.jal
18f46k22 | 18f46k22_slip_isr.jal
18f67j50 | 18f67j50_slip_isr.jal
18f67j50 | 18f67j50_slip_poll.jal
18f67j50 | 18f67j50_slip_poll_usb.jal