Git Product home page Git Product logo

alexa-gadgets-embedded-sample-code's Introduction

Alexa Gadgets Embedded Sample Code

This repository contains resources for Alexa Gadgets developers. For information on how to get started, developer documentation, and API references, please visit the Alexa Gadgets Toolkit developer pages.

License

This library is licensed under the Amazon Software License.

Folders

/AlexaGadgetsProtobuf

This folder contains the protocol buffer (protobuf) message definition files and scripts to compile the corresponding serializer/deserializers.

/AlexaGadgetsProtobuf/examples

This folder contains an example of a single protobuf definition and a shell script to compile all of the protobuf definitions for the Alexa Gadgets Toolkit.

/ConnectionHelpers

This folder contains a collection of code snippets to help with establishing the Bluetooth pairing and connections between a gadget and a compatible Amazon Echo device.

/ConnectionHelpers/BT

This folder contains code snippets specific for Bluetooth classic.

/ConnectionHelpers/BT/Checksum

This folder contains sample code for calculating the checksum of the packets exchanged. For more information, see Exchanging Packets.

/ConnectionHelpers/BT/DeviceSecret

This folder contains sample code for generating the device secret using SHA256. These credentials are required in order to connect a gadget to a compatible Amazon Echo device. Fore more information on how to sue the device secret in the initial handshake, please see Bluetooth pairing and connecting.

/ConnectionHelpers/BT/EIR

This folder contains sample code for the Extended Inquiry Response (EIR). This is the first step in pairing a gadget with an Echo. For more information on the EIR, please see Extended Inquiry Response.

/ConnectionHelpers/BT/SDP

This folder contains sample code for the Service Discover Protocol (SDP) database settings that must be added to the SDP database in order for your gadget to establish a bluetooth connection. For more information please see SDP Settings.

/ConnectionHelpers/BT/PacketHelper

This folder contains sample code for extracting packets from streaming buffers. Your Bluetooth connection is a stream based protocol, so there is no guarantee that you receive one packet at a time. For more information please see Exchange Packets.

/ConnectionHelpers/BLE

This folder contains code snippets specific for Bluetooth Low Energy (BLE).

/ConnectionHelpers/BLE/Handshake

This folder contains sample code for handshake between Echo device and your BLE gadget. For more information please see BLE pairing and connection flow.

alexa-gadgets-embedded-sample-code's People

Contributors

amznq avatar justinpecott avatar nitinaro avatar ssarhan-amz avatar wodan1 avatar zzwangamazon avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.