Comments (4)
0.6.0 is as is, no patches available.
Where does lwgsm fails to return? Where does it stuck when entering debug mode?
from lwcell.
In lwgsm-develop branch -
Function trace -
Within - lwgsm_init(lwgsm_callback_func, 1); called from init_thread -
@ line no - 141 of (lwgsm.c) res = lwgsm_reset_with_delay(LWGSM_CFG_RESET_DELAY_DEFAULT, NULL, NULL, blocking); /* Send reset sequence with delay */
@ line no 2306 of (lwgsm_int.c)
if (res == lwgsmOK && msg->is_blocking) { /* In case we have blocking request */
uint32_t time;
time = lwgsm_sys_sem_wait(&msg->sem, 0);/* Wait forever for semaphore */
if (time == LWGSM_SYS_TIMEOUT) { /* If semaphore was not accessed within given time */
res = lwgsmTIMEOUT; /* Semaphore not released in time */
} else {
res = msg->res; /* Set response status from message response */
}
How to print debug log? Do we need to redirect it to printf? As I am not able to verify what happens in the background
from lwcell.
By default, if you enable debug feature, it will use printf
to redirect stream.
https://docs.majerle.eu/projects/lwgsm/en/latest/api-reference/lwgsm/debug.html
from lwcell.
In lwgsm-develop branch -
Function trace -
Within - lwgsm_init(lwgsm_callback_func, 1); called from init_thread -
@ line no - 141 of (lwgsm.c) res = lwgsm_reset_with_delay(LWGSM_CFG_RESET_DELAY_DEFAULT, NULL, NULL, blocking); /* Send reset sequence with delay */
@ line no 2306 of (lwgsm_int.c)
if (res == lwgsmOK && msg->is_blocking) { /* In case we have blocking request */ uint32_t time; time = lwgsm_sys_sem_wait(&msg->sem, 0);/* Wait forever for semaphore */ if (time == LWGSM_SYS_TIMEOUT) { /* If semaphore was not accessed within given time */ res = lwgsmTIMEOUT; /* Semaphore not released in time */ } else { res = msg->res; /* Set response status from message response */ }
How to print debug log? Do we need to redirect it to printf? As I am not able to verify what happens in the background
Hello,I have same problem too. on stm32f103 , i debug my program and i found that interrupt routins of serial doesnt work
from lwcell.
Related Issues (20)
- Hardfault error sometimes HOT 6
- Read phonebook entry bug HOT 1
- I am not getting any response with sim7600e HOT 4
- Error in FreeRTOS port HOT 2
- how many files and how much work it will need to adapt library to support SIM7600 HOT 8
- When are you going to upgrade
- MQTT not send data HOT 5
- Plans to release PPP support? HOT 5
- SIM7070G support HOT 5
- SIMCOM A7670C support HOT 1
- freertos header port paths HOT 3
- Unable to drive multiple GSM modem HOT 3
- Unable to drive multiple GSM modem HOT 1
- The Documentation link seems to be invalid? HOT 1
- Deadlock on MQTT keepalive timeout HOT 11
- Server API? HOT 1
- Documentation link broken HOT 2
- There's something wrong with PHONEBOOK HOT 9
- Missing file !!! HOT 3
- is the SSL functionality stable? HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lwcell.