matlab/matlab-agentic-toolkit / skills-catalog/wireless-communications/matlab-generate-ble-waveform
matlab-generate-ble-waveform
VerifiedGenerate Bluetooth Low Energy (BLE) PHY waveforms. Read BEFORE writing any BLE waveform code to avoid hallucinating API patterns. Covers bleWaveformGenerator, bleIdealReceiver, bleCTEIQSample, bleAngleEstimate, bluetoothTestWaveform for LE1M/LE2M/LE500K/LE125K. Bluetooth Toolbox R2022a+.
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 17.9 KB |
| manifest.yaml | config | 432 B |
| references/cte-direction-finding.md | markdown | 1.6 KB |
| references/data-whitening.md | markdown | 1.2 KB |
| references/direction-finding.md | markdown | 3.3 KB |
| references/functionalAPI.md | markdown | 17.6 KB |
| references/phy-modes-and-timing.md | markdown | 2.9 KB |
| references/practical-receiver-simulation.md | markdown | 13.4 KB |
| references/rfphy-compliance-testing.md | markdown | 1.7 KB |
| references/rssi-localization.md | markdown | 1.5 KB |
| references/transmitter-measurements.md | markdown | 1.2 KB |
| references/wlan-coexistence.md | markdown | 1.3 KB |
references/rssi-localization.md
View on GitHub# RSSI-Based Localization Reference
## Overview
BLE beacons broadcast advertising packets on channels 37, 38, 39. Receivers
estimate distance from Received Signal Strength Indicator (RSSI) using
path loss models.
## Advertising Channel Frequencies
| Channel | Frequency | Position in Band |
|---------|-----------|------------------|
| 37 | 2.402 GHz | Bottom (below WLAN Ch 1) |
| 38 | 2.426 GHz | Middle (between WLAN Ch 1 & 6) |
| 39 | 2.480 GHz | Top (above WLAN Ch 11) |
## Free-Space Path Loss Model
`FSPL(dB) = 20*log10(d) + 20*log10(f) - 147.55`
Where d = distance in meters, f = frequency in Hz.
| Distance | FSPL (2.402 GHz) | RSSI (Tx=0 dBm) |
|----------|-----------------|------------------|
| 1 m | 40.1 dB | -40.1 dBm |
| 2 m | 46.1 dB | -46.1 dBm |
| 5 m | 54.0 dB | -54.0 dBm |
| 10 m | 60.1 dB | -60.1 dBm |
| 20 m | 66.1 dB | -66.1 dBm |
## Practical Considerations
- Free-space model is optimistic; indoor environments add 2-20 dB fading
- Use all 3 advertising channels and average for more robust RSSI
- BLE 5.1+ direction finding (CTE) provides angular estimates beyond RSSI
- Typical BLE receiver sensitivity: -70 to -100 dBm
- Advertising interval affects update rate (typical: 100-1000 ms)
## Trilateration Workflow
1. Deploy 3+ BLE beacons at known positions
2. Measure RSSI from each beacon
3. Convert RSSI to estimated distance using path loss model
4. Solve trilateration equations for position estimate
----
Copyright 2026 The MathWorks, Inc.
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| receiving-code-reviewobra/superpowersUse when receiving code review feedback, before implementing suggestions, especially if feedback seems unclear or technically questionable - requires technical rigor and verification, not performative agreement or blind implementation | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| requesting-code-reviewobra/superpowersUse when completing tasks, implementing major features, or before merging to verify work meets requirements | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| using-git-worktreesobra/superpowersUse when starting feature work that needs isolation from current workspace or before executing implementation plans - ensures an isolated workspace exists via native tools or git worktree fallback | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| verification-before-completionobra/superpowersUse when about to claim work is complete, fixed, or passing, before committing or creating PRs - requires running verification commands and confirming output before making any success claims; evidence before assertions always | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |