Re: [PATCH v2 2/2] Bluetooth: btnxpuart: Add support for set BD address
From: Johan Korsnes
Date: Tue Jan 14 2025 - 08:53:35 EST
On 1/14/25 2:35 PM, Neeraj Sanjay Kale wrote:
> This adds support for setting BD address during hci registration. NXP
> FW does not allow vendor commands unless it receives a reset command
> after FW download and initialization done.
> As a workaround, the .set_bdaddr callback function will first send the
> HCI reset command, followed by the actual vendor command to set BD
> address.
>
Hi Neeraj,
If NXP firmware does not allow vendor commands prior to this reset, would
it not be better to perform this reset during probe/init?
Kind regards,
Johan