A6lib icon indicating copy to clipboard operation
A6lib copied to clipboard

Add GSM data functionality to the library

Open beyondszine opened this issue 8 years ago • 15 comments

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

beyondszine avatar Dec 15 '16 20:12 beyondszine

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

skorokithakis avatar Dec 16 '16 03:12 skorokithakis

@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?

beyondszine avatar Dec 16 '16 14:12 beyondszine

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 avatar Dec 16 '16 14:12 skorokithakis

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

beyondszine avatar Dec 16 '16 15:12 beyondszine

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

skorokithakis avatar Dec 16 '16 15:12 skorokithakis

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

skorokithakis avatar Dec 22 '16 20:12 skorokithakis

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); }

amit524 avatar Dec 30 '16 19:12 amit524

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.

TronikMecatron avatar Feb 08 '17 17:02 TronikMecatron

@skorokithakis is this merged?

crosofg avatar Feb 28 '17 07:02 crosofg

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

SunboX avatar Jul 18 '17 20:07 SunboX

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.

skorokithakis avatar Jul 18 '17 20:07 skorokithakis

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. 😏

SunboX avatar Jul 18 '17 20:07 SunboX

No problem, it really is great!

skorokithakis avatar Jul 18 '17 20:07 skorokithakis

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.

beyondszine avatar Jul 19 '17 07:07 beyondszine

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

SunboX avatar Jul 22 '17 21:07 SunboX