gatt_server

Attribute Macro gatt_server 

Source
#[gatt_server]
Expand description

Gatt Service attribute macro.

ยงExample

use trouble_host::prelude::*;

#[gatt_server]
struct MyGattServer {
    hrs: HeartRateService,
    bas: BatteryService,
}