Home
IEM製品版3Gシールド ライブラリ仕様書 (Ver2.0)
Contents
1. APN APN APN APN encryptedProfile uint8_t ep xb6 x7c xcf x87 x74 xa2 x3b x0d x50 x45 xd7 x74 x47 x19 If a3gS uDdateProfile eD Int sizeof eD 0 Serial DrintIn ok else Serial DrintIn error TABrain 3GSXA 3G Shield Alliance 3G Shield V2 0 8 el Sa N _ gt put get gt IEM
2. begin begin If a3qs SetBaudrate 9600 0 Serial DrintIn Baudrate was changed Serlal DrintIn Please reset me now 23 Copyright c 2012 2014 3G alliance All Rights Reserved TABrain 3GA 3G Shield Alliance SW TE OFF FALSE 0 0 ON SMS 3G ON OFF ON OFF
3. 1 3 Char svr ardUuInO CC If a39S connectTCP svr 80 0 GET Reqguest for google site a3gs write GET HTTP 1 0 n a3gs write HOST a3gs write svr a3gs write n n Get resopnse 012 2014 3G alliance All Rights Reserved _TABrain 3GSA 3G Shield Alliance p51 3G Shield V2 0 6 TCP IP write e 3 It write const uint8_t Duffer size _t sz TCP buffer sz 1 ke close
4. 3G amp 3 GIM gt Vin GND 2 NN rm NG 1 md pd pe DIGITAL PWM 1 WSB USB 3G a LR 4 Vin _ Copyright c 2012 2014 3G alliance All Rights Reserved TABrain 3G 3G Shield Alliance 93
5. 2 43 Copyright c 2012 2014 3G alliance All Rights Reserved TABrain 3GSA once 3G shield RR A Arduino GSM GPRS TCP IP v4 Web 30 read1 write connectTCP TCP IP SIM
6. Copyright c 2012 2014 3G alliance All Rights Reserved TABrain 3GSA 3G Shield Alliance 3G Shield V2 0 6 TCP TP write e 2 It write const char str TCP str 0 1 0 close 30 close
7. GPS 36 Copyright c 2012 2014 3G alliance All Rights Reserved TABrain 3GSEA 3G Shield Alliance 3G Shield V2 0 4 GPS getLocation int getLocation int method char latitude char longitude method a3gsMPBASED a3gsMPASSISTED a3gsMPSTANDALONE latitude OUT 9 99999 longitude OUT 0 0 latitude longitude 3 AGPS 3G Ver1 0 Google
8. pin 0 1 2 IEM gw3g 3G ON end end SoftwareSerial begin if a3gs Degin 0 Serial DrintIn Succeeded 15 Copyright C 2012 2014 3G alliance All Rights Reserved TABrain 3GSA 3G Shield Alliance 3G Shield V2 0
9. If aFlag a3dS SsetAirplaneMode true airDlaneMode true Serial DrintIn Airplane mode on PP _ Copyright c 2012 2014 3G alliance All Rights Reserved TA Brain 3GSA 3G Shield V2 0 2 1 3G SMS Short Message Service 100 SMS SIM SMS SMS 3cG IEM SMS SMS SMS SMS
10. lt gt APN Tweet SIM COpyright c 2012 2014 3G alliance All Rights Reserved TA Brain 3GSA sc Shield 7 3 a3gs ag3gs Arduino IDE File sketch_au 02a Aduno 1 0 T Softwareseria Ctrl Ctrl mr k 01 Basics Ctrl W 02 Digital ry Ctr 3 Analog k Ctrl Shift 5 04 Communication Ctrl U 05 Control rk Ctrl Shif t 06 5ensors k Ctrl Shift P
11. 25 Copyright c 2012 2014 3G alliance All Rights Reserved TABrain 3GSA 3G Shield Alliance 3G Shield V2 0 2 sendSMS Iint sendsSMS const char to const char msg int encode SMS to 10 _ msg a3gsMAX_SMS_LENGTH encode a3gsCS_ ASCII 0 0 SMS SIM getServices a3gsSRV_CS a3gsSRV_BOTH SMS UNICODE Arduino UTF 8 UNICODE 16
12. gt RSSI Received Signal Strength Indicator gt UNICODE gt UTF 8 UCS UNICODE 8 02 COpyright c 2012 2014 3G alliance All Rights Reserved 3G Sh 3G Shield V2 0 5 3G 200mA lt 600mA PC USB 5 V500mA 2 9 V1 3A gt USB
13. a 1 ATmega328 32U Uno Arduino SRAM ATmega2560 1280 Mega ADK 2 read write 10 COpyright c 2012 2014 3G alliance All Rights Reserved TABrain 3GA 3G Shield Alliance 3G Shield V2 0 3 include a3gs h VOId setup i t if a3gs start 0 3G ON a3gs If a3gs begin 0 3G while a3gs start 0 amp amp a3gs begin 0 gt 11 Copyrightc 2012 2014 3G alliance All Rights Reserved
14. tweet http twansform appspot com text 1 Twitter 1 a3gsa http twansform appspot com a3gsa text 1 b Twitter 1 150 twansform an internal error has OCCurred Rate limit exceeded Clients may not make more than 150 requests per hour Sorry http_get include lt SoftwareSerial h gt include a3gs h int port 80 i i i i i I lt 3960Ubaud lt 78 COpyright c 2012 2014 3G alliance All Rights Reserved TA Brain 3GSA 3G Shield V2 0 12 Set defaultDrOfIIe ITO
15. 2 2 07 49 Copyright c 2012 2014 3G alliance All Rights Reserved TABrain 3GSA 3G Shield Alliance 3G Shield V2 0 6 TCP IP 5 write C SL 0 close 30 1 int write uint8_ t ic TCP 1 c closSe
16. Serial printIn Failed 2 UNICODE Serial printlIn Shutdown EN a3gs shutdown void loop 75 Copyright c 2012 2014 3G alliance All Rights Reserved TA Brain 3GSA 3G Shield V2 0 10 tweet_sannDle inO tweet 3 G Twitter tweet_sample ino A3GS sample SKech 10 tweet_sarmple Loo CdS CD il CdS include lt SoftwareSerial h gt include a3gs h char message 3 GShield Tweet Start Note cant tweet same message continuously const int AnaogSensor_Pin 0 IC 0 Twtter 0 IA Pu AG 2 NI DOTVNY d AOd tweet_sample ino void setuD void looD static uint16_t prevLx 0 uint16 t Ix analogRead AnaogSensor_Pin Serial print Ix Serial print Ix Serial begin
17. void ledOn void digitalWrite LED_PIN HIGH ledStatus HIGH VOId setup If a3gs start 0 amp amp a3gs begin 0 a3gs onsSMSReceived ledOn gt 29 Copyright c 2012 2014 3G alliance All Rights Reserved TABrain 3GSA 3G Shield Alliance 3G shield 7 3 Web Arduino GSM GPRS http arduino tweet appspot com Twitter http https GET POST Web 30 tweet Oo http arduino tweet appspot com 3G SIM 3G
18. SIM 80 1 read write read write read write Ver2 0 read Ver2 0 os LT ME TABrain 3GSEA Reserved 3G Shield Alliance 3G Shield V2 0 6 TCP 1IP connectTcp It connectTCP const char serVver Int port TCP server IP port 0 0 30
19. 3G ON OFF IMEI LED1 ON OFF UART ON 40 OFF 15 setBaudrate 13 Copyright c 2012 2014 3G alliance All Rights Reserved TA Brain 3GSA 3G Shield Alliance i A3GS ERROR A3GS IDLE A3GS READY A3GS TCPCONNECTEDCLIENT TCP Int status status a3qS getStatus Serial Drint Status is Switch status case A3GS ERROR Serial DrintIn ERROR break case A3GS IDLE Serial printin IDLE break Case A3GS READY Serial DrintlIn READY break case A3GS TCPCONNECTEDCLIENT Serial DrintIn TCPCONNECTEDCLIENT break default Serial printIin Unknown break 14 Copyright c 2012 2014 3G alliance All Rights Reserved TABrain 3GSA 3G Shield Alliance 3G Shield V2 0 begin gt 1 l ml begin char pin
20. 3G 3 Copyright c 2012 2014 3G alliance All Rights Reserved TABrain 3GSA 3G Shie dAlliance 3G Shield 7 1 1 2 3G GPS IEM 3G IEM 3G W CDMA Brew 2100 1900 850MHz lt gw39g gt Brew Brew MP UART Power Agelllaloe9INI6 eaEclgele me MeE 9 Arduino a Arduino lt a3gs gt SoftwareSerial Arduino 4 Copyright c 2012 2014 3G alliance All Rights Reserved TA Brain 3GSA INTO CLO J IEM Internet of Everything Module D 06 a3gs D 07 D 11 I 3G Arduino GSM GPRS 3G Shield 7 1 IEM Internet of Everything Module 3G AnyDATA DTW400 W ATE TELEC
21. disconnectTCP TCP TCP read write GPS getLocation GPS getServices getRSSI getTime _ getTime2 _ getVersion 3G gw3g RE http arduino tweet appspot com Twitter 87 Copyright c 2012 2014 3G alliance All Rights Reserved TABrain 3GSA 3G Shield Alliance 3 shield 2 2 tweet gt http arduino tweet apDsDot Ccom 1 lt http arduino tweet appspot com Dr BCXII TweetLibraryforArduino x F E V A T H x Google Web ta erom cs aucrcecau CX Meee tr gt F E
22. 2 0 30 close Char cVF 192 168 1 1 uint8 t DinaryDatal 0x0 0x1 0x2 0x3 If a3gs connectTCP svr 8080 0 a3gs Write DinaryData siZzeof DinaryData TABrain 3GSA 3G Shie dAlliance 3G Shield V2 0 SIM setDefaultProfile 53 CODyright c 2012 2014 3G allia
23. connectTCP TCP disconnectTCP TCP TCP IP 5 8 ead 2 Write 3 setDefaultProfile getDefaultProfile updateProfile Arduino GSM GPRS 0 Copyright c 2012 2014 3G alliance All Rights Reserved TA Brain 3GSA 3G Shield 7 2 a3gs 3G gt a3gs h ng 39sMAX SMS LENGTH SMSXY SAR EE GET POST _a39sMAX_PROFILE_NUMBER a
24. cc_cSc void handleResponse Void Char resla3gsMAX_RESULT_LENGTH 1 1 Int nbytes while a3gs read res a3gsMAX_RESULT_LENGTH 1 gt 0 Serial Drint reS 48 Copyright c 2012 2014 3G alliance All Rights Reserved TABrain 3GSA 3G Shie dAlliance 3G Shield V2 0 6 TCP IP read 3 int read uint8_t Duffer size_t sz TCP sz OUT buffer 1 sz gt close close
25. gt 37 Copyright c 2012 2014 3G alliance All Rights Reserved TABrain 3GSA 3G Shie dAlliance 3G Shield V2 0 uu 3G TABrain 3G 3G Shield Alliance int getServices int amp status status OUT a3gsSRV_NO 0 a3gsSRV_PS 1 a3gsSRV_CS 2 SMS a3gsSRV_BOTH 3 SMS 0 0 status int status SIM If a3gs getServices status 0
26. If a3qs SetBaudrate 9600 0 Serial DrintIn Baudrate was changed Serlal DrintIn Please reset me now 28 Copyright c 2012 2014 3G alliance All Rights Reserved TA Brain 3GSA 3G Shield Alliance booleaniavailableSMS void SMS true SMS false SMS 3G SMS 1 1 2 SMS char msgla3gsMAX_SMS_LENGTH 11 msnla3gsMAX_MSN_S1ZE 1 1 void loop If a3gs availableSMS Int msgLen sizeof msg Int msnLen sizeof msn a3qgS eadSMS msg msgLen msn msnLen SMS delay 1000 27 CODyright c 2012 2014 3G alliance All Rights Reserved TABrain 3GSA 3G Shield Alliance 3G Shield 7 2 readSMS boolean readSMS char msg int msglength char number Int nlength SMS msg OUT a3gsMAX_SMS_LENGTH msglength msg nu
27. D 79 13 blink_led ino LED P 80 14 on_sms ino SMS P 81 15 sample_TCPIP ino TCP IP P 82 16 storage_sample ino P 84 17 update_profile ino P 85 V IDE Arduino 1 0 5 3G Shield V2 0 1 CheCK FSSI INO gt Arduino 3G Irssi 3G check_rssi ino A3GS sample sketch 1 getRSS1 include lt SoftwareSerial h gt include a3gs h VOId setuD t Serial begin 9600 delay 3000 Wait for Start Serial Monitor Serial printIn Ready Ready Initializing Succeeded RSS1 75 dBm 75 Shutdown Serial print Initializing If a3gs start 0 amp amp a3gs begin
28. a3gqsMAX_HEADER_LENGTH V2 0 0 GET 0 GET 30 resultlength resut 0 3 Copyright c 2012 2014 3G alliance All Rights Reserved TABrain 3GA 3G Shield Alliance 3G Shield V2 0 3 Web httpGET Host server port User Agent BREW Applet 0x01109A49 BREW 05 00 03 01 112 1861 Deviceld 0 Lang en Connection Keep Alive 2 r n Char header Authorization Basic QWxhZGRDD DvcGVuIHNIc2FtZO r nX Myheder XYZ path
29. URL httpGET httpPOST COpyright c 2012 2014 3G alliance All Rights Reserved 32 TABrain 3GSEA 3G Shield Alliance 3 shield 7 3 Web httpposT Int httpDPOST const char server uint16_t DOrt const char path const char header const char body char result int resultlength boolean ssled http https POST server IP port 80 path URL header HTTP a3gsMAX_HEADER_LENGTH body HTTP a3gsMAX_BODY_LENGTH _result OUT resultlength IN OUT result ssled https true http false
30. ON OFF gt a3gsMAX_STORAGE_NUMBER 1 a3gsMAX_STORAGE_NUMBER a3gsMAX_STRORAGE_LENGTH gt 9 CODyright c 2012 2014 3G alliance All Rights TABrain 3GSA Reserved 3G Shield V2 0 8 put O It put int storaqeNum uint8 _t buffer Size lt SZ storageNum 1 a3gsMAX_STORAGE_NUMBER buffer sz 1 a3gsMAX_STORAGE_LENGTH 0 1
31. send_sms ino 10 tweet_sample ino 11 tweet_sample2 ino 12 set_defaultprofile ino 13 blink_led ino LED 14 on_sms ino SMS 15 sample_TCPIP ino TCP IP 3 16 storage_sample ino 17 NN ino EN E 1 a3gs h h 2 tweet 3 Xively 4 5 t F oO Me J CO Ti COCOO OO DO CD MD COO Co Oo OO J NNNNJNNNNN O D OO NO O JA CO UU Copyright c 2012 2014 3G alliance All Rights Reserved TA Brain 3G Shield Alliance p 02 D 05 D 12 D 60 D 64 1 3G D 03 2 3G p 04
32. server IPv4 x x x x char svr arduino cc If a3gs connectTCP svr 80 0 GET Request for google site a3gs write GET HTTP 1 0 n a3gs write HOST a3gs write svr a3gs write n n Get resopnse else Serial DrintIn Error cant connect 45 Copyright c 2012 2014 3G alliance All Rights Reserved TABrain 3GSA 3G Shield Alliance 3G Shield V2 0 6 TCP TIP disconnectTCP int disconnectTCP void TCP 0 0 1 end TCP TCP 2 46 Copyright c 2012 2014 3G alliance All Rights Reserved TABrain 3GSA 3G Shield Alliance 3G Shield V2 0 6 TCP IP read 1 int read void
33. TCP 1 0 OxFF 1 1 close a 2 close Char svr arduinO CC if a3gs connectTCP svr 80 0 GET Request for google site a3gs write GET HTTP 1 0 n a3ds write HOST void handleResponse Void int c while c a3gs read gt 0 c a3gs write svr a3gs write n n
34. http https Arduino 30 Copyright c 2012 2014 3G alliance All Rights Reserved TABrain 3G 3G Shield Alliance 3G Shield V2 0 3 Web httpGET int httpGET const char SerVver uint16_t Dort const char path char result Int resultlength boolean ssled false http https GET server IP port 80 path URL result OUT resultlength result _ssled https true http false vi 1 lt header
35. Ver2 0 2014 12 11 NPO 3G 3GSA 3GShield Alliance TA Brain 3G Shield V2 0 I IEM 3G 39 1 3G I 3G 1 IEM Internet of Everything Module 2 a3gs 3 I 3G Web GPS TCP IP M a3gs 1 a3gs zip a3gs ZiD a3gs vV oi m 1 check rssi ino 3G 2 check_service ino SIM 3 xively_sample ino 4 get_imei ino IEM 5 get location ino 6 get_time ino 1 7 get_time ino 2 8 http_get ino
36. http_get ino A3GS sample sketch 8 httpGET include lt SoftwareSerial h gt include a3gs h Arduino const char server Www arduino cc Const char path Int port 80 Char resla3gsMAX_RESULT_LENGTH 1 Int len Ready Initializing Succeeded httpGET requesting OK lt IDOCTYPE html PUBLIC W3C DTD XHTML 1 0 Transitional EN httD www w3 oOrg TR xhtml1 DTD xhtmlt transitional dtd gt lt html gt lt head gt lt title gt Arduino HomePage lt title gt lt link rel shortcut icon type image x icon href httD arduino Ccc en favicon Shutdown V1 1 https P 30 void setuD 0 Serial begin 9600 delay 3000 Wait for Start Serial Monitor Serial printIn Ready Serial Drint Initializing If a3gs start 0 amp amp a3gs begin 0 Serial DrintlIn Succeeded Serial Drint httpGET requesting len SIZeOf reSs If a3gS httDGET server port path res amp len 0 Serial printIn OK Serial Drint Serial Drint res Serial DrintlIn else Serial printin NG else Serial printlIn Failed Serial printIn Shutdown a3gs end a3gs shutdown voi
37. 09012345678_ digitalWrite ledPin LOW LED off received false a3gs OnSMSReceived ledOn Re set handler SMS SMS 100 9 1 Copyright c 2012 2014 3G alliance All Rights Reserved TA Brain 3GSA 3G Shield V2 0 15 sample_ TCPIP ino TcP rP TCP IP http Arduino title A3GS sample skech 15 connectTCP disconnectTCP read Atitle is extracted from a homepage include lt SoftwareSerial h gt include lt a3gs h gt Const char server Www arduino cc URL to extract a title const int port 80 Char res 2001 boolean getTitle char res void setup 1 Serial Degin 9600 delay 3000 Wait for Start Serial Monitor Serial DrintIn Ready _redo Serial print Initializing If a3gs start 0 amp amp a3gs begin 0 Serial printIn connectTCP can t connect goto _end Send GET request a3gs write GET HTTP 1 0 n a3gs write HOST a3gs write server a3
38. Ready Serial println Failed Initializing Succeeded Packet And Voice Services Serial printinC Shutdown 7 a3gs end Shutdown a3gs shutdown void loop a3gsSRV_NO 0 a3gsSRV_PS 1 a3gsSRV_CS 2 SMS a3gsSRV_BOTH 3 SMS 66 COpyright c 2012 2014 3G alliance All Rights Reserved TABrain 3GSA 3G Shield V2 0 3 XIVely_samDle inO gt xively 1ID PW ID Feed TID Channel API Key ID 3 LM61BIZ AO GND A1
39. libraries drivers k Coor CDshied EEPROM examples Ethernet hardware Firmata ArduinolDE quidcrystal i i Ja Rtc_PcfB563 arduino 1 0 6 windows lib sp _ Servo libraries SoftwareSerial reference SH Btepper tools Wire 61 Copyrightc 2012 2014 3G alliance All Rights Reserved TABrain 3GSA 3G Shield Alliance 3G Shield V2 0 zip 2 a3gs zip a3gs zip 62 example http_get http_get ino p 73 39S CDD a3gs h a3gs keywords txt blink_led blink_led ino p 79 check_rssi check_rssi ino p 64 check_service check_service ino p 65 xively_sample xively_sample ino p 66 get_imei get_imei ino p 69 get_location get_location ino p 70 Qet status get_statuS inO get time get_time ino p 711 get_time2 get_time2 ino p 72 on_sms on_sms ino p 80 sample_TCPIP sample_TCPIP ino p 81 send_sms send_sms ino p 74 Set Daudrate set_Daudrate ino set defaultprofie set_defaultprofie ino p 78
40. OFF a3dS end a3gs shutdown 20 Copyright c 2012 2014 3G alliance All Rights Reserved TABrain 3GA once 1 getrMEr Int getIMEI char imeli 3G IEM IMEI imei IMEI a3gsIMEI_SIZE 0 0 IMEI 3G IEM ID imei a3gsIMET_STIZE 16 Char imella3gsIMEI_SIZE If a3gs begin 0 a3gs getIEI imei 354563020267950 Serial printIn imei IMEI IEM ID Se 9 8 21 CODyright c 2012 2014 3G alliance All Rights Reserved TABrain 3GA once Int setLED boolean SW 3G LED1 sw ON TRUE OFF FALSE 0
41. TABrain 3G i j 3G Shield Alliance OO NO UR RN D 13 D 25 Web D 30 GPS D 36 D 38 TCP IP D 44 D 53 D 57 3G a3gs R 2 0 Arduino GSM GPRS 3G Shield V2 0 CHSiatuS 36 t begin end restart 3G start 3G NUM ub Contro shutdown 3G OFF getIMEIT IMEI setLED LEDI ON OFF UART Arduino GSM GPRS IEM
42. xhh Xhh 16 hh 0xhh headert5bbody 0 TCPIP 34 Copyright c 2012 2014 3G alliance All Rights Reserved _ TABrain 3GSA 3G Shield Alliance 3 shield 7 3 Web tweet Int tweet const char token ee lm msg token _msg a3gsMAX_TWEET_LENGTH _ 0 _ 0 tweet http arduino tweet appspot com
43. ss 8 Channels 2 minutes ego NGrephs Request Log i Peuse test dats 2 minutes ago O 6 heurs API Keys Edit WDelete Auto qenereted De Add Channel Feed ID API Keys Channel 0 1 COpyright c 2012 2014 3G alliance All Rights Reserved TABrain 3GSA 3G Shield Alliance sc Shield 2 4 gt Arduino gt Arduino gt Arduino SIM APN IEM SIM ag3gs arduino 3G shield Arduino 3q 3GIM 3G IoT Module 3 G
44. Ctrl P RE 09 U5B Leonardo 7 Ctrl Comma ArduinoIsP co Laege teck rast CalarLCDShield check seryice EEPROM Nn cosm_sample Firmata 2 get location HaudCystl 9eEHme E Rtc Pcf8563 geEHme2 E SD http_get ErvO ed sms tweet sample H i FI Stepper k Wirg k 63 COpyright c 2012 2014 3G alliance All Rights Reserved TABrain 3GSA 3G Shield Alliance 1 check_rssi ino 3G D 65 2 check_service ino SIM D 66 3 xively_sample ino D 67 4 get_imei ino IEM D 70 5 get_location ino D 71 6 get time ino 1 D 72 7 get time ino 2 D 73 8 http_get ino D 74 9 send_sms ino D 75 10 tweet_sample ino D 76 11 tweet_sample2 ino D 78 12 set defaultprofile ino
45. Ver2 0 Ver2 0 IEM 3C Shield 7 N 4 3G Aruino a3gs Ver1 0 2012 10 1 Ver1 1 2013 1 1 https gt Ver1 2 2013 7 21 lt cosm com xively com a3gs R2 0 read cosm_sample xively_sample gt Ver2 0 2014 8 29 12 11 lt read write read httpGET a3gs R3 0 gt IEM 3G
46. begin 2 int begin char Din uint32_t baudrate Din baudrate 1200 2400 4800 9600 19200 38400 57600 115200 0 1 2 IEM gw3g 3G ON end end SoftwareSerial begin setBaudrate if a3gs begin 0 9600 0 Serial DrintIn Succeeded an Copyright c 2012 2014 3G alliance
47. Serial DrintlIn status gt 39 Copyright c 2012 2014 3G alliance All Rights Reserved TABrain 3GSA 3G Shield Alliance 5 getRsSr It getRSSI Iint amp rssi 3G RSSI rssi OUT dBm lt 1 128 gt 0 0 rssi 0 3G 3G 125dBm 68dBm Int rSSi If a3gs getRSSI rssi 0 Serial DrintIn rssi 40 Copyright c 2012 2014 3G alliance All Rights Reserved TABrain 3GSEA 3G Shield Alliance 3G shield 5 getTrME int getTime char date char time date OUT YYYY MM DD EL time OUT
48. 0 POST 0 POST gt 33 Copyright c 2012 2014 3G alliance All Rights Reserved TABrain 3GA 3G Shield Alliance 3G Shield 7 3 Web _httpPOST Int httpPOST const char server uint16_t Dort const char path const char neader const char body char result int resultlength header Content Length body 30 resultlength result 0 header body t TAB 0x09 CR O0x0d n NL O0x0a
49. HH MM SS 0 0 date time 3G ST 24h if a3dS getTime date time 0 Serial Drint date 2012 12 01 12 10 43 gt 1980 1 5 16 00 00 16 Serial print Serial DrintIn time _ Copyright c 2012 2014 3G alliance All Rights Reserved TABrain 3GSA 3G Shield Alliance 3 shield 5 getTIME2 int getTime2 uint32_t amp seconds
50. SIM NTT 1 IIJ IIJmio 2 IIJ mobile 3 b mobile 11 DTI ServersMan 15 void setuD t A3GS sample skech 12 setDefaultProfile and getDefaultProfile Serial begin 9600 delay 3000 Wait for Start Serial Monitor include lt SoftwareSerial h gt Serial DrintIn Ready include a3gs h Serial print Initializing If a3gs start 0 amp amp a3gs begin 0 Serial Drintln Succeeded Int no If a3gs getDefaultProfile amp no 0 Serial Drint Default Profile Number is NMM If no 1 gt 2 no EE If a3gs setDefaultProfile no 0 Serial print Set Default Profile Number as Serial DrintIn no SIM MVNO SIM Ce HinHn rFalled 3G SIM
51. 1970 1 1 UNIX seconds OUT 0 0 date time getTime 2038 2038 ISO 1970 1 1 C 32 2038 1 19 3 14 7 UTC int _ Copyright c 2012 2014 3G alliance All Rights Reserved TABrain 3CSA 3G Shield Alliance begin 3G
52. A3GS sample sketch 5 getLocation include lt SoftwareSerial h gt include a3gs h void setuD Serial Degin 9600 delay 3000 Wait for start serial monitor Serial printIn Ready Serial Drint Initializing If a3gs start 0 amp amp a3gs Degin 0 Serial DrintlIn Succeeded It maybe takes several minutes char lat 15 Ing 151 If a3gs getLocation a3gsMPBASED lat Ing 0 Serial print OK Serial print lat Serial print Serial printIn Ing else Serial printIn 1 dont know this location else Serial DrintIn Failed Serial DrintIn Shutdown a3gs end a3gs shutdown void loop 4 GPS EE ee Ready 2 https maps go Dr mM BCX 35 64153135 139 60361 x F E V A T H x Google 35 64153135 139 6036148 takamoto Play YouTube Google Gmail
53. gt Qualcomm QSC6240 gt 21mm x 22mm x 4 5mm 4 5g DTW400 W 100 DTW400 W UMTS 650 1900 2100 MHz EDGE GPRS GSM S50 900 1800 1900 MHz GPS StandaloneGPS AGPS p 6 Copyright C 2012 2014 3G alliance All Rights Reserved TABrain 3GA 3G Shield Alliance 3G Shield V2 0 2 a3gs 3G 1 qetStatus 3G begin end restart 3G start 3G ON Contro Shutdown 3G OFF getlMEI IMEI ID setLED LED1 ON OFF setBaudrate UART 4800bps setAirplaneMode ON OFF _ SendSMS SMS cr availableSMS SMS SMS x eadSMS SMS onSMSReceived SMS Arduino GSM GPR
54. 54 Copyright c 2012 2014 3G alliance All Rights Reserved TABrain 3GSA 3G Shie dAlliance 3G shield 7 7 getDefaultProfile int getDefaultProfile int profileNum profileNum OUT 1Ca3gsMAX_PROFILE_NUMBER 0 0 Lc It pfNum If a3gs getDefaultProfile amp pfNum 0 Serial Drint Default Profile No is Switch pfNum 1 case 1 case 11 Serial DrintIn bmobile CaSe 15 Serial DrintlIn DTI ServerMan default Serial DrintIn docomo mopera Serial DrintIn unknown profile CaSe 2 Serial printIn IIJmio case 3 Serial printIn IIJmobile 55 Copyright c 2012 2014 3G alliance All Rights Reserved TABrain 3GSA 3G Shield Alliance 3G Shield 7 7 _updateProfile int updateProfile uint8_t encryptedProfile Int sz encryptedProfile IN sz IN 0 0
55. 80 Copyright c 2012 2014 3G alliance All Rights Reserved TA Brain 3GSA 3G Shield V2 0 14 On SMS INO SMS SMS lenOn NO loop void setuD A3GS sample skech 14 onSMSReceived Serial begin 9600 delay 3000 Wait for Start Serial Monitor Serial DrintIn Ready DinMode ledPin OUTPUT digitalWrite ledPin LOW LED off Serial Drint Initializing If a3gs start 0 amp amp a3gs Degin 0 include lt SoftwareSerial h gt include a3gs h Const int ledPin 13 volatile boolean received false char msgla3gsMAX_SMS_LENGTH 1 1 msnla3gsMAX_MSN_LENGTH 1 SMS SOONOU ME Serial printin Failed digitalWrite ledPin HIGH LED on FeCeIVed true void looD If received a Serial Drintln SMS was received If a3gS eadSMS msg siZeof msg msn sizeof msn 0 Serial Drint MSN Ready Serial DrintIn msn Initializing Succeeded Serial print SMS EE SMS was received Serial printIn msg
56. TIIJ SIM IIJmio i SIM i NTT SIM Serial printIn Failed NPO 3G IIJmio void loop 79 Copyright c 2012 2014 3G alliance All Rights Reserved TA Brain 3GSA 3G Shield V2 0 13 blink led INO LED gt 3G LED1 ON OFF define INTERVAL 1000 BlinK interval A3GS sample skech 13 setLED void setuD 1 include lt SoftwareSerial h gt include a3gs h Serial Degin 9600 delay 3000 Wait for Start Serial Monitor Serial DrintlIn Ready _TetFrV Serial Drint Initializing If a3gS Start 0 amp amp a3gs Degin 0 Serial DrintlIn Succeeded else Serial DrintlIn Failed Serial Drintln Shutdown a3dS end SA a3gs shutdown delay 30000 goto _retry Repeat Serial printIn Blinking void loop a3gs setLED true delay INTERVAL LED On OffL a3gs setLED false delay INTERVAL
57. V A T H x Google dE gt A EE EE EE ESTE EE EE EE TE EE EE EE TE EE EE EE EE EE Step 1 Get a token to post a message using OAuth Step 2 Add some Libraries to your Arduino IDE Authorize Arduino to use Po your account K http arduino twe D gt BEX F E V A T H x Google Step 3 Run a sample sketch to tweetl Notice The library uses this site as a proxy server for OAuth stu es Please avoid sending more than 1 request per minute Your Token 4S Twitter seems to re ect repeated tweets with the same col 0 S 55 1136700536 mDsv6n3pJO mkgiCMPGCqBXUEPI See Arduino Playground ID PW
58. 0 LED1 LED 3G If aFlag a3gs SetLED TRUE led1 status TRUE Serial DrintIn LED1 js turned on 22 CODyright c 2012 2014 3G alliance All Rights Reserved TABrain 3GA once 3C Shield V2 0 setBaudrate int setBaudrate int baudrate Arduino 3G UART baudrate 2400 4800 9600 19200 38400 57600 1 OM 3G 4800 bps IEM
59. handleResponse else Serial DrintIn Error cant connect 3G Shield Alliance 3G Shield V2 0 6 TCP 1P read e 2 It read char result int resultlength TCP 5 resultlengoth result OUT resultlength 1 resultlength 1 0 0 close close result 0
60. Twitter Twitter hr Tlieh hh har ee sm 11 gt KT a Twitter Twitter 88 Copyright c 2012 2014 3G alliance All Rights Reserved TABrain 3GSEA 3G Shield Alliance 3G Shield 7 3 xively xively Com TD https xively com DMECl Sxively Public Cloud for gt F E V A T H xively DEVELOP MANAGE DEVELOPER CENTER Q cs x NEWS Xively and ARM announce strategic collaboration release Jumpstart Kit ac dd Device Xively F E V A T H a lt gt Add Device L J The Internet of Things is Open for BusineSS LL ES https xively com users takamoto develop
61. gad takamoto takayori W TE CH 35 64153135 139 6036148 nT 5 RE PP UFJ Google NE 2 500 gt 2012 ZENRIN EF N S V I C T A IE9 B IE9 M x RR 100 _Copyright c 2012 2014 3G alliance AI Rights Basened TA Brain 3GSA 3G Shield Alliance 3G Shield V2 0 6 det time Ino 1 gt IEM get_time ino A3GS sample sketch 6 getTime include lt SoftwareSerial h gt
62. Arduino 3G a3gsMAX_STORAGE_LENGTH 0 _ Copyright c 2012 2014 3G alliance All Rights Reserved TABrain 3GSA 3G Shie dAlliance 3G shield 7 8 get 59 Copyright c 2012 2014 3G alliance All Rights Reserved TA Brain 3GSA 1 a3gs ZID D 61 2 a3gs zip D 62 3 a3gs D 63 IV a3gs 3G Shield 7 1 a3gs zip gt NPO 3G a ZiD CPP aa KB OG BKB 649 2KB 7296 gt zip Arduino IDE IIibraries
63. include a3gs h void setuD t Serial Degin 9600 delay 3000 Wait for Start Serial Monitor Serial DrintIn Ready Serial Drint Initializing If a3gs start 0 amp amp a3gs Degin 0 Serial DrintIn Succeeded char datel a3gsDATE_SIZE timela3gsTIME_SIZE If a3gS getTime date time 0 Serial Drint date Serial print Serial DrintIn time else Serial printIn Failed Serial printIn Shutdown a3gs end a3gs shutdown void loop 72 Ready Initializing Succeeded 2012 10 05 07 29 00 Shutdown IEM 1980 1 5 16 00 16 COpyright c 2012 2014 3G alliance All Rights Reserved TA Brain 3GSA 3G Shield V2 0 7 et _tIme2 InO 2 IEM 1970 1 1 get_time2
64. 0 Serial printIn Succeeded Int rssi Serial print RSSI Serial print rssi Serial Drintln dBm else Serial printIn Failed Serial printlIn Shutdown a3gS end 70 a3gs shutdown 0 void looD t 65 Copyright c 2012 2014 3G alliance All Rights Reserved TABrain 3GSA 3G Shield Alliance 3G Shield V2 0 2 CheCK SeFVICG ITO SIM gt SIM check_sercvce ino A3GS sample sketch 2 getServices If a3gS Start 0 amp amp a3gs Degin 0 include lt SoftwareSerial h gt Serial DrintIn Succeeded include a3gs h int rstatus If a3gs getServices status 0 VOId setuD Switch status case a3gsSRV_NO Serial begin 9600 Serial DrintIn No Service break delay 3000 Wait for Start Serial Monitor Case a3gsSRV_PS Serial Drintln Ready Serial DrintlIn Packet Service Only Dreak case a3gsSRV_CS Serial print Initializing Serial DrintlIn Voice Service Only break also SMS case a3gsSRV_BOTH Serial DrintIn Packet And Voice Services break default breakj
65. 9600 delay 3000 Wait for Start Serial Monitor Serial printIn Ready If prevLx SDrintf message 3GShield Sensor Value d Ix DrevLx x Serial Drint tweet requesting Serial Drint Ix Serial Drint Initializing If a3gs start 0 amp amp a3gs Degin 0 Serial DrintlIn Succeeded Serial Drint tweet requesting If a3gS tweet token messade 0 Serial print Serial printIin OKI If a3gs tweet token message 0 else Serial printIn OK Serial printlIn NG 7 else Serial Drintln NG else Serial printIn Failed delay 30000 30 76 Copyright c 2012 2014 3G alliance All Rights Reserved TABrain 3GSA 3G Shield V2 0 10 tweet ll ITO CdS 30 http twansform a Em me 9 5 3 i 3P 1 K 3GShield Serisor Value 351 F E V A _1 Initializing tweet requesting lx 432tweet lx Btweet lx 832tweet lx B59twe
66. I IEM 3G sc Shield 2 1 3G Arduino 3G IEM FOMA NTTdocomo MVNO IIJmio DTI SIM USB USB 8 Arduino a3gs Web HTTP HTTPS GET POST TCP TIP connect disconnect read write GPS GPS Standalone AGPS SMS send receive check onReceived APN IMEI LED 3G a3gs Arduino SoftwareSerial INT0 0 SMS
67. Pr ac Development Devices F E V A T H xivel 4 DEVELOP MANAGE DEVELOPER CENTER lt gt Development Devices Pa mn Privete Device Public Device w Add Device 10096 Add Device wl 100 Start connecting devices Take the Xively Test Drive Connect an mbed Connect an Electric Imp Connect an Arduino Connect a Raspbeorry Pi Add Device 80 Copyright c 2012 2014 3G alliance All Rights Reserved TABrain 3GA 3G Shield Alliance 3G Shield 7 3 xively 8 htms weyom F E V A T H eo DEVELOP MANAGE DEVELOPER CENTER Pr aCIl DevieName Xxivety eR re Pd A Gs xively com dave z9MZZB22 7 DevieName Activeted Deectheste F E V A T a gt my 0 2 xively A DEVELOP MANAGE DEVELOPER CENTE
68. Vout A2 Vs LM61BIZ 3G 67 COpyright c 2012 2014 3G alliance All Rights Reserved TA Brain 3GSA 3G Shield V2 0 3 xively_sample ino cosm_sample ino A3GS sample httpDPOST Use xively com Cloud SerVvice include lt SoftwareSerial h gt include a3gs h define LM61BIZ Pin 1 LM61BIZ output pin A1 _ 2 Feed ID Channel Const char server api xively com const char path v2 feeds FEED ID datastreams CHANNEL _ method put Const char header X ADiKey APT Kevs r nContent Type text csV r n Int port a3gsDEFAULT_PORT Feed ID CHANNEL API Keys cosm com 3 Int getTermp Void t int mV analogRead LM61BIZ_Pin 4 88 return mV 600 char res 501 Char body 201 int len void setup DinMode A0 OUTPUT AO LM61BIZ GND digitalWrite A0 LOW DinMode A2 OUTPUT A2 LM61BIZ VS digitalWrite A2 HIGH Serial begin 9600 delay 3000 Wait for Start Serial Monitor Serial printIn gt Ready Serial print Initializing If a3
69. gt APN Access Point Name MNVO GPS Global Positioning System 2 Km GPS gw3g GateWay to 3G IEM BrewMP IDE IEM TInternet of Everything Module IMEI TInternational Mobile Subscriber Identity IEM IMEI 3 G IEM gt MVNO Mobile Virtual Network Operator PHS
70. ino A3GS sample sketch 7 getTime2 include lt SoftwareSerial h gt include a3gs h void setuD 1 Serial Degin 9600 delay 3000 Wait for Start Serial Monitor Serial printIn Ready Serial print Initializing If a3gs start 0 amp amp a3gs begin 0 Serial printIn Succeeded unit32 t seconds If a3gs getTime2 seconds 0 Serial Drint seconds Serial printIn Sec else Serial printIn Failed Serial DrintIn Shutdown a3gS end a39gS Shutdown void loop Ready Initializing Succeeded 1344179843 Sec Shutdown IEM 1980 1 5 16 00 16 73 COpyright c 2012 2014 3G alliance All Rights Reserved TA Brain 3GSA 3G Shield V2 0 8 httD_get inOo google
71. tweet_sample tweet_sample ino p 75 storage_sample storage_sample ino p 84 update_profile update_profile ino p 85 a3gs a3gs EUI SIM gt IEM Arduino V LED xively IEM ID getStatus 70 1 1 httpGET SMS TCP IP
72. 2 2014 3G alliance All Rights Reserved TABrain 3GSA 3G Shield Alliance 3G Shield V2 0 16 storage_sample Ino ASCII A3GS sample sketch put get include lt SoftwareSerial h gt include a3gs h define SNO 3 uint8_t datal Ox00 Ox01 0x02 0x03 0x04 0x05 0x06 Ox07 0x08 0x09 0x0a 0xOb 0x0c 0x0d 0x0e 0x0f A 7 RY ID Ul IN O U IN OO 2 9 4 2 6 a Ko 9 0 5 uint8 t bufferl sizeof data void setuD Serial Degin 9600 delay 3000 Wait for start serial monitor Serial DrintlIn Ready Serial print Initializing If a3gs start 0 amp amp a3gs begin 0 Serial printIn Succeeded data If sz gt 0 for inti 0O 1 lt SZ Serial print buffer i HEX Serial print Serial printIn else Serial printIn Can t get data else Serial printIn Can t put data else Serial printIn Failed Serial printIn Shutdown a3gs end a3gs shutdown void loo
73. 2012 10 1 1 gt 35 Copyright c 2012 2014 3G alliance All Rights Reserved TABrain 3GSA 3G Shield Alliance 3G Shield 2 4 GPS IEM GPS 3G a3gsMPBASED GPS GPS 3G a3gsMPASSISTED 3G a3gsMPSTANDALONE GPS IIJmio 3G GPS a3gsMPSTANDALONE SIM
74. 4 3G alliance All Rights Reserved TA Brain 3GSA 1 2 3 4 5 a3gs h tweet xively P 6 P 88 P92 9S 3G Shield V2 0 1 a3gs h Arduino GSM GPRS getStatus 3G begin end restart 3G gt start 3G ON ES shutdown _3G OFF getIMETI IMEI _ setBaudrate setLED1 LED1 ON OFF setAirplaneMode ON OFF SendSMS SMS _ availableSMS _ SMS SMS readSMS _ SMS onSMSReceived SMS 9 httpGET GET https NM EMMA httpPOST POST tweet Twitter ConnectTCP TCP
75. All Rights Reserved TABrain 3GSA 3G Shield Alliance 1 end It end VOid 0 0 SoftwareSerial end 17 Copyright c 2012 2014 3G alliance All Rights Reserved TABrain 3CSA once int restart char pin 3G Din 0 0 IEM 10 IEM 40 end begin If a3gs restart 0 Serial Drintln Restarting a3dS end If a3gS Degin 0 Serial
76. Drintln Tm OK 7 else Serial Drintln Restart Failed 18 Copyright c 2012 2014 3G alliance All Rights Reserved TABrain 3GSA 3G Shield Alliance Int start char Din 3G ON Din 0 ON 0 ON 40 3G beqin if a3gs start 0 amp amp a3gs Degin Serial printin Succeeded else Serial Drintln Restart Failed 19 Copyright c 2012 2014 3G alliance All Rights Reserved TABrain 3GSEA 3G Shield Alliance int shutdown void 3G OFF 15 ON start 3G 0 OFF 3 0
77. R H Feed UF LDS Cs et 1 API Endpoint httDS IVEGIy COTTVV ee Activation Code Deectivate DevieName 4 Activated cerm about the Deveiop stepe Deploy py Public Device Feed ID 1 Product ID Feed URL https7 xively comyfeeds 1776695104 Request Log BW Peuse Product Secret 4 1 API Endpolint https7apl_xively cory2 feeds 1776695104 Add Channels to your Device Serial Numbe Activation Code bout op SGO Channels 2 minutes ago Grephs Request Log Hl Pauss Channels API Keys Location Auto qenerated DevieName device key for feed API Keys Cance Auto generated DevieName device key for feed 90 Copyright c 2012 2014 3G alliance All Rights Reserved TABrain 3GSA 3G Shield Alliance 3G Shield V2 0 3 xively Feed ID Chanel API Keys C O 2 reps xively com develop ykFez9MZZB27ZRPxwoYAqa F E V A T H El xively A DEVELOP MANAGE DEVELOPER CENTER DevieName Activated Deectivate Deploy gt Public Device Feed ID Product ID Feed URL httpsJ xively comf oduct Secret 1 API Endpoint UtDS GDI XIVS a 6
78. S SIM 7 COpyright c 2012 2014 3G alliance All Rights Reserved TA Brain 3GSA 3G shield 2 a3gs 3G httDGET GET http https Web httpPOST POST tweet Twitter GSP getLocation GPS getServices qetRSS1 tTime I getTime2 getVersion IS a put get Arduino GSM GPRS http arduino tweet appspot com Q Copyright c 2012 2014 3G alliance All Rights Reserved TA Brain 3GSA 3G shield 7 2 a3gs 3G
79. d loop 74 Copyright c 2012 2014 3G alliance All Rights Reserved TABrain 3GSA 3G Shield V2 0 send Sn1S ITO gt A3GS sample sketch 9 sendSMS Japanease Imessage VeLrSIOn PLEASE REPLACE msn WITH CORRECT TELEPHONE NUMBER BEFORE UPLOAD THIS SKETCH include lt SoftwareSerial h gt include a3gs h SMS char msn 09012345678T RE VO DO char msd TEST MESSAGE HELLO ASCII String char msg 0x53 0x30 0x8c 0x30 0x6f 0x30 0xc6 0x30 Oxb9 0x30 Oxc8 0x30 0x67 0x30 0x59 0x30 Ox00 Japanease written in UNICODE UNICODE a setup Ready Serial begin 9600 Initializing Succeeded delay 3000 Wait for Start Serial Monitor Serial printIn Ready SMS Sending OK Shutdown Serial print Initializing 1 If a3gs start 0 amp amp a3gs Degin 0 SMS Serial Drintln Succeeded Serial print SMS Sending RY If a3gs sendSMS msn msg a3gsCS_UNICODE Serial Drintln OKI else 1 SMS SIM a
80. et lx weet lx A472tweet lx 351tweet F E successeded NG requesting 432 requesting 428 requesting 832 requesting 559 requesting 4 requesting 472 requesting 351 9600 bps A V A T H V 1 a3gsa i 3GShield Sensor Value 351 a3933 sio 3GShieid Sensor Value 47 a3gsa 3GShieid Sensor Value 454 33933 3GShieid Sensor Value 65 Google Ws gt a3gdsa aig5a 3Gshield Sensor value 472 atshield Sensor HH ie EhSnr 3GShield Sensor 1 499Sa Ga305a 3GSShield Sensnr K 35hIEI Sensor Value 454 atshield Sensor atshield Sensnr SB RR a EhSnr na3g ashield Sensor K 3GShield Sensor Value 55 I GE Twitter a3gsa Ga3gsa K 3GShield Sensor Value 832 1 a 3 K GShIEId Sensor Value 432 Twtter CODyright c 2012 2014 3G alliance All Rights Reserved TABrain 3G 3G Shield Alliance 3G Shield V2 0 11 tweet_sample2 Ino gt tweet_sample
81. gs start 0 amp amp a3gs begin 0 Serial printIn Succeeded else Serial DrintIn Failed while 1 STOP void loop t static int Count 1 Serial print gt httpPOST requesting Serial printin Count DEC len SIZeOf reSs Int temp getTemD SDrintf body 96d 96d temp 10 temp 10 If a3gS httDPOST server port path header body res amp len true 0 Serial Drintln Succeeded Serial print gt Response Serial print res Serial printIn else Serial printIn Failed delay 30000 take an interval httpPOST TABrain 3GSA 3G Shield V2 0 3 XIVely_sam1Dle inO xively_sample DevieName Xively COM4 Response gt httpPUST reduesting TU4 Ucceeded 0 xively e MANAGE DEVELOPER CENTER Q by LogMein gt Response shttpFUST requesting TO5 nMCEEBBa Channels Lastupdated an hourago MN Graphs gt Raspnnsa shttpPOST requesting 1H 5 1 SMCECBBHB test data tupdated an hour ago sResponse shttpPUST reduesting TUI SMCEBBHg gt Raspnnse gt httpPUST rmmumsting TU SMCECBBHB gt Raspnnsg shttpPUOTT reqduesting TH nMCEEBBa Location Metadata gt Response Jas sht
82. gs write n n Receive response do IN MDVEeS IT nDytes a3gs read res sizeof res 1 lt 0 Serialprintmread iailed break res nbytes 0 while getTitle res else Serial printIn Failed Serial DrintlIn Shutdown 7 a3gs end a3gs shutdown Title delay 15000 RE goto _redo Repeat _end while 1 void loop 82 COpyright c 2012 2014 3G alliance All Rights Reserved TA Brain 3GSA 3G Shield V2 0 15 sample_ TCPIP ino TcP rP boolean getTitle char p Char title Ready Initializing Succeeded WWW arduino CC Page title is Arduino while p 0 If D Continue skip not tag If strncmD const char p title gt 6 continue skip not title tag 1 title tag found D 6 title p while p 0 amp amp p l lt P p 0 Serial print server Serial print Page title is Serial Drint title Serial Drintln NIME HomePage Shutdown lt title gt lt title gt return false so Copyright c 201
83. mber OUT SMS nlength number a3gsMAX_MSN_LENGTH true false SMS SMS msg number 0 ASCII UNICODE sendSMS 29 Copyright c 2012 2014 3G alliance All Rights Reserved TABrain 3GSA 3G Shield Alliance FE 9 _SMS handler 0 _ 0 Arduino D3 INT0 LOW handler handler 3G
84. nce All Rights TABrain 3GSA Reserved 3G Shield Alliance 3C Shield V2 0 7 setDefaultProfile _ jint setDefaultProfile int profileNum profileNum 1Ca3gsMAX_PROFILE_NUMBER 0 0 IEM ROM OFF IEM 3G Ver 1 0 Ver1 1 No set_defaultprofile ino no Ver1 0 No 1 docomo mopera net No 2 II jijimio imio jp Ver1 1 No 3 II mobile iijjmobile jp No 11 bmobile bmobile ne jp No 15 DTI ServerMan ynmbl net
85. p 94 COpyright c 2012 2014 3G alliance All Rights Reserved TA Brain 3GSA 3G Shield V2 0 17 uDdate_DrOfIIe ITO gt No 15 ep imio Serial print Initializing If a3qs Start 0 amp amp a3qgs begin A3GS sample sketch updateProfile CSTGSSS3SHRT gint include lt SoftwareSerial h gt CN printIn Failed Include lt a3gs h gt Serial printIn Shutdown uint8_t ep x46 xD9 x35 x52 x22 x47 xD1 xAC x3E x84 xFD x8 x1 3 xD7 x7A x4D x1B xAB x42 x5F xFE xFF xA3 xAA x14 x fi 4E xA1 x68 xX8D xX5F X3F X3A xD1 x5D X11 x8 xF4 xF7 Xx 6 printin updateProfile ok 37 x4C xBB x95 xA4 xD 7 x2B x8 x81 x9F xF8 x63 x9E x nm nr 60 x59 x5A x44 x69 x91 x31 1 Serial DrintlIn updateProfile error Original profile data is iijmio jp as No 15 void setup loop Serial Degin 9600 7 delay 3000 Wait for Start Serial Monitor Serial println Ready 85 Copyright c 2012 201
86. tpPUST requesting TO ee SMCCBBHp Creator gt Rashnnsg Ca Ehns 69 Copyright c 2012 2014 3G alliance All Rights Reserved TABrain 3GSA 3G Shield Alliance 3G Shield V2 0 get_ Imerl InO IEM gt IEM ID IMEI get_time ino A3GS sample sketch 4 getIMEI include lt SoftwareSerial h gt include a3gs h void setuD Serial begin 9600 delay 3000 Wait for Start Serial Monitor Serial DrintIn Ready Serial print Initializing If a3gs start 0 amp amp a3gs begin 0 Serial Drintln Succeeded Char imell a3gsIMEI_S1ZE if a3gs getIMEI imei 0 Serial print IMEI IMET Serial DrintIn imeli else Serial DrintIn Failed SerIal DrintlIn Shutdown a3gs end a3gs shutdown void loop Ready NSR IMEI 70 COpyright c 2012 2014 3G alliance All Rights Reserved TA Brain 3GSA 3G Shield V2 0 5 get_location Ino GPS
Download Pdf Manuals
Related Search
Related Contents
AirNav ShipTrax Help Difrnce DIT8070 tablet bosch_lavastoviglie_.. EN USER INSTRUCTIONS AND SAFETY - Nolan-USA Argosoft Mail Server Pro User Guide SÚÊÞ°™P`–`ð GMS-1210 Philips HP4997/15 User's Manual Copyright © All rights reserved.
Failed to retrieve file