Public Member Functions | Data Fields | Static Public Attributes

# ieee802154_io::PortIn Class Reference

Serial Interface Reader. More...

## Public Member Functions
def | __init__
def | __rx__
def | close
def | get_channels
def | get_text_queue
def | info
def | init
def | open
| Open the serial port.
def | packetizer
def | read_packet
def | reset
def | set_channel
def | set_rate
def | sync_search
def | update_hw_status
## Data Fields
| BAUDRATE
| channel
| clist
| crate
| fname
| maxpackets
| XXX refactor this hack convert frame from serial line to pcap format u8 length u64 ts u8[] frm.
| platform
| rate
| rates
| RxQueue
| RxThread
| sport
| state
| TextQueue
| ticknb
| timebase
| tscale
## Static Public Attributes
int | BAUDRATE = 38400
int | FCNT = 0
int | IDXERR = 0
int | SYNCED = 1
int | TMO = 1
int | UNSYNC = 0

## Detailed Description

Serial Interface Reader.

Definition at line 119 of file ieee802154_io.py.

## Member Function Documentation

def ieee802154_io::PortIn::open | ( |  | self,
|  |  | fname |
| ) |  |  |

Open the serial port.

Definition at line 136 of file ieee802154_io.py.

## Field Documentation

ieee802154_io::PortIn::maxpackets

XXX refactor this hack convert frame from serial line to pcap format u8 length u64 ts u8[] frm.

packet data is prefixed with byte STX (1) + length (1) and suffixed with EOT char (4)

Definition at line 134 of file ieee802154_io.py.