Page 1 of 1

ESP-IDF and BG96 GSM Module

Posted: Thu May 16, 2019 3:20 pm
by leonardo.zambonelli
Hi,
i'm trying to use Quectel BG96 GSM module connected to my ESP32 (using WROOVER for ESP32 and the Quectel demo board).
I've tried the example and works fine; my software as well is working fine but i'm facing problems when i try some test:
1) if i try to disconnect the serial connection i read within the log:

Code: Select all

  W (16971) esp-modem: Rx Break
E (17023) esp-modem: Frame Error
E (17075) esp-modem: Frame Error
E (17127) esp-modem: Frame Error
W (17179) esp-modem: Rx Break
E (17231) esp-modem: Frame Error
but no "events" arrived

2) When i try to deinit both DTE and DCE, it seems to work but after a couple of seconds i receive an error, most of the time in

Code: Select all

void mld6_tmr(void)
{
  struct netif *netif = netif_list;

  while (netif != NULL) {
    struct mld_group *group = netif_mld6_data(netif);
In the last line netif is null!!
It seems like pppos has not been disconnected completed to lwip.

3) In order to understand if GSM is registered with good signal, do i have to pull signal strength? Is there any callback about that?

Do you have any idea?
Thanks in advanced for your kindly help

Leonardo Zambonelli

Re: ESP-IDF and BG96 GSM Module

Posted: Tue May 21, 2019 1:15 pm
by sabbay
Hi,
I`m also interested in stable GSM connection. I`ve written a post viewtopic.php?f=13&t=10565, but no response so far. Did you make any progress?
PS. I can`t pm you because my account is too fresh :(

Re: ESP-IDF and BG96 GSM Module

Posted: Thu May 23, 2019 6:17 pm
by warren
Because you are seeing "framing" errors and "break", that is suggesting that your serial input line is floating or pulled low when you disconnect. If you add a pullup resistor to your receiving input, the receiver won't see receive data / framing errors or break.

Warren

Re: ESP-IDF and BG96 GSM Module

Posted: Fri May 24, 2019 7:02 am
by leonardo.zambonelli
Thanks Warren,
i will try your suggestion.
Do you have any idea about the 2nd point?

Thanks
Leo

Re: ESP-IDF and BG96 GSM Module

Posted: Mon May 27, 2019 1:37 pm
by gunar.kroeger
Hi @leonardo.zambonelli,

I'm thinking of using the BG96 Module.
Are you still having problems with it?

Thanks

Re: ESP-IDF and BG96 GSM Module

Posted: Mon May 27, 2019 1:44 pm
by leonardo.zambonelli
At the moment iƬve burnt my esp32 demoboard :-(, so cannot test for a couple of days

stay tuned

Re: ESP-IDF and BG96 GSM Module

Posted: Tue May 28, 2019 7:48 pm
by warren
Sorry Leo, no idea on the 2nd issue. I don't have the same hardware to test.

But keep us posted if the pullup resistor solves your issue since it may provide a solution for others.

Warren

Re: ESP-IDF and BG96 GSM Module

Posted: Mon Jul 08, 2019 8:22 am
by leonardo.zambonelli
Hi Guys, still no news.
Waiting for new board to arrive and then i can make some tests.
I will let u know

Cheers
Leo