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)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | 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
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 29 30 | 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] |