3.1.2 Peripheral
BLE Peripheral devices send advertisement packets and accept connection requests from another central device. Connected BLE devices, enable bi-directional data transfer using the profiles and services. There are certain use cases where a connection between the devices (Peripheral & Central) is not essential and advertisement feature (transmit only, no receive) is sufficient.
SDK Setup
Tip: It is recommended that new users of MPLAB Code Configurator go through the overview.
Blocks
Create FreeRTOS project and configure BLE stack using MPLAB X Harmony Code Configurator 3
Create a new MCC Harmony project.
Configure components like FreeRTOS and BLE Stack
Init BLE Stack
Print Hello World
Transmit Data Payload using BLE Legacy Adv(no BLE connection)
Transmit Data Payload using BLE Extended Adv(no BLE connection)
Configure stack for Peripheral Functionality
Connection between Peripheral and Central Device
-
Profiles and services
-
Transparent UART Peripheral (Legacy Adv + Connection + Data Exchange)
-
Data Exchange between 2 devices(peripheral and central) after a BLE connection using Microchip Transparent UART profile and service
-
-
Custom Service Peripheral (Legacy Adv + Connection + Data Exchange)
-
Data Exchange between 2 devices(peripheral and central) after a BLE connection using Custom Service
-
-