From 080d4c29c4191aef8b1532b356dfb9baf1a650b7 Mon Sep 17 00:00:00 2001 From: weiting2 Date: Wed, 24 Jun 2020 17:58:51 +0800 Subject: [PATCH] attempt to report company_code, version, battery --- .../examples/simple_central/cc26xx/app/mem_board_central.h | 2 +- .../cc26xx/app/headstage/headstage_version.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/simplelink/ble_sdk_2_02_02_25/src/examples/simple_central/cc26xx/app/mem_board_central.h b/simplelink/ble_sdk_2_02_02_25/src/examples/simple_central/cc26xx/app/mem_board_central.h index 52bb25f04..c626968db 100644 --- a/simplelink/ble_sdk_2_02_02_25/src/examples/simple_central/cc26xx/app/mem_board_central.h +++ b/simplelink/ble_sdk_2_02_02_25/src/examples/simple_central/cc26xx/app/mem_board_central.h @@ -196,7 +196,7 @@ static void mem_recv_ins(){ } else if(UART_rxBuf[2] == 1){ // uint8_t scan_addr[20] = Util_convertBdAddr2Str(devList[device_number].addr); - UART_write(uart_handle, devList[device_number].addr, attr_length[0]); + UART_write(uart_handle, Util_convertBdAddr2Str(devList[device_number].addr), attr_length[0]); } else if(UART_rxBuf[2] == 2){ // uint8_t scan_name[20] = "test_device_name"; diff --git a/simplelink/ble_sdk_2_02_02_25/src/examples/simple_peripheral/cc26xx/app/headstage/headstage_version.h b/simplelink/ble_sdk_2_02_02_25/src/examples/simple_peripheral/cc26xx/app/headstage/headstage_version.h index de3d0d063..6950f57ee 100644 --- a/simplelink/ble_sdk_2_02_02_25/src/examples/simple_peripheral/cc26xx/app/headstage/headstage_version.h +++ b/simplelink/ble_sdk_2_02_02_25/src/examples/simple_peripheral/cc26xx/app/headstage/headstage_version.h @@ -6,11 +6,11 @@ #define VERSION_DATE_MONTH 6 #define VERSION_DATE_DAY 24 #define VERSION_DATE_HOUR 17 -#define VERSION_DATE_MINUTE 27 +#define VERSION_DATE_MINUTE 58 // this is NOT the version hash !! // it's the last version hash -#define VERSION_HASH 685cb5801d2961c53d301f3d42732efd8392a8cd +#define VERSION_HASH 32ac680b632d452c85a92efd93243c5eef5f1b4e #define VERSION_GIT_BRANCH simple_central_ma_pin #endif