drivers/nble: Implement NBLE GATT discover response
Implement GATT nble_gattc_disc_rsp() function, may be tested with bluetooth shell app. Change-Id: I80c9596e83310902de40f6e91d2ecd4b5d2f3292 Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
This commit is contained in:
parent
b47df6e800
commit
ba169c5819
2 changed files with 234 additions and 2 deletions
|
@ -169,7 +169,19 @@ struct nble_gattc_prim_svc {
|
|||
*/
|
||||
struct nble_gattc_rsp {
|
||||
int status;
|
||||
uint16_t conn_handle; /**< GAP connection handle */
|
||||
uint16_t conn_handle;
|
||||
};
|
||||
|
||||
struct nble_gattc_primary {
|
||||
uint16_t handle;
|
||||
struct nble_gatt_handle_range range;
|
||||
struct bt_uuid_128 uuid;
|
||||
};
|
||||
|
||||
struct nble_gattc_included {
|
||||
uint16_t handle;
|
||||
struct nble_gatt_handle_range range;
|
||||
struct bt_uuid_128 uuid;
|
||||
};
|
||||
|
||||
struct nble_gattc_disc_rsp {
|
||||
|
@ -205,7 +217,7 @@ struct nble_gattc_characteristic {
|
|||
* GATTC descriptor.
|
||||
*/
|
||||
struct nble_gattc_descriptor {
|
||||
uint16_t handle; /**< descriptor handle */
|
||||
uint16_t handle; /**< descriptor handle */
|
||||
struct bt_uuid_128 uuid; /**< uuid of the descriptor */
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue