feat: 按DLD154Pro硬件资源文档调整代码

变更摘要:
- LED.h: PB15→PB22(LEDA绿)+PB23(LEDB红呼吸灯)
- cmcng.h: 型号DLD110S→DLD154Pro, 版本v4.01/hw1.00
- peripheral.c: BLE广播名/设备名→DLD154Pro
- peripheral_main.c: 删RLY2/KEY_SA1_SA2/FLEVEL_L/DEBUG_UART
- peripheral_main.c: 新增RS485预留(PA14/15/13)+光耦预留(PB10)
- peripheral_main.c: 简化继电器为单路(PA8), 一级调频(PA12)
- peripheral_main.c: 删poll_sens_key(), g_freq_sens默认值=2
- IDE工程文件: DLD110S→DLD154Pro
This commit is contained in:
wangfq
2026-07-21 10:43:45 +08:00
parent 5f5f697992
commit 91ba84495d
6 changed files with 104 additions and 189 deletions
@@ -102,7 +102,7 @@ static uint8_t scanRspData[] = {
// 'r',
// 'a',
// 'l',
'D','L','D','1','1','0','S',
'D','L','D','1','5','4','P',
// connection interval range
0x05, // length of this data
GAP_ADTYPE_SLAVE_CONN_INTERVAL_RANGE,
@@ -136,7 +136,7 @@ static uint8_t advertData[] = {
};
// GAP GATT Attributes
static uint8_t attDeviceName[GAP_DEVICE_NAME_LEN] = "DLD110S";// "Simple Peripheral";
static uint8_t attDeviceName[GAP_DEVICE_NAME_LEN] = "DLD154Pro";// "Simple Peripheral";
// Connection item list
static peripheralConnItem_t peripheralConnList;