URC frame not handled correctly
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 18/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- c
- 领域
- networking
调研方向
The URC handling is in the cellular library's AT-message dispatch, where the _handleMsgType path reports AT_UNDEFINED for unprefixed messages such as "SRING: 1" and no undefined callback is registered. Start by finding where the undefined-type callback is set and how unprefixed URCs are matched against the expected prefix list. Done means a registered handler receives the SRING URC and the debug log no longer reports a failed message type.
由索引模型根据 Issue 内容生成。
描述
Hi there,
I started to port the driver to ME310G1 modem inspired from SARA-R4 driver.
Connexion is now working and I'm currently porting the socket layer.
I'm facing the lib do not handle URC correctly.
Once socket is opened, the ME310 send URC "SRING: x" (with x=socket ID) to inform data are available.
but this URC is not handled by the lib. instead i get
DEBUG [ME310 ] 12 bytes received (..SRING: 1..)
DEBUG [CELLULAR ] AT Read 12 bytes, data[200080c6]
INFO [CELLULAR ] AT_UNDEFINED message received SRING: 1
ERROR [CELLULAR ] No undefined callback for AT_UNDEFINED type message SRING: 1 received.
ERROR [CELLULAR ] recvdMsgType is AT_UNDEFINED for Message: SRING: 1, cmd NULL
DEBUG [CELLULAR ] _handleMsgType failed 11
If i right understood the lib source, URC message can't be without prefix.. but it is the case here..
- 主要语言
- C
- 星标
- 101
- 派生
- 73
- 平均合并
- 28 天 19 小时
- 30 天内合并 PR
- 1
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
FreeRTOS/FreeRTOS-Cellular-Interface 的其他 Issue
-
难度 3/5 1-2 天 新手友好度 25/100
-
feature request
难度 5/5 一周以上 新手友好度 12/100
FreeRTOS/FreeRTOS-Cellular-Interface#194 · 1 条评论 ·
-
cmsis_os2未关闭feature request
难度 5/5 一周以上 新手友好度 8/100
FreeRTOS/FreeRTOS-Cellular-Interface#191 · 4 条评论 ·
-
[Feature Request] In-band handling of cellular_comm_interface errors可能重新可做 @chinglee-iot 于 1468 天前认领,目前没有进行中的 PR。 未关闭enhancement feature request
FreeRTOS/FreeRTOS-Cellular-Interface#118 · 1 条评论 · 已指派 1 人 ·
-
[Feature Request] Secure Sockets Transport Implementation可能重新可做 @chinglee-iot 于 1784 天前认领,目前没有进行中的 PR。 未关闭feature request help wanted
FreeRTOS/FreeRTOS-Cellular-Interface#74 · 5 条评论 · 已指派 1 人 ·
查看 FreeRTOS/FreeRTOS-Cellular-Interface 的全部 Issue
相似的 Issue
-
bug
难度 2/5 1-3 小时 新手友好度 72/100
-
难度 2/5 1-3 小时 新手友好度 72/100
-
bug
难度 1/5 1 小时以内 新手友好度 63/100
FreeRTOS/FreeRTOS-Plus-TCP#1395 ·
-
难度 2/5 1-3 小时 新手友好度 72/100
qoretechnologies/qore#8222 ·
维护者通常 1 天内回复
-
c easy first-contributor first-contributors good first issue help wanted up-for-grabs
难度 1/5 1-3 小时 新手友好度 96/100
fork-commit-merge/fork-commit-merge#8696 ·
维护者通常 1 天内回复