attempt to report company_code, version, battery
This commit is contained in:
+1
-1
@@ -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";
|
||||
|
||||
+3
-3
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user