Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
Tags
- OpenSSL
- NB-IoT
- LoRa
- 오픈 하우스
- WizFi250
- MQTT
- WIZwiki-W7500
- PicoC
- SSL Server
- WiFi
- 안드로이드
- AT+FSOCK
- AT+MEVTFORM
- Neul
- cloud
- ESP8266
- micropython
- SKT
- SerialPassthrough
- IoTMakers
- W7500
- IOT
- ThingPlug
- WizFi210
- Gainspan
- script
- WizFi310
- KT
- Cat M1
- C Script
Archives
- Today
- Total
IoT Wireless
GCM(Google Cloud Messaging for Android) with WizFi250 본문
(This post is for Handkie Mak of WIZnet.HK.)
GCM(Google Cloud Messaging for Android) Server Overview
http://developer.android.com/google/gcm/index.html
Google Developers Console(Project Management, API Key, Project ID)
https://console.developers.google.com/
GCM Sender(Android App for GCM test)
https://play.google.com/store/apps/details?id=com.eastandroid.gcmsender
Raw Data File to send to GCM Server (738 Byte)
POST /gcm/send HTTP/1.1 Host: android.googleapis.com User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:20.0) Gecko/20100101 Firefox/20.0 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 Accept-Language: null Content-Type: application/json; charset=UTF-8 Authorization: key=AIzaSyAl0UKsZZn5kllSlYBH38GI3********** Content-Length: 311 Connection: keep-alive Pragma: no-cache Cache-Control: no-cache { "data": { "from_name": "WizFi250", "message": "Hello Android!!!!!!!!!" }, "registration_ids" : ["APA91bE-SEttXIYhDZtCTZ6ImwVfo711X_VZ__g3UjpTOAz**********ylxUTDdHWHZd5V80WtQZ8vOnIZuAbnKRJkWUYTY2O8lvUaEIW0U8nRy73oQdJpxj4LI4FhIehAS6svJ3sQOKpfqBh9Xp5l8T7au4kPKpmPQHSkRszmY7**********"] }WizFi250 AT Command Log
at+fdns=android.googleapis.com,3000 74.125.130.95 [OK] AT+SCON=O,TCN,74.125.130.95,80,,0 [OK] [CONNECT 0] at+ssend=0,,,738 [0,,,738] [OK] {0,74.125.130.95,80,497}HTTP/1.1 200 OK Content-Type: application/json; charset=UTF-8 Date: Thu, 21 Aug 2014 00:17:08 GMT Expires: Thu, 21 Aug 2014 00:17:08 GMT Cache-Control: private, max-age=0 X-Content-Type-Options: nosniff X-Frame-Options: SAMEORIGIN X-XSS-Protection: 1; mode=block Server: GSE Alternate-Protocol: 80:quic Transfer-Encoding: chunked 8f {"multicast_id":518793381**********,"success":1,"failure":0,"canonical_ids":0,"results":[{"message_id":"0:1408580228828675%492cdc**********"}]} 0 at+smgmt=all [DISCONNECT 0] [OK]YouTube Demo
'WiFi module' 카테고리의 다른 글
WizFi250 FTP Client File Upload (0) | 2014.11.14 |
---|---|
Configuration WizFi250 using Smartphone (0) | 2014.11.14 |
WizFi250 F/W Manual Upgrade (0) | 2014.11.14 |
AT Command Host Source Sample (0) | 2014.11.14 |
Xively Demo with WizFi250 (0) | 2014.11.14 |