<div dir="ltr">Hello Tor, <div><br></div><div style>In fact, I've posed the same question when I see that base64 encoding thing... I'm not sure if that change anything if we also want some bluetooth transmission. For now I think I would stick to the existing protocol and focus on getting iOS remote to work as expected and then try to improve our existing protocol. </div>

<div style><br></div><div style>For now I've also noticed that the blank_screen_with_a_specified_color is platform dependent, which takes a color representation defined in Android. Maybe we can switch to a more standard color representation so that we can have that functionality in iOS as well. </div>

<div style><br></div><div style>I will keep track of all potential improvements on the existing protocol and investigate into that when I got my app to work. The base64 thing is just one line of code for now, and the rest of the protocol seems ok to me except the blank_screen_with_a_specified_color command. </div>

<div style><br></div><div style>However, if the gsoc team working on improving android app (hi there ^^) would also like to change something on the existing protocol, please let me know so that we can work on that right from the beginning. </div>

<div style><br></div><div style><br></div><div style>Siqi</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/6/11 Tor Lillqvist <span dir="ltr"><<a href="mailto:tml@iki.fi" target="_blank">tml@iki.fi</a>></span><br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra">Actually I wonder why the thumbnails need to be Base64 encoded at all; surely the communication is not going through any 7-bit short-lines-of-text -enforcing channel;) Would it not be possible to just pass the PNG (IIRC) bytes as such as a binary blob? Prefixed by information about its length, presumably. And then instead of writing/reading base64 encoded lines, just write/read the specified number of bytes. Would of course be incompatible with existing (Android) remote control implementations, so some way to negotiate versions of the protocol at start would be needed.</div>



<div class="gmail_extra"><br></div><div class="gmail_extra">--tml</div></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr"><div>--------</div><div><br></div><div>Cordialement,</div>Siqi LIU<div><br><div>Étudiant Ingérieur, Université de Technologie de Compiègne<br><div>

Vice-Président de l'association robotique UTCoupe</div></div><div>Responsable d'atelier de ClubChine</div></div><div><br></div><div>------</div><div>  Tel. +33 7 61 16 95 83<br></div><div>  email: <a href="mailto:me@siqi.fr" target="_blank">me@siqi.fr</a></div>

<div>------</div></div>
</div>