Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated C samples to use MQTT by default #3

Closed
wants to merge 1 commit into from
Closed

Updated C samples to use MQTT by default #3

wants to merge 1 commit into from

Conversation

Ilias-Tsigkogiannis
Copy link
Contributor

No description provided.

#ifdef USE_HTTP
#include "iothubtransporthttp.h"
#endif
#ifdef USE_AMQP
#include "iothubtransportamqp.h"
#endif
#ifdef USE_MQTT
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

USE_HTTP is set in CMAKELIST and you need to change it to USE_MQTT if you want protocols to default to MQTT.

Copy link
Member

@prmathur-microsoft prmathur-microsoft left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you please review my comment.

@Ilias-Tsigkogiannis
Copy link
Contributor Author

Closing this pull request. I will provide a new one to add Priyanka's comments.

massand added a commit that referenced this pull request Jan 30, 2019
Build fixes and minor bug fix for twin reported property type
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants