Add manufacturer/vendor handling#1835
Conversation
|
There is no SOMATICVR_ORION board type in firmware and shouldn't be. The whole idea of sending string as manufacturer was to get rid of the need to hardcode it and argue who should and shouldn't be added to board types. Also translations should not be committed here, they're done via Pontoon. |
|
yeah only en translations keys should be sent |
|
Thanks for the insight; I'm still learning! 💗 These changes correspond to the addition of
https://github.com/SomaticVR/SomaticVR-Tracker-ESP/blob/main/platformio.ini#L254 and the hope was to be able to have both the manufacturer and main board correctly populated in the server UI. If Would it be helpful if I stripped the translation and Will investigate Pontoon for translations -- thank you! 💗 |
|
The SolarXR PR is rejected for the mentioned reason. The text fields in protocol were added specifically for manufacturers to put anything they want in there, please use them. There is Vendor Name, URL and product name. It's not yet implemented in the GUI, but since you started on it would be cool if you could add that too :) |
|
Understood; I spent quite a lot of time digging around in all of this to try to figure out why the fields we added didn't seem to be doing anything, trying to understand how it worked or what the intent was -- and reached out as such here; is there any documentation around this stuff that I'm missing? 💗
I would love to! Can you confirm that I got it right with my existing I'm guessing |
|
It was added for future compatibility, we haven't implemented it ourselves. There is no documentation, but yes you're using it correct. Vendor is manufacturer. You can add URL as a separate line to the GUI that can be clickable by the user to open the manufacturer's site. |
|
Excellent! Will do!! Thank you so much for your quick and helpful responses!!! 💗✨ |
|
@Eirenliel I'm trying to figure how things line up across the codebases and there seems not be a direct relationship between SolarXR and the firmware (unlike the server, which uses it directly), and beyond that, I'm not sure there are any accommodations in SolarXR for these new fields? I see |
|
@Eirenliel just wanted to check and see if you had any insight on this? 💗 |
|
our interfacing with solarxr is very rough for all the manufacturer stuff. honestly i wouldnt mind a proposal to clean it up. nobody use it outside of gui so we can prob deprecate whatever fields do not make sense and make new ones. ideally we would remove all the hardcoded ids and enums ouside of supported mcus and imus. then boards would become more abstract. |
|
@loucass003 thanks for the quick response! will take a look at this... |
|
I want to remind, That we have a problem with the current handshake packet that is still not solved. |
|
@unlogisch04 I've applied @gorbit99's patch from kounocom/SlimeVR-Tracker-ESP@6e21ba0#diff-f9c2c74e084edc8f3bda0c3f9eb75959d82ef5da197cabed835b90c0e92f6524L547 to a fork of the firmware and testing suggests it fixes it; is there anything I can do to help with this? |
addresses part of #1236