skorokithakis / A6lib

An ESP8266/Arduino library for communicating with the A6 GSM module. ⛺
MIT License
127 stars 49 forks source link

stuck in the blockUntilReady #15

Open GeorgeDLake opened 7 years ago

GeorgeDLake commented 7 years ago

Hi. I have an issue with the dial.ino. it gets stuck in the blockUntilReady function. If I invert the RX and TX lines, then it passes but no data comes to the ESP8266. Signal Strength shows some number like 6845364 and cinfo.number is blank. How can I tell that the A6 is actually working? I tired calling it but the call goes to voice mail. I dont have the module to connect the A6 to the serial port of my PC, so I can only use the ESP to validate.

,

skorokithakis commented 6 years ago

It's wired to a MOSFET that turns the A6 on and off. In my designs, anyway.

vanjsy commented 6 years ago

Im sorry Im new to this, which pin exactly in A6? to ESP8266?

skorokithakis commented 6 years ago

None, I wired its power to a MOSFET in my design.

vanjsy commented 6 years ago

My connection is:

A6(PWR) > A6(VCC) A6(U_TXD) > ESP(TX) D8 A6(U_RXD) > ESP(RX) D7

Is this enough?

skorokithakis commented 6 years ago

Yes, that's fine.

vanjsy commented 6 years ago

Whats the Extra Comma Found means in the code Sir?

skorokithakis commented 6 years ago

I have no idea, and I don't have an A6 to test it, I'm sorry.