Hi Simon, On Mon, Nov 06, 2017 at 12:17:24PM -0800, Simon Ratner wrote: > Hi devs, > > I am looking to detect when a gatt service discovery request (a.k.a. find > information 0x04) is received / processed by nimble. Any pointers? I assume > the host is responsible for formulating the response to this request; > diving into the nimble core code is fine by me if someone points me to a > good place to start :)
As you suspected, the stack doesn't notify the application when a peer is performing service discovery. I think the best place for you to start is the ble_att_svr_rx_find_info() function (net/nimble/host/src/ble_att_svr.c). Chris
