Giter Site home page Giter Site logo

a6-gsm-module's People

Contributors

sensorsiot avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

a6-gsm-module's Issues

Soft WDT reset

Hi,
While in the loop section the code will Soft WDT reset.
This will happen after several seconds (15 -20) or just after any of the commends (SMS, Call, HTTP), but it is in the loop.
I have read that the speed for SoftwareSerial is not stable at the speed it i set in the code.... could this be the problem?

Waiting for command
Command: AT+CIPSTATUS

Soft WDT reset

ctx: cont
sp: 3ffef6b0 end: 3ffefa20 offset: 01b0

stack>>>
3ffef860: 00000030 000000fc 3fff09ec 40100648
3ffef870: 00000024 000007a8 000000f5 3ffee920
3ffef880: 00000010 3ffef930 00000000 4010053d
3ffef890: 00000030 3ffef910 3ffef910 402034fc
3ffef8a0: 00000020 00000001 3ffef910 00002710
3ffef8b0: 00000010 3ffef930 3ffef930 402034fc
3ffef8c0: 3ffe8c78 00000000 3ffef930 4020354b
3ffef8d0: 3ffef980 3ffef93c 3ffef930 40203581
3ffef8e0: 3ffef980 3ffef98c 3ffef930 402035d2
3ffef8f0: 3ffe8c78 000000f2 000000f2 4010020c
3ffef900: 3ffef980 3ffef98c 3ffef930 40201cf5
3ffef910: 00000000 3ffef98c 000038b9 402037e0
3ffef920: 00000010 3ffef98c 000038b9 40201d4e
3ffef930: 00000000 00000000 00000000 3fff09ec
3ffef940: 0000002f 00000000 3ffef980 40203581
3ffef950: ffffffff 3ffef9dc 3ffef980 40203644
3ffef960: 3ffee920 00000001 3ffef9e8 00002710
3ffef970: 3ffef9d0 3ffef9dc 3ffef9e8 40201e58
3ffef980: 3fff09bc 0000000f 00000002 3fff09a4
3ffef990: 0000000f 00000002 3ffef9d0 40203581
3ffef9a0: 3fffdad0 00000000 00000002 402035d2
3ffef9b0: 3ffe8448 000007d0 000007d0 3ffee9f8
3ffef9c0: 3fffdad0 00000000 3ffee9f0 40202a50
3ffef9d0: 3fff098c 0000000f 00000002 3fff0974
3ffef9e0: 0000000f 00000002 3fff02ec 0000000f
3ffef9f0: 0000000c 00000000 00000001 402038b5
3ffefa00: 3fffdad0 00000000 3ffee9f0 402038e0
3ffefa10: feefeffe feefeffe 3ffeea00 40100718
<<<stack<<<

AT+SAPBR not found

Hi, my A6 module doesnt understand the command AT+SAPBR..
which firmware are you using?

TRYING SAME PROGRAM A6debug.ino IN ESP12E WITH A6 MODULE.

Hi I have connected A6gsm module with esp12f with gsm RX-> esp12f Tx and vice versa and i am trying to get the at command response in serial of esp12f .but i am not getting any thing.can any one help me.

code:-
#include <SoftwareSerial.h>

#define A6board Serial1

#ifndef A6board
SoftwareSerial A6board (D9, D10);
//#define A6baud 9600
#define A6baud 115200
#else
#define A6baud 115200
#endif

String hh;
char buffer[100];
char end_c[2];

void setup() {
Serial.begin(115200);
Serial.println(A6baud);
A6board.begin(A6baud);
Serial.println("Start");
end_c[0] = 0x1a;
end_c[1] = '\0';

}

void loop() {
if (Serial.available()) {
Serial.print("Serial available");
hh = Serial.readStringUntil('\r');
hh.toCharArray(buffer, hh.length() + 1);
if (hh.indexOf("ende") == 0) {
A6board.write(end_c);
Serial.println("ende");
} else{
A6board.write(buffer);
A6board.write('\r');
}
}
if (A6board.available()) {
Serial.print("Serial read");
Serial.write(A6board.read());
}
}

need help.
any help will appreciated .
mail id:[email protected]

get error in http request

i try many times but +cme error 50, 53, 58 kind of errors are generated
how can i send http request to my webserver to store data through accessing php page using arduino uno and GSM A6 ?
help me !!!

DTMF

Looking for info on DTMF detection using A6. Is an customized firmware required ?
regards

Message with diacritics

Hello,
did you ever manage to send or receive sms messages with diacritics ? Like ăîâșț

Thank you!

error: 'Serial1' was not declared in this scope

Trying to compile A6_swisscom.ino directly in arduino IDE and getting these errors...

A6_swisscom.ino: In function 'void setup()':
A6_swisscom.ino:8:17: error: 'Serial1' was not declared in this scope
A6_swisscom.ino:35:3: note: in expansion of macro 'A6board'
A6_swisscom.ino:36:3: error: 'Serial' was not declared in this scope
A6_swisscom.ino:42:16: error: 'OUTPUT' was not declared in this scope
A6_swisscom.ino:42:22: error: 'pinMode' was not declared in this scope
A6_swisscom.ino:43:21: error: 'HIGH' was not declared in this scope
A6_swisscom.ino:43:25: error: 'digitalWrite' was not declared in this scope
A6_swisscom.ino:44:13: error: 'delay' was not declared in this scope
A6_swisscom.ino:45:21: error: 'LOW' was not declared in this scope
A6_swisscom.ino:47:15: error: 'A6begin' was not declared in this scope
A6_swisscom.ino: In function 'void loop()':
A6_swisscom.ino:59:49: error: 'A6command' was not declared in this scope
A6_swisscom.ino:60:3: error: 'Serial' was not declared in this scope
A6_swisscom.ino:66:25: error: 'SendTextMessage' was not declared in this scope
A6_swisscom.ino:70:23: error: 'DialVoiceCall' was not declared in this scope
A6_swisscom.ino:74:27: error: 'SubmitHttpRequest' was not declared in this scope
A6_swisscom.ino:78:40: error: 'A0' was not declared in this scope
A6_swisscom.ino:78:42: error: 'analogRead' was not declared in this scope
A6_swisscom.ino:79:32: error: 'sendSparkfunGSM' was not declared in this scope
A6_swisscom.ino:8:17: error: 'Serial1' was not declared in this scope
A6_swisscom.ino:82:8: note: in expansion of macro 'A6board'
A6_swisscom.ino:85:13: error: 'delay' was not declared in this scope
A6_swisscom.ino: In function 'void SendTextMessage()':
A6_swisscom.ino:93:47: error: 'A6command' was not declared in this scope
A6_swisscom.ino:94:12: error: 'delay' was not declared in this scope
A6_swisscom.ino:8:17: error: 'Serial1' was not declared in this scope
A6_swisscom.ino:97:3: note: in expansion of macro 'A6board'
A6_swisscom.ino: In function 'void DialVoiceCall()':
A6_swisscom.ino:106:46: error: 'A6command' was not declared in this scope
A6_swisscom.ino: In function 'void SubmitHttpRequest()':
A6_swisscom.ino:115:43: error: 'A6command' was not declared in this scope
A6_swisscom.ino:8:17: error: 'Serial1' was not declared in this scope
A6_swisscom.ino:122:3: note: in expansion of macro 'A6board'
A6_swisscom.ino:124:13: error: 'delay' was not declared in this scope
A6_swisscom.ino:125:18: error: 'ShowSerialData' was not declared in this scope
A6_swisscom.ino: At global scope:
A6_swisscom.ino:148:22: error: 'byte' was not declared in this scope
A6_swisscom.ino:148:41: error: expected primary-expression before 'float'
A6_swisscom.ino:148:53: error: expression list treated as compound expression in initializer [-fpermissive]
A6_swisscom.ino:148:55: error: expected ',' or ';' before '{' token
A6_swisscom.ino:206:1: error: 'byte' does not name a type
A6_swisscom.ino:230:1: error: 'byte' does not name a type
A6_swisscom.ino: In function 'void A6input()':
A6_swisscom.ino:250:3: error: 'String' was not declared in this scope
A6_swisscom.ino:250:10: error: expected ';' before 'hh'
A6_swisscom.ino:253:9: error: 'Serial' was not declared in this scope
A6_swisscom.ino:254:7: error: 'hh' was not declared in this scope
A6_swisscom.ino:8:17: error: 'Serial1' was not declared in this scope
A6_swisscom.ino:257:9: note: in expansion of macro 'A6board'
A6_swisscom.ino:8:17: error: 'Serial1' was not declared in this scope
A6_swisscom.ino:260:9: note: in expansion of macro 'A6board'
A6_swisscom.ino:8:17: error: 'Serial1' was not declared in this scope
A6_swisscom.ino:264:9: note: in expansion of macro 'A6board'
A6_swisscom.ino:265:7: error: 'Serial' was not declared in this scope
A6_swisscom.ino: In function 'bool A6begin()':
A6_swisscom.ino:8:17: error: 'Serial1' was not declared in this scope
A6_swisscom.ino:272:3: note: in expansion of macro 'A6board'
A6_swisscom.ino:273:3: error: 'byte' was not declared in this scope
A6_swisscom.ino:273:8: error: expected ';' before 'hi'
A6_swisscom.ino:274:11: error: 'hi' was not declared in this scope
A6_swisscom.ino:276:36: error: 'A6waitFor' was not declared in this scope
A6_swisscom.ino:279:45: error: 'A6command' was not declared in this scope
A6_swisscom.ino: In function 'void ShowSerialData()':
A6_swisscom.ino:289:32: error: 'millis' was not declared in this scope
A6_swisscom.ino:8:17: error: 'Serial1' was not declared in this scope
A6_swisscom.ino:290:11: note: in expansion of macro 'A6board'
A6_swisscom.ino:291:5: error: 'Serial' was not declared in this scope
A6_swisscom.ino: At global scope:
A6_swisscom.ino:294:1: error: 'String' does not name a type
'Serial1' was not declared in this scope

Any solution?

APN with user and password for HTTP Request

Hi, This is the correct sequence that will work with my ESP8266/A6 and my local mobile company.
AT+CREG=0
AT+CGATT=1
AT+CGDCONT=1,"IP","web.tmovil.cl"
AT+CSTT="web.tmovil.cl","web","web"
AT+CGACT=1,1

The CGDCONT and CSTT lines I have not been able to get to work as the are passed without the quotes.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.