attempt to report company_code, version, battery

This commit is contained in:
weiting2
2020-06-24 17:58:51 +08:00
parent 32ac680b63
commit 080d4c29c4
2 changed files with 3 additions and 3 deletions
@@ -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";
@@ -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