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
94409739
Commit
94409739
authored
Apr 30, 2024
by
薛小虎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 解决wifi ota升级问题
parent
cfedf395
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
24 deletions
+11
-24
app_BT_User.h
qianjiang/main/app_BT_User.h
+9
-0
gatts_table_creat_demo.c
qianjiang/main/gatts_table_creat_demo.c
+1
-23
sdkconfig
qianjiang/sdkconfig
+1
-1
No files found.
qianjiang/main/app_BT_User.h
View file @
94409739
...
@@ -12,6 +12,15 @@ typedef enum
...
@@ -12,6 +12,15 @@ typedef enum
BT_Authr
,
BT_Authr
,
}
BT_Sts_Enum
;
}
BT_Sts_Enum
;
typedef
enum
{
Call_Idle
=
0
,
Call_OutCalling
,
Call_IncomeCalling
,
Call_Authr
,
}
Call_Sts_Enum
;
typedef
struct
typedef
struct
{
{
uint8_t
BT_Sts
;
uint8_t
BT_Sts
;
...
...
qianjiang/main/gatts_table_creat_demo.c
View file @
94409739
...
@@ -129,33 +129,11 @@ void bsp_Uart_Init(void )
...
@@ -129,33 +129,11 @@ void bsp_Uart_Init(void )
extern
void
simple_ota_main
(
void
);
extern
void
simple_ota_main
(
void
);
void
simple_ota_service
(
void
)
void
simple_ota_service
(
void
)
{
{
/*test*/
// vTaskDelay(1000);
// printf("ota 1\r\n");
// vTaskDelay(1000);
// printf("ota 2\r\n");
// vTaskDelay(1000);
// printf("ota 3\r\n");
// vTaskDelay(1000);
// printf("ota 4\r\n");
// vTaskDelay(1000);
// printf("ota 5\r\n");
// vTaskDelay(1000);
// printf("ota 6\r\n");
// vTaskDelay(1000);
// printf("ota 7\r\n");
// vTaskDelay(1000);
// printf("ota 8\r\n");
// vTaskDelay(1000);
// printf("ota 9\r\n");
// vTaskDelay(1000);
// simple_ota_main();
if
(
Wifi_OTA_Request
==
1
)
if
(
Wifi_OTA_Request
==
1
)
{
{
Wifi_OTA_Request
=
2
;
Wifi_OTA_Request
=
2
;
simple_ota_main
();
simple_ota_main
();
vTaskDelay
(
portMAX_DELAY
);
}
}
}
}
...
...
qianjiang/sdkconfig
View file @
94409739
...
@@ -317,7 +317,7 @@ CONFIG_PARTITION_TABLE_MD5=y
...
@@ -317,7 +317,7 @@ CONFIG_PARTITION_TABLE_MD5=y
#
#
# Example Configuration
# Example Configuration
#
#
CONFIG_EXAMPLE_FIRMWARE_UPGRADE_URL="http://192.168.
30
.1:3200/Qj500-7C.bin"
CONFIG_EXAMPLE_FIRMWARE_UPGRADE_URL="http://192.168.
137
.1:3200/Qj500-7C.bin"
# CONFIG_EXAMPLE_USE_CERT_BUNDLE is not set
# CONFIG_EXAMPLE_USE_CERT_BUNDLE is not set
CONFIG_EXAMPLE_SKIP_COMMON_NAME_CHECK=y
CONFIG_EXAMPLE_SKIP_COMMON_NAME_CHECK=y
# CONFIG_EXAMPLE_FIRMWARE_UPGRADE_BIND_IF is not set
# CONFIG_EXAMPLE_FIRMWARE_UPGRADE_BIND_IF 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