8000 ComplexCharacteristic does not pass fixed_length instance variable to _bleio.Characteristic.add_to_service · Issue #96 · adafruit/Adafruit_CircuitPython_BLE · GitHub
[go: up one dir, main page]

Skip to content
ComplexCharacteristic does not pass fixed_length instance variable to _bleio.Characteristic.add_to_service #96
Open
@kevinjwalters

Description

@kevinjwalters

This does not pass a keyword arg of fixed_length and therefore picks up a False default value:

return _bleio.Characteristic.add_to_service(
service.bleio_service,
self.uuid.bleio_uuid,
initial_value=self.initial_value,
max_length=self.max_length,
properties=self.properties,
read_perm=self.read_perm,
write_perm=self.write_perm,
)

The class does have an instance variable of fixed_length - it looks like this was intended to be passed?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0