123456789101112131415161718 |
- #ifndef __U_BLE_H_
- #define __U_BLE_H_
- #include "u_global.h"
- #define BLE_DATA_MAX_LEN (20)
- typedef struct ble_data_in
- {
- uint8_t recv_len;
- uint8_t recv_data[BLE_DATA_MAX_LEN];
-
- }BleRecv_t;
- uint16_t crc_16(uint8_t *pbuff, uint32_t len);
- void ble_data_recv(uint8_t *ble_data, uint16_t recv_len);
- void u_ble_data_recv(uint8_t *ble_data, uint16_t recv_len);
- #endif
|