It seems there is a maxlen for _bleio.Adapter.name. When I try to set longer names (like more than 20 characters or so) _bleio starts acting strange.
No real error message at a specific point but somewhere while advertising.
Can you please specify maxlen for this attribute in the documentation?
Thanks
Thomas
Maxlen for _bleio.Adapter.Name
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- tannewt
- Posts: 3298
- Joined: Thu Oct 06, 2016 8:48 pm
Re: Maxlen for _bleio.Adapter.Name
Please file an issue. Sounds like we may want to raise an exception when the name is too long. https://github.com/adafruit/circuitpyth ... new/choose
- FriehoffT
- Posts: 56
- Joined: Wed Sep 11, 2019 7:30 am
Re: Maxlen for _bleio.Adapter.Name
Will do.
As I see it now, the crash / bad behavior can be observed only during the advertisement later in time.
Thomas
As I see it now, the crash / bad behavior can be observed only during the advertisement later in time.
Thomas
Please be positive and constructive with your questions and comments.