mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-04-24 15:02:43 +00:00
gatt_client: fix build for gatt over eatt without gatt over classic
This commit is contained in:
parent
c40517c323
commit
1aa186af63
@ -190,10 +190,13 @@ typedef struct gatt_client{
|
|||||||
|
|
||||||
att_bearer_type_t bearer_type;
|
att_bearer_type_t bearer_type;
|
||||||
|
|
||||||
|
#if defined(ENABLE_GATT_OVER_CLASSIC) || defined(ENABLE_GATT_OVER_EATT)
|
||||||
|
uint16_t l2cap_cid;
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef ENABLE_GATT_OVER_CLASSIC
|
#ifdef ENABLE_GATT_OVER_CLASSIC
|
||||||
bd_addr_t addr;
|
bd_addr_t addr;
|
||||||
uint16_t l2cap_psm;
|
uint16_t l2cap_psm;
|
||||||
uint16_t l2cap_cid;
|
|
||||||
btstack_context_callback_registration_t callback_request;
|
btstack_context_callback_registration_t callback_request;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user