RE: Advertising report address types in mesh-io-generic

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Michal,

> -----Original Message-----
> From: linux-bluetooth-owner@xxxxxxxxxxxxxxx [mailto:linux-bluetooth-
> owner@xxxxxxxxxxxxxxx] On Behalf Of Michal Lowas-Rzechonek
> Sent: Thursday, December 20, 2018 8:17 AM
> To: linux-bluetooth@xxxxxxxxxxxxxxx
> Subject: Advertising report address types in mesh-io-generic
> 
> Hi,
> 
> I've noticed that mesh-io-generic.c filters advertising report events by
> address type:
> 
> static void event_adv_report(struct mesh_io *io, const void *buf, uint8_t
> size) {
>     ...
> 
> 	if (evt->addr_type != BDADDR_LE_PUBLIC &&
> 			evt->addr_type != BDADDR_LE_RANDOM)
> 		return;

Address types can be BR/EDR (0x00), LE Public (0x01), and LE Random (0x02).

This filters out BR/EDR advertisements, which are not supported in Mesh. (should be LE Only).

> 
> Does anyone know why (Brian?)?
> 
> Bluetooth Mesh spec doesn't mention address types at all, so I assumed that
> this layer shouldn't really care about MAC addresses and their types.
> 
> --
> Michał Lowas-Rzechonek <michal.lowas-rzechonek@xxxxxxxxxxx>
> Silvair http://silvair.com
> Jasnogórska 44, 31-358 Krakow, POLAND




[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux