static uint8_t attDeviceName[GAP_DEVICE_NAME_LEN] = "Simple Peripheral";
GGS_SetParameter(GGS_DEVICE_NAME_ATT, sizeof(attDeviceName), attDeviceName);
tmos_memset(attDeviceName, 0, sizeof(attDeviceName));
GAPRole_GetParameter(GGS_DEVICE_NAME_ATT, attDeviceName);
PRINT("device name:%s,%02x,%02x\n",(char*)attDeviceName,attDeviceName[0],attDeviceName[1]);
這樣無(wú)法獲取設(shè)備名稱,請(qǐng)問(wèn)該如何處理?