Skip to content

Example throws error #9

Closed
Closed
@kbm15

Description

@kbm15

Running the ble_eddystone_simpletest.py throws the following error:

Traceback (most recent call last):   
  File "code.py", line 9, in <module>     
  File "adafruit_ble_eddystone/uid.py", line 60, in __init__     
  File "adafruit_ble_eddystone/__init__.py", line 121, in __init__     
  File "adafruit_ble_eddystone/__init__.py", line 61, in __set__    
  File "adafruit_ble/advertising/standard.py", line 368, in __set__     
TypeError: Value must be bytearray`

I've tried adding a cast to bytearray and also printing the type of uid and it keeps failing, but it returns bytearray as expected

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