vshymanskyy / TinyGSM

A small Arduino library for GSM modules, that just works
GNU Lesser General Public License v3.0
1.91k stars 713 forks source link

[SIM800]ESP32 not work. #81

Closed 0x1abin closed 6 years ago

0x1abin commented 6 years ago

i use it in hardware Serial2.

HardwareSerial Serial2(2);
#define SerialAT Serial2

The example AT_Debug isn't wrok return.

rst:0x1 (POWERON_RESET),boot:0x17 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:1
load:0x3fff0010,len:4
load:0x3fff0014,len:708
load:0x40078000,len:0
load:0x40078000,len:11460
entry 0x400789f4
Trying baud rate 115200 ...
Modem responded at rate 115200
***********************************************************
 You can now send AT commands
 Enter "AT" (without quotes), and you should see "OK"
 If it doesn't work, select "Both NL & CR" in Serial Monitor
***********************************************************
-> AT
-< ⸮:
0x1abin commented 6 years ago

and the blynk example isn't compiling.

vshymanskyy commented 6 years ago

For the Blynk library - please post an issue on Blynk library github page.

vshymanskyy commented 6 years ago

@0x1abin is this issue specific for TinyGSM library? Are you able to send AT commands manually (or using any other example sketch)? If yes, please provide any working example sketch (non TinyGSM-related).

vshymanskyy commented 6 years ago

@0x1abin I need your help to understand the issue.

vshymanskyy commented 6 years ago

Closed due to lack of interest

thomasklingbeil commented 6 years ago

I can confirm the exact same issue. ESP32 with N590 connected to HardwareSerial on pins 32/33.

When using a simple sketch, which only sends data back and forth between the default serial console (USB) and the HardwareSerial, everything works properly.

With the TinyGSM library, a lot of random characters show up during the communication, rendering all results unusable.