Hi, Tayky (2016/05/02 19:51 +0200): > Hi, > I try, I try to understand this code, > unfortunately it's hard :( > This code is verry compact and hard for yong dev. > it's possible please, just a micro code for understand write and read > packet.
Sorry but I won't be able to write and above all test an example these days. But the packet structure is not too hard so basically ylu just have to read a packet header containing its type and size and then the packet content whose length you got from the header. See the brlapi_protocol.h file. If you want to reimplement the protocol in C, then you can at least re-use all the types and macros that are defined there. hth, Shérab. Shérab. _______________________________________________ This message was sent via the BRLTTY mailing list. To post a message, send an e-mail to: BRLTTY@mielke.cc For general information, go to: http://mielke.cc/mailman/listinfo/brltty