A6lib
A6lib copied to clipboard
Add GSM data functionality to the library
working HTTP requests. TODO: Generalizing POST request for headers remains.
Hmm, this isn't showing the latest changes in master, can you update it?
@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?
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.
@skorokithakis thanks! it worked. Github is hard man!! Got to learn a lot. Lol
Tell me about it! That's why I prefer gitlab.
Damn, I forgot about this! Please leave a comment if I haven't reviewed it by Monday!
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 <HWSerial.h>
and
A6lib::A6lib() {
#ifdef ESP8266
A6conn = new SoftwareSerial(receivePin, transmitPin, false, 1024);
#else
A6conn = new SoftwareSerial(receivePin, transmitPin, false);
#endif
A6conn->setTimeout(100);
}
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.
@skorokithakis is this merged?
What's the current state of this PR? Is it currently working? What's missing?
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.
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. 😏
No problem, it really is great!
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.
I just came across two other libraries/sample code. I will post the links here, for anyone who's interested:
- https://github.com/SensorsIot/A6-GSM-Module
- https://gitlab.me-soldesign.com/Tobias/A6HTTPLibrary