Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Q
QJ_500-7c
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
时昊
QJ_500-7c
Commits
148e4eb0
Commit
148e4eb0
authored
May 05, 2024
by
薛小虎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test:验证搜索不到低功耗蓝牙问题
parent
a710f4bb
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
13 additions
and
13 deletions
+13
-13
Protocol_User.c
qianjiang/main/Protocol_User.c
+3
-2
gatts_table_creat_demo.c
qianjiang/main/gatts_table_creat_demo.c
+5
-5
main_user.c
qianjiang/main/main_user.c
+1
-1
sdkconfig
qianjiang/sdkconfig
+4
-5
No files found.
qianjiang/main/Protocol_User.c
View file @
148e4eb0
...
...
@@ -247,7 +247,7 @@ static void Protocol_UartHandle(const Protocol_Data_t *pData)
if
(
Ble_User
.
UseridUpdate
==
0
)
{
bsp_Ble_Init
();
//
bsp_Ble_Init();
printf
(
"get uuid and init ble!!!
\r\n
"
);
}
...
...
@@ -308,7 +308,8 @@ void Protocol_User_Ctrl_Init(void )
void
Uart_Send_Id10_Pro
(
void
)
{
uint8_t
wtemp
[
1
]
=
{
1
};
uint8_t
wtemp
[
1
]
=
{
0
};
wtemp
[
0
]
=
1
;
Protocol_Send
(
0x10
,
wtemp
,
1
);
}
...
...
qianjiang/main/gatts_table_creat_demo.c
View file @
148e4eb0
...
...
@@ -657,11 +657,11 @@ static void gatts_profile_event_handler(esp_gatts_cb_event_t event, esp_gatt_if_
ESP_LOGE
(
GATTS_TABLE_TAG
,
"config raw adv data failed, error code = %x "
,
raw_adv_ret
);
}
adv_config_done
|=
ADV_CONFIG_FLAG
;
//
esp_err_t raw_scan_ret = esp_ble_gap_config_scan_rsp_data_raw(raw_scan_rsp_data, sizeof(raw_scan_rsp_data));
//
if (raw_scan_ret){
//
ESP_LOGE(GATTS_TABLE_TAG, "config raw scan rsp data failed, error code = %x", raw_scan_ret);
//
}
//
adv_config_done |= SCAN_RSP_CONFIG_FLAG;
esp_err_t
raw_scan_ret
=
esp_ble_gap_config_scan_rsp_data_raw
(
raw_scan_rsp_data
,
sizeof
(
raw_scan_rsp_data
));
if
(
raw_scan_ret
){
ESP_LOGE
(
GATTS_TABLE_TAG
,
"config raw scan rsp data failed, error code = %x"
,
raw_scan_ret
);
}
adv_config_done
|=
SCAN_RSP_CONFIG_FLAG
;
#else
//config adv data
esp_err_t
ret
=
esp_ble_gap_config_adv_data
(
&
adv_data
);
...
...
qianjiang/main/main_user.c
View file @
148e4eb0
...
...
@@ -158,7 +158,7 @@ void app_main(void)
Ble_User_Init
();
Get_Mac_Init
();
bsp_BT_Init
();
//
bsp_Ble_Init();
bsp_Ble_Init
();
bsp_Uart_Init
();
printf
(
"KL30 INIT OVER~~~~~~~~~"
);
...
...
qianjiang/sdkconfig
View file @
148e4eb0
...
...
@@ -1336,16 +1336,15 @@ CONFIG_HEAP_TRACING_OFF=y
#
# CONFIG_LOG_DEFAULT_LEVEL_NONE is not set
# CONFIG_LOG_DEFAULT_LEVEL_ERROR is not set
CONFIG_LOG_DEFAULT_LEVEL_WARN=y
# CONFIG_LOG_DEFAULT_LEVEL_INFO is not set
# CONFIG_LOG_DEFAULT_LEVEL_WARN is not set
CONFIG_LOG_DEFAULT_LEVEL_INFO=y
# CONFIG_LOG_DEFAULT_LEVEL_DEBUG is not set
# CONFIG_LOG_DEFAULT_LEVEL_VERBOSE is not set
CONFIG_LOG_DEFAULT_LEVEL=
2
CONFIG_LOG_DEFAULT_LEVEL=
3
CONFIG_LOG_MAXIMUM_EQUALS_DEFAULT=y
# CONFIG_LOG_MAXIMUM_LEVEL_INFO is not set
# CONFIG_LOG_MAXIMUM_LEVEL_DEBUG is not set
# CONFIG_LOG_MAXIMUM_LEVEL_VERBOSE is not set
CONFIG_LOG_MAXIMUM_LEVEL=
2
CONFIG_LOG_MAXIMUM_LEVEL=
3
CONFIG_LOG_COLORS=y
CONFIG_LOG_TIMESTAMP_SOURCE_RTOS=y
# CONFIG_LOG_TIMESTAMP_SOURCE_SYSTEM is not set
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment