Code Sample

Using Enclaves from .NET: Making ECALLS with Callbacks via OCALLS

One question about Intel® Software Guard Extensions (Intel® SGX) that comes up frequently is how to mix enclaves with managed code on Microsoft Windows* platforms, particularly with the C# language. There are multiple solutions for accomplishing these tasks, and this article and its accompanying code sample demonstrate one approach.
  • Professional
  • Students
  • Microsoft Windows* 10
  • Microsoft Windows* 8.x
  • Windows*
  • .NET*
  • C#
  • C/C++
  • Intermediate
  • Software Guard Extensions
  • Security
  • Connecting to the IBM Watson* IoT Platform with Intel® IoT Gateway Software Suites

    This guide shows you how to set up and program three key components for designing and developing real-world Internet of Things (IoT) apps. The Arduino 101*, with the Seeed Studio Grove* Starter Kit Plus – IoT Edition, an Intel® IoT Gateway and the IBM Watson* IoT Platform hosted in the IBM Bluemix* cloud.
  • Partners
  • Professional
  • Professors
  • Students
  • Internet of Things
  • Advanced
  • Intermediate
  • Cloud Computing
  • Internet of Things
  • Sensors
  • Code Sample: Bluetooth* LE station in javascript with Intel® Joule™ development platform

    This code sample measures weather data using a development platform, along with extensible sensors. accelerometer data, temperature, and humidity data is recorded and stored to the IBM* Bluemix* IoT cloud using a TI SensorTag.

    Once set up, users can visualize data using a web based interface. 

    Source files and documentation are located on GitHub: https://github.com/intel-iot-devkit/joule-code-samples/tree/master/ble-scan-js

  • Partners
  • Professional
  • Students
  • Internet of Things
  • JavaScript*
  • Intermediate
  • Bluetooth*
  • Cloud Computing
  • Internet of Things
  • Sensors
  • Code Sample: Earthquake Detector in JavaScript* for Intel® Joule™ development platform

    This code sample shows how to keep track of seismic data using a development platform and an assortment of extensible sensors.

    Once completed, the system will record acceleromter activity for earthquake indicators. When triggered, the board will check with USGS to confirm seismic activity, and display a warming if corroborated. 

  • Partners
  • Professional
  • Students
  • Internet of Things
  • JavaScript*
  • Intermediate
  • Cloud Computing
  • Internet of Things
  • Code Sample: Exploring C++ on the Intel® Joule™ development platform

    This guide illustrates how to use C++ with the Intel® Joule™ Development Platform over the course of 8 simple code samples.

    Examples include Hello World, using MRAA to access the GPIO pins, Pulse Width Modulation, I2C, and more.

    Source files and documentation are located on GitHub:  https://github.com/intel-iot-devkit/joule-code-samples/tree/master/exploring-cpp

  • Partners
  • Professional
  • Students
  • Internet of Things
  • C/C++
  • Intermediate
  • Internet of Things
  • Code Sample: Doorbell in JavaScript* for Intel® Joule™ development platform

    This code sample creates a functioning doorbell system using a development platform and an assortment of extensible sensors.

    Once completed, the system will ring when a button is pushed. Ring data can be stored in a variety of cloud solutions

    Source files and documentation are located on GitHub:  https://github.com/intel-iot-devkit/joule-code-samples/tree/master/doorbell-js

  • Professional
  • Students
  • Internet of Things
  • JavaScript*
  • Intermediate
  • Internet of Things
  • Code Sample: Access Control in JavaScript* for Intel® Joule™ development board

    This code sample illustrates creating a simple alarm system using the development platform and an assortment of extensible sensors.

    Once completed, the system will display alarm status on the connected display. Users will also interact with the alarm via a web interface that will allow them to enable or disable the alarm, as well as examine stored alarm data.

  • Professional
  • Students
  • Internet of Things
  • JavaScript*
  • Intermediate
  • Internet of Things
  • IoT Path-To-Product: How to Build a Connected Transportation Solution

    This Internet of Things (IoT) path-to-product project is part of a series that portrays how to develop a commercial IoT solution from the initial idea stage, through prototyping and refinement to create a viable product. It uses the Grove* IoT Commercial Developer Kit, with the prototype built on an Intel® Next Unit of Computing (Intel® NUC) Kit DE3815TYKHE small-form-factor PC and Arduino* 101 board.

  • Professional
  • Professors
  • Students
  • Internet of Things
  • Advanced
  • Intermediate
  • Cloud Computing
  • Internet of Things
  • Sensors
  • IoT Path-To-Product: The Making of a Connected Transportation Solution

    To demonstrate a rapid path-to-product edge IoT solution for the transportation sector, a proof of concept was created using the Grove* IoT Commercial Developer Kit. That prototype was scaled to an industrial solution using an Intel® IoT Gateway, industrial sensors, and Intel® System Studio. This solution monitors the temperature within a truck’s refrigerated cargo area, as well the open or closed status of the cargo doors. The gateway generates events based on changes to those statuses, to support end-user functionality on a tablet PC application.

  • Professional
  • Professors
  • Students
  • Internet of Things
  • Advanced
  • Intermediate
  • Cloud Computing
  • Data Center
  • Internet of Things
  • Sensors
  • Subscribe to Code Sample