Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

期望支持iot 系统 #20

Open
ivanhxq opened this issue Jan 7, 2023 · 1 comment
Open

期望支持iot 系统 #20

ivanhxq opened this issue Jan 7, 2023 · 1 comment
Labels
help wanted Extra attention is needed

Comments

@ivanhxq
Copy link

ivanhxq commented Jan 7, 2023

iot系统大部分是rtos,采用c编程,如freertos、contiki、Alios Things、Huawei LiteOS、RT-Thread,跑是轻量tcp/ip协议栈如lwip/uip,基本兼容linux 标准socket api。看了下xfrpc的代码,目前只支持linux,代码socket采用libevent并柔和在代码中,若想支持iot系统,必须把这部分抽象出来重构,其他小改即可支持

另外考虑下场景应用,iot产品大部分是低速率通信,frp协议是否适用

@liudf0716 liudf0716 added the help wanted Extra attention is needed label Jan 7, 2023
helintongh added a commit to helintongh/xfrpc that referenced this issue Jan 9, 2023
build xfrpc by build-in static library.
Possible solution for [liudf0716#17](liudf0716#17) and [liudf0716#20](liudf0716#20)
helintongh added a commit to helintongh/xfrpc that referenced this issue Jan 9, 2023
build xfrpc by build-in static library.
Possible solution for [liudf0716#17](liudf0716#17) and [liudf0716#20](liudf0716#20)

Signed-off-by: helintongh <[email protected]>
liudf0716 pushed a commit that referenced this issue Jan 9, 2023
build xfrpc by build-in static library.
Possible solution for [#17](#17) and [#20](#20)

Signed-off-by: helintongh <[email protected]>
@helintongh
Copy link
Collaborator

Now,xfrpc support static library complie.In theory, it can support running on iot devices if the device is x86 architecture.
Can you give feedback on the usage of xfrpc under other architectures? This is convenient for us to make changes to xfrpc, thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants