Enum bluenrg::hal::Role[][src]

#[repr(u8)]
pub enum Role { Peripheral6Kb, Peripheral12Kb, Primary12Kb, SimultaneousAdvertisingScanning, }

Roles that the server can adopt.

Variants

Peripheral and primary device.

  • Only one connection.
  • 6 KB of RAM retention.

Peripheral and primary device.

  • Only one connection.
  • 12 KB of RAM retention.

Primary device and peripheral

  • Up to 8 connections
  • 12 KB of RAM retention

Primary device and peripheral.

  • Simultaneous advertising and scanning
  • Up to 4 connections
  • This mode is available starting from BlueNRG-MS FW stack version 7.1.b

Auto Trait Implementations

impl Send for Role

impl Sync for Role