Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Utf8 support #60

Merged
merged 3 commits into from
Sep 4, 2017
Merged

Utf8 support #60

merged 3 commits into from
Sep 4, 2017

Conversation

chunfantasy
Copy link
Contributor

@chunfantasy chunfantasy commented Sep 1, 2017

On Thingy, since the device name can support 10 bytes,
so it now supports either
10 English letters,
or 5 Norwegian letters å/ø/æ
or 3 Chinese characters.

A English letter = 1 byte.
A 'ø', a 'æ' or a 'å' = 2 bytes.
A Chinese character = 3 bytes.

These scenarios have been tested.

However, there is another issue found.

When device is discovered while scanning, the device.name shows only 8 bytes,
although the name is displayed correctly which can support 10 bytes in GAP.

This happens the same on Android thingy app.

@chunfantasy chunfantasy merged commit a50b3bf into master Sep 4, 2017
@chunfantasy chunfantasy deleted the utf8-support branch September 5, 2017 07:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants