1 Star 0 Fork 344

seasky100 / awtk

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
tk_istream_shdlc_t.md 1.40 KB
一键复制 编辑 原始数据 按行查看 历史
xianjimli 提交于 2019-12-14 13:25 . update docs

tk_istream_shdlc_t

概述

image

reliable istream base on simple HDLC

函数

函数名称 说明
tk_istream_shdlc_create 创建istream对象。

属性

属性名称 类型 说明
retry_times uint32_t 失败重传次数。
timeout uint32_t 读写超时时间(ms)

tk_istream_shdlc_create 函数


  • 函数功能:

创建istream对象。

只能由iostream_shdlc调用。

  • 函数原型:
tk_istream_t* tk_istream_shdlc_create (tk_iostream_shdlc_t* iostream);
  • 参数说明:
参数 类型 说明
返回值 tk_istream_t* 返回istream对象。
iostream tk_iostream_shdlc_t* iostream对象。

retry_times 属性


失败重传次数。

  • 类型:uint32_t

timeout 属性


读写超时时间(ms)

  • 类型:uint32_t
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C
1
https://gitee.com/seasky100/awtk.git
git@gitee.com:seasky100/awtk.git
seasky100
awtk
awtk
master

搜索帮助

344bd9b3 5694891 D2dac590 5694891