Skip to content

Problem connecting to BT from Linux/raspberry pi #14

@ivicajan

Description

@ivicajan

Hi all,
All is working fine until I connect via BT and on my linux laptop or raspberry pi. Tested with Android phone and Windows PC and it was fine. Seems like Linux based connections have problem:
Managed to pair and connect but after 1s it just disconnect. Seems like common problem on linux using bluez
sudo bluetoothctl
Agent registered
[bluetooth]# connect 08:3A:F2:66:DB:F2
Attempting to connect to 08:3A:F2:66:DB:F2
[CHG] Device 08:3A:F2:66:DB:F2 Connected: yes
[CHG] Device 08:3A:F2:66:DB:F2 ServicesResolved: yes
Failed to connect: org.bluez.Error.NotAvailable br-connection-profile-unavailable
[CHG] Device 08:3A:F2:66:DB:F2 ServicesResolved: no
[CHG] Device 08:3A:F2:66:DB:F2 Connected: no

Wondering if you have any idea how to make the connection via BT working on linux?
Another option would be serial 2 wifi in a similar way as you coded serial via BT.
There is a nice library: https://github.com/Invzblio/SerialToWifi/blob/main/src/SerialToWifi.h

Thanks in advance!

Cheers,
Ivica

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions