Sending Push notifications to Arduino

0 votes
Could anyone tell me if there is anything like GCM for Arduino?

I'm working on a project where I need to send push notifications to the arduino connected with WiFi shield.

Any idea how could I do that?

Thanks.
Mar 5 in IoT (Internet of Things) by Shubham
• 13,250 points
51 views

1 answer to this question.

0 votes

Include Parse library to make sure the following code works.

/setup function/

void setup() {

  Bridge.begin();
  Serial.begin(9600);

  while (!Serial);

  Parse.begin("***E0uUjQkMa7nj5D5BALvzegzfyVNSG22BD2FJ", "umPSsggp5JgMFmSHfloewW5oixlM5ibt9LBS***");
    // In this example, we associate this device with a pre-generated installation

   Parse.getInstallationId();
   Parse.startPushService();

}//setup function block


void loop() {

if (Parse.pushAvailable()) {

    Serial.println("Start push");

    ParsePush push = Parse.nextPush();
    // Print whole JSON body

    String message = push.getJSONBody();
    // Serial.print("New push message size: ");
    //  Serial.println(message.length());
    // Serial.print("New push message content: ");
    Serial.println(message);
    // Do something with the push
    // IMPORTANT, close your push message
    push.close();
    checkStatus(message);   
    Serial.println("End Push");


  }//if push notification block

} //loop 

answered Mar 5 by Upasana
• 8,490 points

Related Questions In IoT (Internet of Things)

0 votes
1 answer

Azure - What service to use for Arduino data (iot)

That's because the two services do completely ...READ MORE

answered Aug 1, 2018 in IoT (Internet of Things) by anonymous2
• 4,260 points
70 views
0 votes
1 answer

How to send a data from arduino uno to a webpage through esp8266 wifi module?

You are missing a few \r\n and the length ...READ MORE

answered Aug 9, 2018 in IoT (Internet of Things) by anonymous2
• 4,260 points
1,175 views
0 votes
1 answer

Transfer Data from Arduino Board to SQL Server

If you want to send it to ...READ MORE

answered Aug 29, 2018 in IoT (Internet of Things) by anonymous2
• 4,260 points
589 views
0 votes
1 answer

Using Google Maps to track GPS enabled Arduino Board

What is the GPS Module which you ...READ MORE

answered Sep 6, 2018 in IoT (Internet of Things) by anonymous2
• 4,260 points
477 views
0 votes
1 answer
0 votes
1 answer

Suggest Implementation method for Smart Parking Points

They are different things. Raspberry PI is ...READ MORE

answered Aug 24, 2018 in IoT (Internet of Things) by anonymous2
• 4,260 points
19 views
0 votes
1 answer

OMA LWM2M communication with Arduino

You'll have to understand that an Arduino ...READ MORE

answered Aug 27, 2018 in IoT (Internet of Things) by nirvana
• 3,060 points
183 views
0 votes
1 answer

MQTT server sending a message to a client declaring unauthorization

It would return a CONNACK packet with ...READ MORE

answered Apr 24 in IoT (Internet of Things) by Upasana
• 8,490 points
28 views
0 votes
1 answer