mirror of
https://github.com/apache/nuttx.git
synced 2026-05-30 13:27:01 +08:00
wireless/bluetooth and include/nuttx/wireless/bluetooth: Remove unnecessary gatt ioctls
This commit is contained in:
@@ -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;
|
||||
};
|
||||
|
||||
/****************************************************************************
|
||||
|
||||
@@ -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)
|
||||
|
||||
+216
-413
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user