Re: [PATCH BlueZ 2/3] mesh: Add DevKeySend call

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

 



Hi Michał,

On Fri, 2019-06-28 at 15:29 +0200, Michał Lowas-Rzechonek wrote:
> Hi,
> 
> On 06/28, Michał Lowas-Rzechonek wrote:
> > +	if (!l_dbus_message_get_arguments(msg, "oqqay", &ele_path, &dst,
> > +							&net_idx, &iter_data))
> > +		return dbus_error(msg, MESH_ERROR_INVALID_ARGS, NULL);
> 
> I have a question here: what's the idea behind net_index argument in
> this API? There is no such argument in regular Send() call, and I don't

Unlike App Keys, Device keys do not have a bound Net Key...  They can be sent on *any* network key.  So while
sending a message on a specific App index implies the Net Key to use, the Dev Key send does not, and so needs
it to be explicit.



> quite get why.
> 
> regards




[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