attempt to report company_code, version, battery

This commit is contained in:
weiting2
2020-07-01 11:08:41 +08:00
parent ecb81de2d8
commit bb01e1c719
2 changed files with 3 additions and 3 deletions
@@ -230,11 +230,11 @@ static void mem_recv_ins(){
case INS_CONNECT:{
char TestMsg[20] = "recv connect";
UART_write(uart_handle, TestMsg, 20);
if(state != BLE_STATE_BROWSING){
break;
}
else{
UART_write(uart_handle, TestMsg, 20);
scanIdx = UART_rxBuf[1] - 1;
mem_connect_device();
}
@@ -6,11 +6,11 @@
#define VERSION_DATE_MONTH 7
#define VERSION_DATE_DAY 1
#define VERSION_DATE_HOUR 11
#define VERSION_DATE_MINUTE 1
#define VERSION_DATE_MINUTE 8
// this is NOT the version hash !!
// it's the last version hash
#define VERSION_HASH 0eede43502f1f0ad5f59f270ef82fdc5e57ace38
#define VERSION_HASH ecb81de2d8c0a305f52938722c3a4050a5261b3a
#define VERSION_GIT_BRANCH simple_central_ma_pin
#endif