Skip to content

libpebble3: drop kable types from the public scan API#232

Open
SalvatoreT wants to merge 1 commit into
coredevices:masterfrom
SalvatoreT:kmp-sdk/04-scan-api-no-kable
Open

libpebble3: drop kable types from the public scan API#232
SalvatoreT wants to merge 1 commit into
coredevices:masterfrom
SalvatoreT:kmp-sdk/04-scan-api-no-kable

Conversation

@SalvatoreT
Copy link
Copy Markdown

BleScanResult exposed com.juul.kable.ManufacturerData, leaking kable (an implementation dependency) into the published common API surface. Replace it with plain manufacturerCode: Int + manufacturerData: ByteArray so the scan API has no kable type in its ABI; KableBleScanner decomposes the kable value at the boundary and RealScanning reads the split fields.

BleScanResult exposed com.juul.kable.ManufacturerData, leaking kable (an
`implementation` dependency) into the published common API surface. Replace it with
plain manufacturerCode: Int + manufacturerData: ByteArray so the scan API has no
kable type in its ABI; KableBleScanner decomposes the kable value at the boundary
and RealScanning reads the split fields.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Entire-Checkpoint: 4f67977fa12e
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant