Hi Manish, > This patch adds the Advertisement Monitor Device Traching event. This > event indicates that the controller has stated/stopped tracking a > particular device matching one of the already added Advertisement > Monitor. > > Reviewed-by: Miao-chen Chou <mcchou@xxxxxxxxxx> > Reviewed-by: Yun-Hao Chung <howardchung@xxxxxxxxxx> > --- > > doc/mgmt-api.txt | 27 ++++++++++++++++++++++++++- > 1 file changed, 26 insertions(+), 1 deletion(-) > > diff --git a/doc/mgmt-api.txt b/doc/mgmt-api.txt > index 5355fedb0..06df3e914 100644 > --- a/doc/mgmt-api.txt > +++ b/doc/mgmt-api.txt > @@ -107,7 +107,8 @@ Configuration command, Default Runtime Configuration Changed event, Get > Device Flags command, Set Device Flags command, Device Flags Changed event, > Read Advertisement Monitor Features command, Add Advertisement Patterns > Monitor command, Remove Advertisement Monitor command, Advertisement Monitor > -Added event and Advertisement Monitor Removed event. > +Added event, Advertisement Monitor Removed event and Advertisement Monitor > +Device Tracking event. > > > Example > @@ -4910,3 +4911,27 @@ Controller Resume Event > Address_Type. Otherwise, Address and Address_Type will both be zero. > > This event will be sent to all management sockets. > + > + > +Advertisement Monitor Device Tracking Event > +=========================================== > + > + Event code: 0x002f > + Controller Index: <controller_id> > + Event Parameters: Monitor_Handle (2 octets) > + Monitor_State (1 octet) > + Address (6 octets) > + Address_Type (1 octet) > + > + This event indicates that the controller has started/stopped tracking > + a particular device matching the Advertisement Monitor with handle > + Monitor_Handle. > + > + Possible values for the Monitor_State parameter: > + 0 The controller has stopped tracking a device > + 1 The controller has started tracking a device > + > + The address of the device being tracked will be shared in Address and > + Address_Type. > + > + This event will be sent to all management sockets. I have to echo Luiz's comment here. How is this suppose to work. We now get a Device Found and Device Tracked event? Wouldn’t it be really better to have a “I am tracked” flag in the Device Found event? Regards Marcel