mirror of
https://github.com/liquidraver/ZephCore.git
synced 2026-10-23 12:12:46 +00:00
license "refactor" :)
This commit is contained in:
1 parent
2cf4b9704e
commit
2ad185bab4
328 files changed
+869
-832
No files matched your search
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
* SPDX-License-Identifier: MIT
|
||||
* ZephCore BLE Adapter — NUS service, advertising, security, TX/RX
|
||||
*
|
||||
* Security: SMP pairing with SC + MITM + Bonding, DisplayOnly IO (app_passkey).
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
* SPDX-License-Identifier: MIT
|
||||
* ZephCore BLE Adapter — NUS service, advertising, security, TX/RX
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
* SPDX-License-Identifier: MIT
|
||||
*/
|
||||
|
||||
#include "ZephyrBoard.h"
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
* SPDX-License-Identifier: MIT
|
||||
* Zephyr MainBoard base - nRF52840 DK and generic
|
||||
*/
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
* SPDX-License-Identifier: MIT
|
||||
*/
|
||||
|
||||
#include "ZephyrMillisecondClock.h"
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
* SPDX-License-Identifier: MIT
|
||||
* Zephyr implementation of MillisecondClock
|
||||
*/
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
* SPDX-License-Identifier: MIT
|
||||
*/
|
||||
|
||||
#include "ZephyrRTCClock.h"
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
* SPDX-License-Identifier: MIT
|
||||
* Zephyr software RTC - boot-relative time with settable offset
|
||||
*/
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
* Compact raw-I2C hardware-RTC auto-discovery. See ZephyrRTCDiscover.h.
|
||||
*
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
* Boot-time hardware-RTC auto-discovery (compact raw-I2C reader).
|
||||
*
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
* SPDX-License-Identifier: MIT
|
||||
* Zephyr DataStore - LittleFS-backed persistence with optional QSPI flash
|
||||
*
|
||||
* All platforms use DTS-automounted /lfs.
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
* SPDX-License-Identifier: MIT
|
||||
* Zephyr DataStore - LittleFS-backed persistence with optional QSPI flash
|
||||
*
|
||||
* All platforms use DTS-automounted /lfs for identity, prefs, contacts.
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
* SPDX-License-Identifier: MIT
|
||||
* Zephyr GPS Manager - GNSS power management, fix acquisition, constellation config
|
||||
*
|
||||
* Event-driven state machine with no polling loops:
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
* SPDX-License-Identifier: MIT
|
||||
* Zephyr GPS Manager - GNSS power management, fix acquisition, constellation config
|
||||
*
|
||||
* Event-driven state machine: OFF → ACQUIRING → STANDBY → ACQUIRING → ...
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
* SPDX-License-Identifier: MIT
|
||||
* ZephyrMQTTPublisher — MQTT client thread for the Observer role.
|
||||
*
|
||||
* Thread flow:
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
* SPDX-License-Identifier: MIT
|
||||
* ZephyrMQTTPublisher — MQTT client thread for the Observer role.
|
||||
*
|
||||
* Dedicated thread: waits for WiFi ready, resolves broker hostname,
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
* SPDX-License-Identifier: MIT
|
||||
* WiFi OTA Firmware Update
|
||||
*
|
||||
* Starts a WiFi AP + HTTP server for browser-based firmware upload.
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
* SPDX-License-Identifier: MIT
|
||||
* WiFi OTA Firmware Update — Public API
|
||||
*
|
||||
* Starts a WiFi AP + HTTP server for browser-based firmware upload.
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
* SPDX-License-Identifier: MIT
|
||||
* LR1110 hardware hooks for LoRaRadioBase.
|
||||
*/
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
* SPDX-License-Identifier: MIT
|
||||
* ZephCore Radio adapter for LR1110/LR1120/LR1121 using Zephyr LoRa driver
|
||||
*
|
||||
* Thin wrapper around LoRaRadioBase — only hardware-specific hooks.
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
* SPDX-License-Identifier: MIT
|
||||
* LR2021 hardware hooks for LoRaRadioBase.
|
||||
*/
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
* SPDX-License-Identifier: MIT
|
||||
* ZephCore Radio adapter for LR2021 using Zephyr LoRa driver
|
||||
*
|
||||
* Thin wrapper around LoRaRadioBase — only hardware-specific hooks.
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
* SPDX-License-Identifier: MIT
|
||||
* LoRa radio base class — shared algorithms for all radio adapters.
|
||||
*/
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
* SPDX-License-Identifier: MIT
|
||||
* LoRa radio base class — shared state and algorithms.
|
||||
* Subclasses implement hw*() primitives only.
|
||||
*/
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
* SPDX-License-Identifier: MIT
|
||||
* SX126x hardware hooks for LoRaRadioBase — native Zephyr driver.
|
||||
*/
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
* SPDX-License-Identifier: MIT
|
||||
* ZephCore Radio adapter for SX126x (SX1261/SX1262/SX1268) using native Zephyr driver
|
||||
*/
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
* SPDX-License-Identifier: MIT
|
||||
* SX127x hardware hooks for LoRaRadioBase — Zephyr loramac-node driver.
|
||||
*
|
||||
* The SX127x driver (loramac-node/sx127x.c) exposes only the standard
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
* SPDX-License-Identifier: MIT
|
||||
* ZephCore Radio adapter for SX127x (SX1272/SX1276/SX1278) using Zephyr loramac-node driver.
|
||||
*
|
||||
* The SX127x loramac-node driver supports the standard Zephyr LoRa API
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
* SPDX-License-Identifier: MIT
|
||||
* LR11xx HAL implementation for Zephyr — ZephCore
|
||||
*/
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
* SPDX-License-Identifier: MIT
|
||||
* LR11xx HAL for Zephyr — ZephCore
|
||||
*/
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
* SPDX-License-Identifier: MIT
|
||||
* LR20xx HAL implementation for Zephyr - ZephCore
|
||||
*
|
||||
* Based on Semtech SWDR001 lr20xx_driver and the ZephCore lr11xx HAL.
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
* SPDX-License-Identifier: MIT
|
||||
* LR20xx HAL implementation for Zephyr - ZephCore
|
||||
*
|
||||
* Zephyr hardware context for the Semtech lr20xx_driver HAL interface.
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
* SPDX-License-Identifier: MIT
|
||||
* Shared constants and utilities for all LoRa radio adapters.
|
||||
*
|
||||
* Anything duplicated between SX126xRadio and LR1110Radio belongs here.
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
* SPDX-License-Identifier: MIT
|
||||
* RNG::nextInt - shared implementation
|
||||
*/
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
* SPDX-License-Identifier: MIT
|
||||
*/
|
||||
|
||||
#include "ZephyrRNG.h"
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
* SPDX-License-Identifier: MIT
|
||||
* Zephyr CSPRNG implementation
|
||||
*/
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
* SPDX-License-Identifier: MIT
|
||||
* Zephyr Environment & Power Sensors
|
||||
*
|
||||
* Auto-detects available sensors via Zephyr devicetree nodelabels.
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
* SPDX-License-Identifier: MIT
|
||||
* Zephyr Environment & Power Sensors
|
||||
*
|
||||
* Environment: temperature, humidity, pressure
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
* SPDX-License-Identifier: MIT
|
||||
* Backward-compatibility shim — includes GPS manager + env sensors.
|
||||
* All callers can continue using #include "ZephyrSensorManager.h".
|
||||
*/
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
* SPDX-License-Identifier: MIT
|
||||
* ZephCore TCP companion transport — drop-in replacement for ZephyrBLE.
|
||||
*
|
||||
* Implements the exact zephcore_ble_* C API from adapters/ble/ZephyrBLE.h
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
/*
|
||||
* Copyright (c) 2026 ZephCore
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
* Native-Linux (native_sim) runtime setup.
|
||||
*
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
* SPDX-License-Identifier: MIT
|
||||
* ZephCore USB CDC Companion Transport
|
||||
*
|
||||
* V3-framed USB CDC for companion mode. Extracted from main_companion.cpp.
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
* SPDX-License-Identifier: MIT
|
||||
* ZephCore USB CDC Companion Transport
|
||||
*
|
||||
* V3-framed USB CDC for companion mode: ISR, ring buffer, frame parsing,
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
* SPDX-License-Identifier: MIT
|
||||
* ZephCore — Unified USB CDC ACM init (companion + repeater + observer)
|
||||
*
|
||||
* See ZephyrUSBCDC.h for the contract. This implementation:
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
* SPDX-License-Identifier: MIT
|
||||
* ZephCore — Unified USB CDC ACM init (companion + repeater + observer)
|
||||
*
|
||||
* Owns the USBD device + CDC ACM class registration, the usbd_msg_callback
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
* SPDX-License-Identifier: MIT
|
||||
* ZephyrWiFiStation — WiFi STA connection manager for the Observer role.
|
||||
*
|
||||
* Flow:
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
* SPDX-License-Identifier: MIT
|
||||
* ZephyrWiFiStation — WiFi STA connection manager for the Observer role.
|
||||
*
|
||||
* Connects to a WPA2-PSK (or open) network, obtains a DHCP lease, syncs
|
||||
|
||||
Reference in new issue
Block a user