ESP-IDF and BG96 GSM Module

leonardo.zambonelli
Posts: 11
Joined: Thu May 16, 2019 3:13 pm

ESP-IDF and BG96 GSM Module

Postby leonardo.zambonelli » Thu May 16, 2019 3:20 pm

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

sabbay
Posts: 4
Joined: Thu May 16, 2019 7:59 am

Re: ESP-IDF and BG96 GSM Module

Postby sabbay » Tue May 21, 2019 1:15 pm

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 :(

warren
Posts: 15
Joined: Thu May 02, 2019 3:16 pm

Re: ESP-IDF and BG96 GSM Module

Postby warren » Thu May 23, 2019 6:17 pm

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

leonardo.zambonelli
Posts: 11
Joined: Thu May 16, 2019 3:13 pm

Re: ESP-IDF and BG96 GSM Module

Postby leonardo.zambonelli » Fri May 24, 2019 7:02 am

Thanks Warren,
i will try your suggestion.
Do you have any idea about the 2nd point?

Thanks
Leo

User avatar
gunar.kroeger
Posts: 143
Joined: Fri Jul 27, 2018 6:48 pm

Re: ESP-IDF and BG96 GSM Module

Postby gunar.kroeger » Mon May 27, 2019 1:37 pm

Hi @leonardo.zambonelli,

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

Thanks
"Running was invented in 1612 by Thomas Running when he tried to walk twice at the same time."

leonardo.zambonelli
Posts: 11
Joined: Thu May 16, 2019 3:13 pm

Re: ESP-IDF and BG96 GSM Module

Postby leonardo.zambonelli » Mon May 27, 2019 1:44 pm

At the moment iìve burnt my esp32 demoboard :-(, so cannot test for a couple of days

stay tuned

warren
Posts: 15
Joined: Thu May 02, 2019 3:16 pm

Re: ESP-IDF and BG96 GSM Module

Postby warren » Tue May 28, 2019 7:48 pm

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

leonardo.zambonelli
Posts: 11
Joined: Thu May 16, 2019 3:13 pm

Re: ESP-IDF and BG96 GSM Module

Postby leonardo.zambonelli » Mon Jul 08, 2019 8:22 am

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

Who is online

Users browsing this forum: No registered users and 51 guests