Skip to content

Raspberry PI 4B support #667

@Ciantic

Description

@Ciantic

I'm trying to implement this, but since I have no expertise I got a bit stuck.

So far I have figured out how to get the LOCAL NAME printed out just once, notice: BCM4345C0 this means something is working somehow already.

sudo ./hid_mouse_demo
Packet Log: /tmp/hci_dump.pklg
Raspberry Pi UART type 3
H4, 3000000, BT_REG_EN at GPIO 129, Warm Boot
Power cycle 0
Flow control 1
Terminal device /dev/serial1
baud 13
current serial terminal parameter baudrate: 9600, flow control: None
Local name: BCM4345C0

Steps I did to get this far:

1. In config config.txt

[all]
dtoverlay=dwc2
dtoverlay=miniuart-bt
dtparam=krnbt=off

(Adding dtoverlay=disable-bt didn't help.)

2. ENABLE_CONTROLLER_WARM_BOOT

3. Added constant MODEL_4B

4. hard coded raspi_get_bluetooth_uart_type to return UART_HARDWARE_FLOW

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions