Quick hack: ⚡ Emoji as your Bluetooth device name ⚡ #2930
Unanswered
gfwilliams
asked this question in
Puck.js, Pixl.js, Jolt.js and MDBT42
Replies: 1 comment
-
Posted at 2019-04-09 by @gfwilliams ... a quick note on this: The Web IDE and the By changing the start of the name away from Another way around this is to just set your device's name to |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Posted at 2019-04-08 by @gfwilliams
It's really simple... If you're feeling lucky, simply copy & paste the emoji and upload from the right-hand side of the IDE:
And this should work as long as your IDE is up to date.
If you're feeling more restrained, you just need the UTF-8 bytes for the emoji you're using - which you can get easily from:
https://apps.timwhitlock.info/emoji/tables/unicode
For instance the
high voltage sign
isU+26A1
, but the UTF-8 encoding as bytes is\xE2\x9A\xA1
So then just do:
Note: While it looks like you're only using 1 character, you are actually sending 3 or 4 bytes - you'll only be able to send a few unicode characters in the relatively small amount of space there is for an advertising name.
Attachments:
Beta Was this translation helpful? Give feedback.
All reactions