当前文档版本为 v1.0.1,您可以访问当前页面的 开发中 版本以获取最近可能的更新。

NDK 演示例程

蓝牙例程

源码路径: <PAN1080-NDK>\01_SDK\nimble\samples\bluetooth

例程

说明

Bluetooth: Central and Peripheral

演示蓝牙主从一体功能

Bluetooth: Central

演示蓝牙主机功能,发现设备并与设备建立连接和断连

Bluetooth: BLE Peripheral ENC

演示外设以及加密配对功能,可以和主机示例进行对测

Bluetooth: Peripheral HR

演示蓝牙从机功能,包含 GATT服务:HR (Heart Rate),连接订阅服务后,会上报虚拟的心率值

解决方案

源码路径: <PAN1080-NDK>\01_SDK\nimble\samples\solutions

例程

说明

Solution: BLE HID Selfie

自拍解决方案,通过蓝牙HID控制手机拍照

Solution: BLE Panchip-CTE Beacon

Panchip 蓝牙定位标签方案,通过发送特定的广播数据,实现蓝牙定位功能

Solution: BLE RGB Light

蓝牙 RGB 灯控方案,演示 BLE RGB 灯与手机 APP 进行连接,通过 APP 控制 RGB 灯的亮度与颜色

Solution: BLE HID Uart Mult Roles

蓝牙串口透传解决方案,演示蓝牙hid串口透传功能,支持1主1从

Solution: BLE Vehicles Key

蓝牙车钥匙解决方案,演示基于HID服务的自动连接服务


MCU Keil例程

例程源码路径: <PAN1080-NDK>\03_MCU\mcu_samples

MCU 底层驱动(Low Level Driver)Keil 例程:

例程

说明

MCU Low Level ADC Driver Sample

MCU 底层 ADC 驱动例程演示说明

MCU Low Level DMA Driver Sample

MCU 底层 DMA 驱动例程演示说明

MCU Low Level FMC Driver Sample

MCU 底层 FMC 驱动例程演示说明

MCU Low Level GPIO Driver Sample

MCU 底层 GPIO 驱动例程演示说明

MCU Low Level I2C Driver Sample

MCU 底层 I2C 驱动例程演示说明

MCU Low Level KSCAN Driver Sample

MCU 底层 KeyScan 驱动例程演示说明

MCU Low Level LP Driver Sample

MCU 底层 Low Power 驱动例程演示说明

MCU Low Level PWM Sample

MCU 底层 PWM 驱动例程演示说明

MCU Low Level QDEC Sample

MCU 底层 QDEC 驱动例程演示说明

MCU Low Level RF Rx Sample

MCU 底层 私有 2.4G 驱动 Rx 例程演示说明

MCU Low Level RF Tx Sample

MCU 底层 私有 2.4G 驱动 Tx 例程演示说明

MCU Low Level PRF Driver with FreeRTOS Sample

MCU 底层 私有 2.4G 驱动例程演示说明(带 FreeRTOS)

MCU Low Level SPI Sample

MCU 底层 SPI 驱动例程演示说明

MCU Low Level TIMER Sample

MCU 底层 TIMER 驱动例程演示说明

MCU Low Level UART Sample

MCU 底层 UART 驱动例程演示说明

MCU Low Level WDT Sample

MCU 底层 WDT 驱动例程演示说明

MCU Low Level WWDT Sample

MCU 底层 WWDT 驱动例程演示说明

DFU Sample

DFU 升级例程演示说明

BLE HCI Sample

BLE HCI 接口例程演示说明

MCU 硬件抽象层驱动(Hardware Abstract Level (HAL) Driver)Keil 例程:

例程

说明

MCU HAL ADC Driver Sample

MCU 硬件抽象层 ADC 驱动例程演示说明

MCU HAL GPIO Driver Sample

MCU 硬件抽象层 GPIO 驱动例程演示说明

MCU HAL I2C Driver Sample

MCU 硬件抽象层 I2C 驱动例程演示说明

MCU HAL PWM Sample

MCU 硬件抽象层 PWM 驱动例程演示说明

MCU HAL QDEC Sample

MCU 硬件抽象层 QDEC 驱动例程演示说明

MCU HAL SPI Sample

MCU 硬件抽象层 SPI 驱动例程演示说明

MCU HAL TIMER Sample

MCU 硬件抽象层 TIMER 驱动例程演示说明

MCU HAL UART Sample

MCU 硬件抽象层 UART 驱动例程演示说明

MCU HAL WDT Sample

MCU 硬件抽象层 WDT 驱动例程演示说明

MCU HAL WWDT Sample

MCU 硬件抽象层 WWDT 驱动例程演示说明