Distinguish GAP Security Events & Other common GAP Events between GATT Client & Server

nisarg_sls
Posts: 10
Joined: Wed Jan 02, 2019 8:40 am

Distinguish GAP Security Events & Other common GAP Events between GATT Client & Server

Postby nisarg_sls » Fri May 03, 2019 6:56 am

Dear Sir/Madam,
We need to implement GATT Client + GAP Central & GATT Server + GAP Peripheral model with Security on the device.
As we have observed that GAP Security Events & Other GAP events are common between GATT Client + GAP Central & GATT Server + GAP Peripheral roles.
So how we can distinguish the GAP Security Events & other common GAP Events between GATT Client & Server roles?
So we can use those events according to their roles.

Kindly guide me on this issue.

If any further information will be needed, then please inform.

Thanks.
Regards,
Nisarg Shah

chegewara
Posts: 2376
Joined: Wed Jun 14, 2017 9:00 pm

Re: Distinguish GAP Security Events & Other common GAP Events between GATT Client & Server

Postby chegewara » Wed May 08, 2019 2:22 am

As we have observed that GAP Security Events & Other GAP events are common between GATT Client + GAP Central & GATT Server + GAP Peripheral roles.
So how we can distinguish the GAP Security Events & other common GAP Events between GATT Client & Server roles?
It is good observation, GAP events are not related to GATT role. You can build a device that wont have any GATT role and use only GAP role (observer or broadcaster). So you need to use exactly the same GAP events no matter what device you are trying to build.

nisarg_sls
Posts: 10
Joined: Wed Jan 02, 2019 8:40 am

Re: Distinguish GAP Security Events & Other common GAP Events between GATT Client & Server

Postby nisarg_sls » Wed May 15, 2019 8:29 am

Thanks for the reply. But we are deviating from the topic.
Our requirement is to implement GAP Central (who initiates the connection) with GATT client and GAP peripheral (who accepts the connection) with GATT server roles in our device.
As in ESP IDF, there is no distinction of GAP events between GAP Central and GAP Peripheral devices, as provided for GATT client & server events.
So guide us to distinguish the GAP events between Central & Peripheral.
Regards,
Nisarg Shah

Who is online

Users browsing this forum: Majestic-12 [Bot] and 142 guests