-
Notifications
You must be signed in to change notification settings - Fork 136
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
little help in getting esp_modem and LiliGo-TSIM7080-S3 to work (IDFGH-12454) #539
Comments
Maybe some evidence of where I am ..
|
Probably a reverted login in the power-up sequence of your device or simply a transistor on your EVB inverting the signal?
You don't have to, unless you know which state your device really is upon starting your program. (In the real world application, you'd probably need to do something similar, as you'd probably only power the modem up only if needed or vice-versa -- the modem would stay up in some low power mode and would wake your ESP device, but that's very application specific)
If you're using
This indicates that you cannot setup the desired control flow. Are you using modem with UART flow control modem signal? void wait_for_sync(esp_modem_dce_t *dce, uint8_t count)
{
for (int i = 0; i < count; i++) {
if (esp_modem_sync(dce) == ESP_OK) {
return ESP_OK;
}
vTaskDelay(pdMS_TO_TICKS(1000));
}
return ESP_FAIL
} |
Thanks, you got me a step further :-) |
Answers checklist.
General issue report
I have two problems really. The examples with my board are all Arduino-based, I'm used to working with esp-idf.
Also the examples all have some code repeatedly triggering the power to the modem, like this :
When I try that, the modem is off, so I turned the HIGH and LOW around. Not sure why.
Anyway, none of the esp_modem examples do such thing.
So should I do this prior to enabling esp_modem ?
If yes, it looks like I need the uart module to do this (send AT commands and detect "OK" coming back to me). Right ? And should I close down the uart module after that and before starting esp_modem ?
Thanks, I appear to need a little help getting over this initial hurdle.
The text was updated successfully, but these errors were encountered: