Skip to content

BLE Security #72

@drahnieR

Description

@drahnieR

I'm trying to implement bluetooth security with go on an ubuntu box.

So it seems that muka/go-bluetooth does support those security related flags
https://github.com/muka/go-bluetooth/blob/33cdf2e25bf13c1883beefb53986fce1a7ad04a8/bluez/profile/gatt/gatt.go

But why only those without security are included in tinygo-org/bluetooth ?

bluetooth/gatts_linux.go

Lines 45 to 52 in b568c93

bluezCharFlags := []string{
gatt.FlagCharacteristicBroadcast, // bit 0
gatt.FlagCharacteristicRead, // bit 1
gatt.FlagCharacteristicWriteWithoutResponse, // bit 2
gatt.FlagCharacteristicWrite, // bit 3
gatt.FlagCharacteristicNotify, // bit 4
gatt.FlagCharacteristicIndicate, // bit 5
}

Does it mean that bluetooth security is not supported in this package, or I'm missing something here?

BTW, I was trying to use slack from contributing page for question like this, but it seems that the permission setting doesn't allow me to join.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions