gloveboxes / Connecting-Particle-Photon-to-Azure-IoT-Hub

Connect Particle Argon or Photon directly to Azure IoT Hub and enjoy device to cloud, cloud to device messaging and direct method support
MIT License
9 stars 1 forks source link

Unable to send message; connection to iot hub established #3

Open OliverMartini opened 4 years ago

OliverMartini commented 4 years ago

Hi,

When I try to follow along the demo, the message is not sent to Azure IoT Hub.

//loop returns true if connected to Azure IoT Hub
if (hub.loop())
{
  if (count++ % 25 == 0)
  {
    Log.info("  hub.publish, msgId [%u]", msgId);
    hub.publish(telemetryToJson());
    Particle.publish("keezer-metric", telemetryToJson(), TTL, PRIVATE);
  }
}

I am using a particle photon with the latest OS 1.5.2. Am I missing something?

Willybood commented 4 years ago

I've started seeing something similar as of a few days ago. I've logged a support ticket with Azure in case it's a change on their end.