# `Bluez.Gatt.Service`
[🔗](https://github.com/bbangert/bluez/blob/v0.1.0/lib/bluez/gatt/service.ex#L1)

A GATT primary/secondary service discovered on a connected device —
the neutral shape `Bluez.GattTree` builds
and `Bluez.Gatt` emits in `{:gatt_service, address, service}`
events. Hosts translate it to their own wire shape in the `on_gatt_event:`
fun.

`uuid` is a 16-bit integer for Bluetooth-SIG base UUIDs, else the full
16-byte binary (see `Bluez.GattTree.to_uuid/1`).

# `t`

```elixir
@type t() :: %Bluez.Gatt.Service{
  characteristics: [Bluez.Gatt.Characteristic.t()],
  handle: non_neg_integer(),
  uuid: uuid()
}
```

# `uuid`

```elixir
@type uuid() :: non_neg_integer() | &lt;&lt;_::128&gt;&gt;
```

---

*Consult [api-reference.md](api-reference.md) for complete listing*
