Skip to content

the value of ble.device doesn't seem to be used #994

@hitchcme

Description

@hitchcme

5.15.44-Re4son-v7+ armv7l
bettercap v2.32.0 (built for linux arm with go1.19.2)
bettercap -debug
set ble.device 1; ble.recon on
_ finds two devices, but defaults to hci0
_ does same regardless of the manual setting, as if 1) the value isn't actually being used or 2.) it isn't actually changing
_ even though 'get ble.device' & 'active' reflect the change.

Changing the "-1" at line 10 in
"${ROOT}/modules/ble/ble_options_linux.go"
_ to be the ${wanted} interface index "works"...
_ although the "ble.device" setting still doesn't seem to be used except for display purposes, while the setting in
_ ble_options_linux.go seems to be used explicitly.

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