SlimeVR / SlimeVR-Server

Server app for SlimeVR ecosystem
https://slimevr.dev
Apache License 2.0
660 stars 174 forks source link

Cannot Set WIFI SSID that Contains Emoji #1201

Open erichowey opened 4 days ago

erichowey commented 4 days ago

Using SlimeVR server, I'm unable to set the wifi when the network's SSID contains emoji. The SSID that is sent is ? rather than the emoji. This works fine using the Butterscotch firmware tool so it appears to be a SlimeVR Server specific issue.

TheDevMinerTV commented 4 days ago

I... what.

  1. To use emojis, you need proper UTF-8 support which the tracker firmware doesn't have (and will ever have, it's just too big for the small micro controllers)
  2. The ? is very likely because somewhere the emoji's UTF-8 encoding gets broken
  3. Why do you have an emoji in your WiFi password... I'm surprised your router is even letting you do that. WPA2 explicitly states that only printable ASCII characters are allowed. (WPA3 isn't supported by the tracker hardware.)
erichowey commented 4 days ago

To use emojis, you need proper UTF-8 support which the tracker firmware doesn't have (and will ever have, it's just too big for the small micro controllers)

You might want to double check if you're correct or not. My wifi configuration with the SSID containing emojis works perfectly fine using the butterscotch site or using PlatformIO directly. It only doesn't work with SlimeVR server.

Why do you have an emoji in your WiFi password...

I'm not. I said i'm using emoji in the wifi SSID - not password

erichowey commented 4 days ago

See? Works perfectly fine. image

TheDevMinerTV commented 4 days ago

I'm not. I said i'm using emoji in the wifi SSID - not password

Oops, missed that. Yeah, the SSID can be whatever, as long as it's 32 bytes with a NUL byte at the end.

Still definitely a weird issue lol