| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273 |
- //
- // Created by EDZ on 25-8-28.
- //
- #include "E104-BT5005A.h"
- #include "stdio.h"
- #include "main.h"
- #include <time.h>
- #include <stdlib.h>
- #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_SCANINTV_Fun(void) {
- HAL_UART_Transmit(&huart3, (const uint8_t *)E104_BT5005A_SCANINTV, strlen(E104_BT5005A_SCANINTV), HAL_MAX_DELAY);
- }
- void E104_BT5005A_RESET_Fun(void) {
- HAL_UART_Transmit(&huart3, (const uint8_t *)E104_BT5005A_RESET, strlen(E104_BT5005A_RESET), HAL_MAX_DELAY);
- }
- void E104_BT5005A_SLEEP_Fun(void) {
- HAL_UART_Transmit(&huart3, (const uint8_t *)E104_BT5005A_SLEEP, strlen(E104_BT5005A_SLEEP), HAL_MAX_DELAY);
- }
- void E104_BT5005A_WAKE_UP_Fun(void) {
- HAL_UART_Transmit(&huart3, (const uint8_t *)E104_BT5005A_WAKE_UP, strlen(E104_BT5005A_WAKE_UP), HAL_MAX_DELAY);
- }
- void E104_BT5005A_SCANWND_Fun(void) {
- HAL_UART_Transmit(&huart3, (const uint8_t *)E104_BT5005A_SCANWND, strlen(E104_BT5005A_SCANWND), HAL_MAX_DELAY);
- }
|