wireless/bluetooth and include/nuttx/wireless/bluetooth: Remove unnecessary gatt ioctls

This commit is contained in:
Lwazi Dube
2018-12-08 12:58:27 -06:00
committed by Gregory Nutt
parent 5de4fef4f2
commit 701c8abbbb
5 changed files with 256 additions and 487 deletions
+4
View File
@@ -108,6 +108,10 @@ struct bt_conn_s
uint8_t le_conn_interval;
bt_atomic_t ref;
enum bt_conn_state_e state;
/* Temporary data used by ioctl */
void *p_iostate;
};
/****************************************************************************
+8
View File
@@ -855,6 +855,14 @@ static void att_read_type_rsp(FAR struct bt_conn_s *conn, uint8_t err,
goto done;
}
/* Next characteristic shall be after current value handle */
params->start_handle = handle;
if (params->start_handle < UINT16_MAX)
{
params->start_handle++;
}
/* Stop if over the requested range */
if (params->start_handle >= params->end_handle)
File diff suppressed because it is too large Load Diff