attempt to support all function

This commit is contained in:
weiting2
2020-08-03 13:34:09 +08:00
parent 2fa7be7675
commit 7debccc79a
2 changed files with 8 additions and 8 deletions
@@ -324,13 +324,13 @@ static void mem_send_ins(uint16_t handle, uint8_t *value){
req.sig = 0;
req.cmd = 0;
UART_write(uart_handle, req.pValue, req.len);
// UART_write(uart_handle, req.pValue, req.len);
// status = GATT_WriteCharValue(connHandle, &req, selfEntity);
// if ( status != SUCCESS )
// {
// GATT_bm_free((gattMsg_t *)&req, ATT_WRITE_REQ);
// }
status = GATT_WriteCharValue(connHandle, &req, selfEntity);
if ( status != SUCCESS )
{
GATT_bm_free((gattMsg_t *)&req, ATT_WRITE_REQ);
}
}
else
{
@@ -6,11 +6,11 @@
#define VERSION_DATE_MONTH 8
#define VERSION_DATE_DAY 3
#define VERSION_DATE_HOUR 13
#define VERSION_DATE_MINUTE 31
#define VERSION_DATE_MINUTE 34
// this is NOT the version hash !!
// it's the last version hash
#define VERSION_HASH 9310f36f543032726830bfcaaf0b86645e163fab
#define VERSION_HASH 2fa7be767584b1603bb060f1a3f3cfc40b52a92d
#define VERSION_GIT_BRANCH simple_central_ma_pin
#endif