Skip to content

Instantly share code, notes, and snippets.

@SibeeshVenu
Created January 11, 2019 13:32
Show Gist options
  • Save SibeeshVenu/3351fe05a571eefba9d6b4821abb3aa4 to your computer and use it in GitHub Desktop.
Save SibeeshVenu/3351fe05a571eefba9d6b4821abb3aa4 to your computer and use it in GitHub Desktop.
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license.
// Interval time(ms) for sending message to IoT Hub
#define INTERVAL 5000
#define MESSAGE_MAX_LEN 256
#define TEMPERATURE_ALERT 30
#define DIRECT_METHOD_NAME "message"
// How many messages get sent to the hub before user has to press A to continue
#define MESSAGE_SEND_COUNT_LIMIT 350
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment