An OS to build, deploy and securely manage billions of devices

Latest News:

Apache Mynewt 1.13.0, Apache NimBLE 1.8.0 released November 25, 2024)
  • Quick Start
  • About
  • Talks
  • Documentation
  • Download
  • Community
  • CVE
Docs / BLE User Guide / NimBLE Setup
Edit on GitHub
  • Introduction
  • Setup & Get Started
  • Concepts
  • Tutorials
  • Third-party Resources
  • OS User Guide
  • BLE User Guide
    • NimBLE Security
    • NimBLE Setup
      • Configure clock for controller
      • Configure device address
      • Respond to sync and reset events
    • NimBLE Host
    • btshell Usage API
    • Bluetooth Mesh
  • Newt Tool Guide
  • Newt Manager Guide
  • Mynewt FAQ
  • Appendix

Version 1.12.0 is not the most recent version of the Apache Mynewt documentation. Click here to read the latest version.

NimBLE Setup¶

Most NimBLE initialization is done automatically by sysinit. This section documents the few bits of initialization that an application must perform manually.

  • Configure clock for controller
    • System configuration
    • Crystal settle time configuration
  • Configure device address
    • Method 1: Configure nRF hardware with a public address
    • Method 2: Hardcode a public address in the Mynewt target
    • Method 3: Configure a random address at runtime
  • Respond to sync and reset events
    • sync
    • reset
    • Example
Next: Configure clock for controller Previous: NimBLE Security

Apache Mynewt is available under Apache License, version 2.0.

Apache

Copyright © 2015-2024 The Apache Software Foundation.
Apache Mynewt, Mynewt, Apache, the Apache feather logo, and the Apache Mynewt project logo are either registered trademarks or trademarks of the Apache Software Foundation in the United States and other countries.

Slack Icon