|
|
@ -46,6 +46,8 @@ typedef struct bluetooth_processer { |
|
|
|
|
|
|
|
} bluetooth_processer_t; |
|
|
|
|
|
|
|
typedef void (*cb_t)(); |
|
|
|
|
|
|
|
void constructor_bluetooth_processer(bluetooth_processer_t *bluetooth_processer); |
|
|
|
void bluetooth_gatts_try_process_data(); |
|
|
|
void start_receive_data_to_buffer(uint16_t length, uint8_t *value); |
|
|
@ -55,5 +57,7 @@ bool parse_json_to_struct(cJSON *ch); |
|
|
|
void receipt_json_set_position(); |
|
|
|
void receipt_json_get_status(); |
|
|
|
void bluetooth_auto_report_format_receipt(); |
|
|
|
void bluetooth_tx_buffer_send_indicate(); |
|
|
|
void string_copy_by_num(char *dest, const char *src, uint8_t count, uint8_t num); |
|
|
|
void bluetooth_tx_buffer_send_indicate(cb_t format); |
|
|
|
void string_copy_by_num(char *dest, const char *src, uint8_t count, uint8_t num); |
|
|
|
|
|
|
|
void auto_send_device_state(); |