readme

来自「This a framework to test new ideas in tr」· 代码 · 共 51 行

TXT
51
字号
cch=== This module allows to encapsulate an arbitrary data-structure, that isprotected by a CRC and then handled further on.cch_rcv------- Receives tha data-packet and checks for the CRC. If it is OK, thenreceived' is put to 1, else it is counted down.Inputs:	U8Config:	*data<void>: NULL		A pointer to the data to send	len<int>: 0		The size in bytes of the data to sendStats:	received<int>:		Status of the received block:		1 - OK		0 - nothing		< 0 - number of consecutive wrong blocks cch_send--------This module takes a structure, and sends it over the air. Additionally,it adds a CRC. The reception-part checks for this CRC to be valid.outputs:	U8Config:	*data<void>: NULL		A pointer to the data you want to send	len<int>: NULL		The length in size of the data to send

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?