attempt to report company_code, version, battery

This commit is contained in:
weiting2
2020-06-24 18:08:55 +08:00
parent 080d4c29c4
commit 5fa4a4897b
2 changed files with 4 additions and 4 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, Util_convertBdAddr2Str(devList[device_number].addr), attr_length[0]);
UART_write(uart_handle, Util_convertBdAddr2Str(devList[device_number].addr), attr_length[0]+2);
}
else if(UART_rxBuf[2] == 2){
// uint8_t scan_name[20] = "test_device_name";
@@ -5,12 +5,12 @@
#define VERSION_DATE_YEAR 20
#define VERSION_DATE_MONTH 6
#define VERSION_DATE_DAY 24
#define VERSION_DATE_HOUR 17
#define VERSION_DATE_MINUTE 58
#define VERSION_DATE_HOUR 18
#define VERSION_DATE_MINUTE 8
// this is NOT the version hash !!
// it's the last version hash
#define VERSION_HASH 32ac680b632d452c85a92efd93243c5eef5f1b4e
#define VERSION_HASH 080d4c29c4191aef8b1532b356dfb9baf1a650b7
#define VERSION_GIT_BRANCH simple_central_ma_pin
#endif