component/bt : decrease callback cb param size

1. decrease callback cb param size
2. add write in gatt server demo
This commit is contained in:
Tian Hao
2016-11-23 15:34:21 +08:00
parent 9ec0fea8e1
commit 85aac3afa6
3 changed files with 27 additions and 13 deletions
@@ -60,7 +60,7 @@ typedef union {
bool need_rsp;
bool is_prep;
uint16_t len;
uint8_t value[ESP_GATT_MAX_ATTR_LEN];
uint8_t *value;
} write;
// param for ESP_GATTS_EXEC_WRITE_EVT
struct gatts_exec_write_evt_param {