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

Certification guide and device-specific instructions. #857

Merged
merged 5 commits into from
Oct 5, 2016
Merged

Certification guide and device-specific instructions. #857

merged 5 commits into from
Oct 5, 2016

Conversation

neeraj-khanna
Copy link
Contributor

  • Certification instructions for Node JS SDK on Android OS.
  • Device-specific instructions.

@@ -0,0 +1 @@
---platform: windows 10 iot enterprise ltsbdevice: atb-1a15clanguage: c---Run a simple C sample on ATB-1A15C device running Windows 10 IoT Enterprise LTSB===---# Table of Contents- [Introduction](#Introduction)- [Step 1: Prerequisites](#Prerequisites)- [Step 2: Prepare your Device](#PrepareDevice)- [Step 3: Build and Run the Sample](#Build)<a name="Introduction"/># Introduction**About this document**This document describes how to connect ATB-1A15C device running Windows 10 IoT Enterprise LTSB with Azure IoT SDK. This multi-step process includes:- Configuring Azure IoT Hub- Registering your IoT device- Build and deploy Azure IoT SDK on device<a name="Prerequisites"></a># Step 1: PrerequisitesYou should have the following items ready before beginning the process:- [Prepare your development environment][setup-devbox-windows]- [Setup your IoT hub][lnk-setup-iot-hub]- [Provision your device and get its credentials][lnk-manage-iot-hub]- ATB-1A15C device.<a name="PrepareDevice"></a># Step 2: Prepare your Device- Turn on your ATB-1A15C device and connect to internet<a name="Build"></a># Step 3: Build SDK and Run the sample- Start a new instance of Visual Studio 2015. Open the **azure_iot_sdks.sln** solution in the **cmake** folder in your home directory.- In Visual Studio, in **Solution Explorer**, navigate to **simplesample_amqp** project, open the **simplesample_amqp.c** file.- Locate the following code in the file: static const char* connectionString = "[device connection string]";- Replace the above placeholder with device connection string you obtained in [Step 1](#Step-1:-Prerequisites) and save the changes.- See [Manage IoT Hub][lnk-manage-iot-hub] to learn how to observe the messages IoT Hub receives from the application.- In **Solution Explorer**, right-click the **simplesample_amqp** project, click **Debug**, and then click **Start new instance** to build and run the sample. The console displays messages as the application sends device-to-cloud messages to IoT Hub.- See [Manage IoT Hub][lnk-manage-iot-hub] to learn how to send cloud-to-device messages to the application.[setup-devbox-windows]: https://github.com/Azure/azure-iot-sdks/blob/master/c/doc/devbox_setup.md[lnk-setup-iot-hub]: ../../setup_iothub.md[lnk-manage-iot-hub]: ../../manage_iot_hub.md
Copy link
Contributor

@tameraw tameraw Oct 4, 2016

Choose a reason for hiding this comment

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

What is this file for? It doesn't seem needed.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I have renamed the file from windows10-iot-enterprise-ltsb-atb-1a15c-c..md to windows10-iot-enterprise-ltsb-atb-1a15c-c.md

Choose a reason for hiding this comment

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

Hello neeraj-khanna, i had a question rg running azure-iot-sdk-c on mlinux,
https://github.com/Azure/azure-iot-device-ecosystem/blob/master/get_started/mlinux-multiconnect-conduit-c.md#Introduction
I followed your well documented write up.
Problem is that I am getting error, saying error while loading shared libraries: libcurl.so.5: cannot open shared object file: No such file or directory
What is causing this error, can you please provide some pointers on this. I have libcurl.so.5 on development machine (Ubuntu Linux).

@tameraw tameraw merged commit 0936950 into Azure:master Oct 5, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants