*
uint8 ubcsp_poll (
uint8 * activity
)
* ubcsp_poll * * This is the main function for ubcsp * It performs a number of tasks * * 1) Send another octet to the UART - escaping as required * 2) Setup the payload to be sent after the header has been sent * 3) Send the CRC for the packet if required * * 4) Calculate the next Link Establishment State * 5) Send a Link Establishment packet * 6) Send a normal packet if available * 7) Send an ACK packet if required * * 8) Receive octets from UART and deslip them as required * 9) Place received octets into receive header or receive payload buffer * 10) Process received packet when SLIP_END is received * *
目次 | ファイル一覧 | 関数一覧 | ネームスペース一覧 | クラス一覧 | #define一覧 | マクロ一覧 | 外部変数一覧 | 構造体一覧 | 共用体一覧 | 列挙体一覧 | Const一覧 | 索引 | サイドメニュー | ubcsp.c