ok
Diff: gprs.h
- Revision:
- 5:ac2342f162fa
- Parent:
- 4:63a2619b423b
- Child:
- 6:e508f9ee7922
--- a/gprs.h Tue Jan 21 06:44:58 2014 +0000 +++ b/gprs.h Wed Jan 22 02:04:57 2014 +0000 @@ -135,6 +135,12 @@ */ int loopHandle(void); + /** gprs network init + * @param *apn Access Point Name to connect network + * @param *userName general is empty + * @param *passWord general is empty + */ + int networkInit(char* apn, char* userName = NULL, char* passWord = NULL); /** build TCP connect * @param *ip ip address which will connect to * @param *port TCP server' port number