nrf-softdevice

Crates

git

Versions

s113

Flavors

pub trait FixedGattValue: Sized {
    const SIZE: usize;

    // Required methods
    fn from_gatt(data: &[u8]) -> Self;
    fn to_gatt(&self) -> &[u8];
}

Required Associated Constants§

Required Methods§

source

fn from_gatt(data: &[u8]) -> Self

source

fn to_gatt(&self) -> &[u8]

Implementations on Foreign Types§

source§

impl FixedGattValue for bool

source§

const SIZE: usize = 1usize

source§

fn from_gatt(data: &[u8]) -> Self

source§

fn to_gatt(&self) -> &[u8]

Implementors§