Skip to content

Phase 1a: Rename/split types — DiscoveredPeripheral snapshot + Peripheral handle skeleton #53

Description

@itsniper

Parent: #50

Requirements

  • Introduce DiscoveredPeripheral as the scan snapshot (current snapshot fields: id, cbIdentifier, name, rssi, lastSeen, advertisement).
  • Redefine Peripheral as the long-lived handle type (interned by id); implementation may be class or id-façade (open at planning).
  • Update scan streams to emit DiscoveredPeripheral.
  • Update Demo + tests + DocC for the rename/split.
  • No live CB in public API.

Acceptance criteria

  • Snapshot type is DiscoveredPeripheral; handle type is Peripheral
  • Existing discovery/list call sites compile and behave
  • Breaking rename called out in PR (pre-1.0 OK per PRD)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions