attempt to support all function

This commit is contained in:
weiting2
2020-07-31 17:42:44 +08:00
parent 35dc9a1868
commit f89e6fa45f
2 changed files with 8 additions and 6 deletions
@@ -312,11 +312,13 @@ static void mem_send_ins(uint16_t handle, uint8_t *value){
// }
req.handle = BLE_CHAR2_HANDLE;
req.len = 20;
req.len = 2;
req.pValue[0] = 0x74;
req.pValue[1] = 0x40;
for(int i=0 ; i < req.len ; i++){
req.pValue[i] = *(value+i);
}
// for(int i=0 ; i < req.len ; i++){
// req.pValue[i] = *(value+i);
// }
req.sig = 0;
req.cmd = 0;
@@ -6,11 +6,11 @@
#define VERSION_DATE_MONTH 7
#define VERSION_DATE_DAY 31
#define VERSION_DATE_HOUR 17
#define VERSION_DATE_MINUTE 12
#define VERSION_DATE_MINUTE 42
// this is NOT the version hash !!
// it's the last version hash
#define VERSION_HASH b818a0d4f4a82bd2f2ad0401510694e9f4b70d83
#define VERSION_HASH 35dc9a18684dfa1c270a48309de38bf52d892383
#define VERSION_GIT_BRANCH simple_central_ma_pin
#endif