Skip to content

Bluetooth Example does memory manipulation in IRQ #82

@32BT

Description

@32BT

The Bluetooth example picow_ble_temp_sensor.py is not working for me. I never receive notifications of updated temperature. It seems the code attempts to add data to a set during an interrupt. This likely results in memory manipulation which is not allowed. The handle is subsequently not stored when I try the example so I never receive Notifications. If I assign the handle to a local var, it works as intended.

self._connections.add(conn_handle)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions