Skip to content
Back to skills

Esp32 Sx126x Lora

ASecurity

Use when integrating SX1261/SX1262 radios, diagnosing BUSY/DIO1 issues, configuring RF paths or migrating from SX127x.

  • 16 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 7, 2026
ai-agentsdebuggingapi

Works with

  • api

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned November 7, 2026

npx -y skills add Esmail-sarhadi/esp32-agent-skills --skill esp32-sx126x-lora --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Esp32 Sx126x Lora?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Esp32 Sx126x Lora
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/esmail-sarhadi-esp32-sx126x-lora/badge)](https://www.skillsdirectory.com/skills/esmail-sarhadi-esp32-sx126x-lora)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: esp32-sx126x-lora
description: Use when integrating SX1261/SX1262 radios, diagnosing BUSY/DIO1 issues, configuring RF paths or migrating from SX127x.
license: MIT
---

# Sx126x Lora

SX126x uses a command-based interface with BUSY handshaking and different control semantics from SX127x. A driver written for SX127x cannot be reused by changing only the chip name.

## Board integration

Confirm module variant, frequency band, TCXO supply/control, RF switch configuration, antenna path and reset wiring. SX1261 and SX1262 have different output-power capabilities; respect module thermal and supply limits. Check BUSY is connected to the correct GPIO and is not treated as an ordinary interrupt.

## Command sequencing

Wait for BUSY to deassert within a bounded timeout before issuing commands. Respect reset and wakeup sequences and check command status. Configure packet type, RF frequency, modulation parameters, packet parameters, buffer base addresses and IRQ routing explicitly. Clear handled IRQ flags to avoid repeated events.

## LoRa link budget

Choose spreading factor, bandwidth, coding rate, preamble and payload length based on link budget and airtime. Evaluate receive sensitivity against actual bandwidth and implementation. Account for regional duty-cycle, dwell-time and EIRP limits. ADR and retransmissions must not violate airtime rules.

## Debugging

Capture RESET, BUSY, NSS/SCK/MOSI/MISO and DIO1. A permanently high BUSY line may indicate wiring, reset, power or driver sequencing problems. A missing DIO1 event may be IRQ routing/mask configuration, not RF range. Verify with a minimal transmit/receive example before adding LoRaWAN.

## Agent rules

State exact radio/module variant and board RF switch. Never assume SX127x register APIs apply. Use bounded BUSY waits, IRQ diagnostics and region-specific airtime checks.

## Field evidence to capture

- Record the exact ESP32 SoC, module, board revision and schematic revision.
- Record framework, compiler, driver version and relevant configuration flags.
- Preserve raw measurements and error codes before applying filters or retries.
- Separate a suspected cause from a reproduced root cause and a verified fix.
- Link the test result to a reproducible fixture or documented manual procedure.

## Version and safety boundary

Check the selected target's datasheet, errata and framework release notes before choosing APIs or pin capabilities. Electrical protection, isolation, overcurrent limits and safe outputs must be designed independently of firmware. A passing host test is not evidence of electrical compliance or field reliability.

Files in this skill

  • LICENSE.txt824 B
  • SKILL.md2.6 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.