skorokithakis / A6lib

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

Add GSM data functionality to the library #5

Open beyondszine opened 7 years ago

beyondszine commented 7 years ago

working HTTP requests. TODO: Generalizing POST request for headers remains.

skorokithakis commented 7 years ago

Hmm, this isn't showing the latest changes in master, can you update it?

beyondszine commented 7 years ago

@skorokithakis Umm, I would very much like to do it but I am just not clear how to do that!
I mean how do I merge changes from your Master to my branch ? What I did is: sync'd my repo with yours. Now I have all the changes which are in your repo in my local and global repo. Now How to go further and merge changes from my master to my branch A6httplib?

skorokithakis commented 7 years ago

It's odd, GitHub should do this automatically, but it doesn't. Try switching to your branch and doing git merge master, and then pushing the result. Maybe that will fix it.

beyondszine commented 7 years ago

@skorokithakis thanks! it worked. Github is hard man!! Got to learn a lot. Lol

skorokithakis commented 7 years ago

Tell me about it! That's why I prefer gitlab.

skorokithakis commented 7 years ago

Damn, I forgot about this! Please leave a comment if I haven't reviewed it by Monday!

amit524 commented 7 years ago

what d change required for use of hardware serial inplace of software serial in a6lib.h and a6lib.cpp comes in a6lib.h---->#include "SoftwareSerial.h" ; and SoftwareSerial1 *A6conn; a6lib.cpp --->#include
and A6lib::A6lib() {

ifdef ESP8266

A6conn = new SoftwareSerial(receivePin, transmitPin, false, 1024);

else

A6conn = new SoftwareSerial(receivePin, transmitPin, false);

endif

A6conn->setTimeout(100);

}

TronikMecatron commented 7 years ago

I still do not understand at all, thank you for your prompt response. But I do not know if I'm on the right page, how can I use the A6 module as a WiFi access point using the SIM data, and the connections.

I have been working with Arduino and regularly in codes, comes the connection mode of the pins, if you could help me with that I would appreciate it.

crosofg commented 7 years ago

@skorokithakis is this merged?

SunboX commented 7 years ago

What's the current state of this PR? Is it currently working? What's missing?

skorokithakis commented 7 years ago

Good question, it's such a large PR that I'm stalled in reviewing it (and I haven't touched my A6 in ages). If someone would like to refactor it to remove unnecessary elements and test it, please go ahead, it would be very helpful.

SunboX commented 7 years ago

Ok, I just ordered a A6. Let's see if I get some time to try this out. Thanks for your work! This is really great to play with and show to kids. 😏

skorokithakis commented 7 years ago

No problem, it really is great!

beyondszine commented 7 years ago

Hey all, yeah it was working the last time I used it. I updated it at my repo. @skorokithakis helped me a lot sorting things out, after that even I cudn't push it much to refactor.

SunboX commented 6 years ago

I just came across two other libraries/sample code. I will post the links here, for anyone who's interested: