Browse Source

update

devtest
zwsd 3 years ago
parent
commit
328cfa9396
  1. 3
      main/ble_parse_data.c

3
main/ble_parse_data.c

@ -8,8 +8,6 @@
static bluetooth_processer_t *parse_bluetooth_processer; static bluetooth_processer_t *parse_bluetooth_processer;
uint8_t bluetooth_rx_buffer_len = 0; uint8_t bluetooth_rx_buffer_len = 0;
bool test_flag;
void constructor_bluetooth_processer(bluetooth_processer_t *bluetooth_processer) { parse_bluetooth_processer = bluetooth_processer; } void constructor_bluetooth_processer(bluetooth_processer_t *bluetooth_processer) { parse_bluetooth_processer = bluetooth_processer; }
void bluetooth_gatts_try_process_data() { void bluetooth_gatts_try_process_data() {
@ -38,7 +36,6 @@ void bluetooth_gatts_try_process_data() {
} }
if (strcmp(parse_bluetooth_processer->order, get_status) == 0) { if (strcmp(parse_bluetooth_processer->order, get_status) == 0) {
ESP_LOGI(BLE_PARSE_DATA_TAG, get_status); ESP_LOGI(BLE_PARSE_DATA_TAG, get_status);
test_flag = true;
// receipt_json_get_status(); // receipt_json_get_status();
} }
// if (strcmp(parse_bluetooth_processer->order, "deviceStatusReport") == 0) // if (strcmp(parse_bluetooth_processer->order, "deviceStatusReport") == 0)

Loading…
Cancel
Save