Bluetooth® Mesh V2.X for Ios and Android ADK Contents

Bluetooth® Mesh V2.X for Ios and Android ADK Contents

AN1200.1: Bluetooth® Mesh 2.x for iOS and Android ADK This document describes how to get started with Bluetooth Mesh application development for iOS and Android smart phones and KEY POINTS tablets using the Silicon Labs Bluetooth Mesh for iOS and Android • Introduction to the Silicon Labs’ Blue- Application Development Kit (ADK). tooth mesh for iOS and Android ADK • Prerequisites for development The document also provides a high-level architecture overview of the Silicon Labs Blue- • tooth Mesh library, how it relates to the Bluetooth LE stack provided by the iOS and An- Contents of the Bluetooth mesh iOS and Android ADK droid operating systems and what APIs are available. It also contains code snippets and explanations for the most common Bluetooth Mesh use cases. • Getting started with development • Bluetooth mesh structure overview The Bluetooth Mesh mobile app is intended to demonstrate the Silicon Labs Bluetooth • ADK use cases Mesh technology together with the Bluetooth Mesh SDK sample apps. The mobile app • API references for iOS and Android is a reference app for the Bluetooth Mesh mobile ADK but it should not be taken as a starting point for customers to create their own mobile apps. • Model descriptions • Import and Export instructions • Using multiple networks • Code examples silabs.com | Building a more connected world. Rev. 0.6 AN1200.1: Bluetooth® Mesh v2.x for iOS and Android ADK Contents Table of Contents 1 Introduction ......................................................................................................................................................................................... 1 2 Prerequisites for Development ........................................................................................................................................................... 4 2.1 iOS ............................................................................................................................................................................................... 4 2.1.1 Complying with Encryption Export Regulations ..................................................................................................................... 5 2.2 Android ......................................................................................................................................................................................... 5 2.2.1 Known Bluetooth Issues ....................................................................................................................................................... 6 2.2.1.1 Scanning ........................................................................................................................................................................ 6 2.2.1.2 Connecting ..................................................................................................................................................................... 6 2.2.1.2.1 Auto connect .............................................................................................................................................................. 6 2.2.1.3 Managing a Connection ................................................................................................................................................. 7 2.2.1.3.1 Connection State ....................................................................................................................................................... 7 2.2.1.3.2 Changing MTU ........................................................................................................................................................... 7 2.2.1.3.3 Discovering Services ................................................................................................................................................. 7 2.2.1.3.4 Reading/Writing Characteristics ................................................................................................................................. 7 2.2.1.3.5 Disconnecting ............................................................................................................................................................ 7 2.2.1.4 Errors ............................................................................................................................................................................. 7 2.2.1.5 Devices with Low Bluetooth LE Quality.......................................................................................................................... 8 3 Contents of Bluetooth Mesh for iOS and Android ADK....................................................................................................................... 9 3.1 The Bluetooth Mesh Stack Library ............................................................................................................................................... 9 3.1.1 iOS ........................................................................................................................................................................................ 9 3.1.2 Android ................................................................................................................................................................................. 9 3.2 Bluetooth Mesh Network and Device Database ........................................................................................................................... 9 3.3 Reference Application Source Code ............................................................................................................................................ 9 3.4 Documentation ............................................................................................................................................................................. 9 4 Getting Started with Development .................................................................................................................................................... 10 4.1 iOS ............................................................................................................................................................................................. 10 4.2 Android ....................................................................................................................................................................................... 12 5 Bluetooth Mesh Structure Overview ................................................................................................................................................. 17 6 Bluetooth Mesh: Using the ADK with a Simple Use Case ................................................................................................................ 18 6.1 Example 1: GenericOnOff Get for element ................................................................................................................................ 18 6.1.1 Provisioning a Device ......................................................................................................................................................... 18 6.1.2 Proxy Connection and Configuration .................................................................................................................................. 18 6.1.3 Binding Models ................................................................................................................................................................... 20 6.1.4 Sending the Message ......................................................................................................................................................... 20 6.2 Example 2: GenericOnOff Get for group .................................................................................................................................... 21 6.2.1 Provisioning Devices ........................................................................................................................................................... 21 6.2.2 Proxy Connection and Configuration .................................................................................................................................. 22 6.2.3 Binding models ................................................................................................................................................................... 22 silabs.com | Building a more connected world. Rev. 0.6 | 1 AN1200.1: Bluetooth® Mesh v2.x for iOS and Android ADK Contents 6.2.4 Sending the Message ......................................................................................................................................................... 23 7 Bluetooth Mesh API Reference for iOS ............................................................................................................................................ 25 7.1 Errors ......................................................................................................................................................................................... 25 7.2 Initializing the BluetoothMesh .................................................................................................................................................... 25 7.2.1 BluetoothMesh .................................................................................................................................................................... 25 7.2.2 Set Up Supported Vendor Models .....................................................................................................................................

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    259 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us