Skip to content

Commit

Permalink
update README, license preamble, remove irrelevant examples
Browse files Browse the repository at this point in the history
  • Loading branch information
nkrkv committed May 29, 2015
1 parent d6e809b commit 59c5876
Show file tree
Hide file tree
Showing 12 changed files with 67 additions and 366 deletions.
12 changes: 6 additions & 6 deletions GPRS_Shield_Arduino.cpp
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
/*
* GPRS_Shield_Arduino.cpp
* A library for SeeedStudio seeeduino GPRS shield
* A library for Amperka GPRS Shield
*
* Copyright (c) 2015 seeed technology inc.
* Website : www.seeed.cc
* Author : lawliet zou
* Create Time: April 2015
* Change Log :
* Copyright (c) 2015 seeed technology inc,
* Amperka LLC
*
* Author : lawliet zou
* Contributors : Igor Dementev
*
* The MIT License (MIT)
*
Expand Down
14 changes: 7 additions & 7 deletions GPRS_Shield_Arduino.h
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
/*
* GPRS_Shield_Arduino.h
* A library for SeeedStudio seeeduino GPRS shield
* A library for Amperka GPRS Shield
*
* Copyright (c) 2015 seeed technology inc.
* Website : www.seeed.cc
* Author : lawliet zou
* Create Time: April 2015
* Change Log :
* Copyright (c) 2015 seeed technology inc,
* Amperka LLC
*
* Author : lawliet zou
* Contributors : Igor Dementev
*
* The MIT License (MIT)
*
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
Expand Down
3 changes: 1 addition & 2 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2015 Seeed Studio
Copyright (c) 2015 Seeed Studio, Amperka

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand All @@ -19,4 +19,3 @@ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

86 changes: 41 additions & 45 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,45 +1,41 @@
##GPRS Shield
[![Shield - GPRS Shield V2.0](http://www.seeedstudio.com/depot/images/product/GRPS%20SLD_02.jpg)](http://goo.gl/UC8DkO)
GPRS Shield provide you a way to DIY your own **mobile phone**. You can use your GRPS Shield to dial a phone number or send a text message to your friend. Besides these, you can use it to access the network and view web pages. For more information, you can visit our [Wiki Page](http://goo.gl/U2I1d2)
### Features
+ Compatible with standard Arduino and Arduino Mega
+ Selectable interface between hardware serial port and software serial port
+ Selectable interface between hardware serial port and software serial port
+ Support TCP/UDP protocols
+ Full control via AT commands set: Standard - GSM 07.07 & 07.05 and Enhanced - SIMCOM AT Commands
+ 2-in-1 headset jack
+ Convenient external SIM card holder
+ Low power consumption: 1.5mA(sleep mode)
+ 3V CR1220 Battery Holder Connetor

### Applications
+ Call up and answer Call
+ Send SMS and read SMS
+ AT Command Test
+ TCP Connection Test

### Getting Started
Make sure that two libraries ([GPRS_Shield](https://github.com/Seeed-Studio/GPRS_Shield) —— GPRS Module Library, [SoftwareSerial](https://github.com/arduino/Arduino/tree/master/libraries/SoftwareSerial) —— we use software serial to communicate with GPRS module) have been in your libraries folder. Then you can have a test with the sketches in example folder.
+ GPRS_Serial_Debug —— test GPRS module with AT commands.
+ GPRS_CallUp —— give a call to someone.
+ GPRS_SendSMS —— send a message to someone.
+ GPRS_LoopHandle —— answer the call & read the message.
+ GPRS_SMSread —— another way to read a message.
+ GPRS_TCPConnection —— build a TCP connection and read the content from the specified website.


----

This software is written by lawliet zou (![](http://www.seeedstudio.com/wiki/images/f/f8/Email-lawliet.zou.jpg)) for [Seeed Technology Inc.](http://www.seeed.cc) and is licensed under [The MIT License](http://opensource.org/licenses/mit-license.php). Check License.txt/LICENSE for the details of MIT license.<br>

Contributing to this software is warmly welcomed. You can do this basically by<br>
[forking](https://help.github.com/articles/fork-a-repo), committing modifications and then [pulling requests](https://help.github.com/articles/using-pull-requests) (follow the links above<br>
for operating guide). Adding change log and your contact into file header is encouraged.<br>
Thanks for your contribution.

Seeed is a hardware innovation platform for makers to grow inspirations into differentiating products. By working closely with technology providers of all scale, Seeed provides accessible technologies with quality, speed and supply chain knowledge. When prototypes are ready to iterate, Seeed helps productize 1 to 1,000 pcs using in-house engineering, supply chain management and agile manufacture forces. Seeed also team up with incubators, Chinese tech ecosystem, investors and distribution channels to portal Maker startups beyond.



[![Analytics](https://ga-beacon.appspot.com/UA-46589105-3/GPRS_Shield)](https://github.com/igrigorik/ga-beacon)

GPRS Shield
===========

Библиотека для Arduino, позволяющая управлять [GPRS Shield’ом](http://amperka.ru/product/arduino-gprs-shield)
от [Амперки](http://amperka.ru/).

Установка
=========

Скачайте последний релиз библиотеки:

<a class="btn btn-sm btn-primary" href="#">Скачать GPRS Shield v1.0.0</a>

В Arduino IDE выберите пункт меню «Скетч» → «Импортировать библиотеку» →
«Добавить библиотеку…». В появившемся окне выберите скачаный архив с
библиотекой. Установка завершена.

Пример использования
====================

```cpp
#include <GPRS_Shield_Arduino.h>
#include <SoftwareSerial.h>

GPRS gprs(9600);

void setup()
{
gprs.powerUpDown();
while (!gprs.init())
delay(1000);

gprs.sendSMS("+74990001122", "Hello SMS from Amperka!");
}

void loop()
{
}
```
Больше примеров — [в статье на Амперка / Вики](http://wiki.amperka.ru/%D0%BF%D1%80%D0%BE%D0%B4%D1%83%D0%BA%D1%82%D1%8B:gprs-shield).
48 changes: 0 additions & 48 deletions examples/GPRS_CallUp/GPRS_CallUp.ino

This file was deleted.

59 changes: 0 additions & 59 deletions examples/GPRS_LoopHandle/GPRS_LoopHandle.ino

This file was deleted.

58 changes: 0 additions & 58 deletions examples/GPRS_SMSread/GPRS_SMSread.ino

This file was deleted.

36 changes: 0 additions & 36 deletions examples/GPRS_SendSMS/GPRS_SendSMS.ino

This file was deleted.

Loading

0 comments on commit 59c5876

Please sign in to comment.