Published private events from API


#1

Are events published with Particle API JS received by Particle.subsribe on a device using the MY_DEVICES flag?

In other words, if I send the following from my JS API:

particle.publishEvent( {name: 'Graph/' + strPart, data: msg.data, auth: token, isPrivate: True} );`

Will my Argon respond with this?

void setup() { 
  Particle.subscribe("Graph", parseGraph, MY_DEVICES); 
}
void parseGraph(const char *event, const char *data) {
  Serial.println(data);
}