|
|
@@ -12,8 +12,13 @@
|
|
|
#include "string.h"
|
|
|
#include "E104-BT5005A.h"
|
|
|
|
|
|
-void E104_BT5005A_ROLE_Fun(void) {
|
|
|
- HAL_UART_Transmit(&huart3, (const uint8_t *)E104_BT5005A_ROLE, strlen(E104_BT5005A_ROLE), HAL_MAX_DELAY);
|
|
|
+void E104_BT5005A_ROLE1_Fun(void) {
|
|
|
+ HAL_UART_Transmit(&huart3, (const uint8_t *)E104_BT5005A_ROLE_1, strlen(E104_BT5005A_ROLE_1), HAL_MAX_DELAY);
|
|
|
+
|
|
|
+}
|
|
|
+
|
|
|
+void E104_BT5005A_ROLE2_Fun(void) {
|
|
|
+ HAL_UART_Transmit(&huart3, (const uint8_t *)E104_BT5005A_ROLE_2, strlen(E104_BT5005A_ROLE_2), HAL_MAX_DELAY);
|
|
|
|
|
|
}
|
|
|
|
|
|
@@ -39,12 +44,17 @@ void E104_BT5005A_SCANWND_Fun(void) {
|
|
|
HAL_UART_Transmit(&huart3, (const uint8_t *)E104_BT5005A_SCANWND, strlen(E104_BT5005A_SCANWND), HAL_MAX_DELAY);
|
|
|
}
|
|
|
|
|
|
+void E104_BT5005A_ADV_Fun() {
|
|
|
+ HAL_UART_Transmit(&huart3, (const uint8_t *)E104_BT5005A_ADV, strlen(E104_BT5005A_ADV), HAL_MAX_DELAY);
|
|
|
+}
|
|
|
|
|
|
+void E104_BT5005A_NAME_Fun(void) {
|
|
|
+ HAL_UART_Transmit(&huart3, (const uint8_t *)E104_BT5005A_NAME, strlen(E104_BT5005A_NAME), HAL_MAX_DELAY);
|
|
|
+}
|
|
|
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
+void E104_BT5005A_ADVINTV_Fun(void) {
|
|
|
+ HAL_UART_Transmit(&huart3, (const uint8_t *)E104_BT5005A_ADVINTV, strlen(E104_BT5005A_ADVINTV), HAL_MAX_DELAY);
|
|
|
+}
|
|
|
|
|
|
|
|
|
|