update 1.8

This commit is contained in:
qiyongshuang
2023-09-06 10:08:11 +08:00
parent b79c6ac80d
commit 64be955461
760 changed files with 42517 additions and 30957 deletions
+3 -2
View File
@@ -186,7 +186,8 @@ static gapRolesCBs_t heartRatePeripheralCB = {
// Bond Manager Callbacks
static gapBondCBs_t heartRateBondCB = {
NULL, // Passcode callback
NULL // Pairing state callback
NULL, // Pairing state callback
NULL // oob callback
};
/*********************************************************************
@@ -221,7 +222,7 @@ void HeartRate_Init()
GAPRole_SetParameter(GAPROLE_ADVERT_DATA, sizeof(advertData), advertData);
}
// Set the GAP Characteristics
GGS_SetParameter(GGS_DEVICE_NAME_ATT, GAP_DEVICE_NAME_LEN, attDeviceName);
GGS_SetParameter(GGS_DEVICE_NAME_ATT, sizeof(attDeviceName), attDeviceName);
// Setup the GAP Bond Manager
{