Now Galileo is capable of accessing azure storage services
after several tries and tweaks. As you know Windows developer Program for IoT
released the Casablanca C++ REST SDK for accessing cloud services from Galileo
but this is not sufficient to access azure services and we need to port or
develop another layer on top of it to access specific Azure services. I
searched and fortunately found a C++ library that can specifically made to
access Azure storage services and again that is using the Casablanca C++ REST
SDK. Wow!!!. But this happiness was not withstood for long time after building
it and running it simply on Galileo. Let’s get hands dirty!!!
Prerequisites
- Supported for both Intel Galileo Gen1 and Gen2.
- Latest OS update released on 21-Nov-2014 (common .wim for Gen1 and Gen2) for lightning (improved performance on I2C, SPI, and UART etc..)
- Visual studio 2013 with Windows IoT SDK (Visit: windowsondevices.com for more details) and Microsoft IoT C++ SDK and its dependent NuGet Package is required.
- NuGet package for C++ REST SDK (Casablanca) Version ≥ 2.0.1 (tested with version 2.0.1 and 2.2.0)
- Source code for C++ REST SDK. Go through the instructions given in the below link.
- NuGet package for Microsoft Azure Storage Client Library for C++ 0.3.0-preview
- Source code for Azure Storage Client Library for C++ 0.3.0-preview from Github.
- Sample source code to access the Azure storage client library. I used the source code for accessing table for this example but it should work for all storage services.