Cargo Features

[dependencies]
ockam_transport_ble = { version = "0.76.0", default-features = false, features = ["std", "no_std", "alloc", "use_bluetooth_hci", "use_btleplug", "atsame54", "stm32f4", "stm32h7", "pic32", "pic32mx1xxfxxxb", "pic32mx2xxfxxxb"] }
default = std, use_btleplug

These default features are set whenever ockam_transport_ble is added without default-features = false somewhere in the dependency tree.

std default = uuid

Feature (enabled by default): "std" enables functionality expected to be available on a standard platform.

Enables tracing, std of ockam_core, ockam_node, and ockam_transport_core

no_std = heapless, nb

Feature: "no_std" enables functionality required for platforms without the standard library.

Enables no_std of ockam_core, ockam_node, and ockam_transport_core

alloc

Feature: "alloc" enables support for heap allocation on "no_std"
platforms, requires nightly.

Enables alloc of ockam_core, ockam_node, and ockam_transport_core

use_bluetooth_hci = bluenrg, bluetooth-hci

Feature: Bare-metal support for ST Micro BlueNRG-MS BLE radios (server-only)

Affects driver::bluetooth_hci

use_btleplug default = btleplug

Feature: Multi-platform support for BLE radios (client-only)

Affects driver::btleplug

atsame54 = atsame54_xpro, embedded-hal

Processor Feature: TODO move this into its own "Ockam Addon" crate

Affects bluetooth_hci::get_bd_addr

stm32f4 = embedded-hal, stm32f4xx-hal

Processor Feature: TODO move this into its own "Ockam Addon" crate

Affects bluetooth_hci::get_bd_addr

stm32h7 = embedded-hal, stm32h7xx-hal

Processor Feature: TODO move this into its own "Ockam Addon" crate

Enables stm32h75x of stm32-device-signature

Processor stm32: TODO move this into its own "Ockam Addon" crate

Affects bluetooth_hci::get_bd_addr

pic32 pic32mx1xxfxxxb? pic32mx2xxfxxxb? = embedded-hal, pic32-hal

Processor Feature: TODO move this into its own "Ockam Addon" crate

Affects bluetooth_hci::get_bd_addr

pic32mx1xxfxxxb = pic32

Enables pic32mx1xxfxxxb of pic32-hal

Processor pic32: TODO move this into its own "Ockam Addon" crate

pic32mx2xxfxxxb = pic32

Enables pic32mx2xxfxxxb of pic32-hal

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

btleplug use_btleplug

Enables btleplug

Target os: TODO move this into its own "Ockam Addon" crate

uuid std
bluenrg use_bluetooth_hci?

Enables bluenrg

Target baremetal: TODO move this into its own "Ockam Addon" crate

bluetooth-hci use_bluetooth_hci?
heapless no_std?
nb no_std?
atsame54_xpro atsame54?

Enables atsame54_xpro ^0.6.0

Processor atsame: TODO move this into its own "Ockam Addon" crate

embedded-hal atsame54? pic32? stm32f4? stm32h7?
stm32-device-signature stm32h7?
stm32f4xx-hal stm32f4?

Enables stm32f4xx-hal ^0.19.0

stm32h7xx-hal stm32h7?
pic32-hal pic32? pic32mx1xxfxxxb? pic32mx2xxfxxxb?