URC frame not handled correctly
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 18/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Ferma
- Stack tecnologico
- c
- Ambito
- networking
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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..
- Lingua principale
- C
- Stelle
- 101
- Fork
- 73
- Merge medio
- 28g 19h
- PR unite (30g)
- 1
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di FreeRTOS/FreeRTOS-Cellular-Interface
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 25/100
-
SMS-related commandsApertafeature request
Difficoltà 5/5 Più di una settimana Idoneità per principianti 12/100
FreeRTOS/FreeRTOS-Cellular-Interface#194 · 1 commento ·
-
cmsis_os2Apertafeature request
Difficoltà 5/5 Più di una settimana Idoneità per principianti 8/100
FreeRTOS/FreeRTOS-Cellular-Interface#191 · 4 commenti ·
-
[Feature Request] In-band handling of cellular_comm_interface errorsForse di nuovo libera @chinglee-iot l’ha presa 1468 giorni fa e non c’è nessuna pull request aperta. Apertaenhancement feature request
FreeRTOS/FreeRTOS-Cellular-Interface#118 · 1 commento · 1 assegnatario ·
-
[Feature Request] Secure Sockets Transport ImplementationForse di nuovo libera @chinglee-iot l’ha presa 1784 giorni fa e non c’è nessuna pull request aperta. Apertafeature request help wanted
FreeRTOS/FreeRTOS-Cellular-Interface#74 · 5 commenti · 1 assegnatario ·
Tutte le issue di FreeRTOS/FreeRTOS-Cellular-Interface
Issue simili
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
-
bug
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 63/100
FreeRTOS/FreeRTOS-Plus-TCP#1395 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
qoretechnologies/qore#8222 ·
I maintainer di solito rispondono entro 1 giorno
-
c easy first-contributor first-contributors good first issue help wanted up-for-grabs
Difficoltà 1/5 1-3 ore Idoneità per principianti 96/100
fork-commit-merge/fork-commit-merge#8696 ·
I maintainer di solito rispondono entro 1 giorno