Week6-s2

Objectives
write the net2 network layer.

Progress
bad news: By the time I looked et JCSPre, I didn't had enough knowledge of JCSP to realise how light was this implementation. The net2 layer do not exist on JCSPre. The developement of a NXT compatible net2 network layer is, however, not compromised. The only NXT specific part of what I am coding is the initial stream construction. This task have been mastered last week. Everyting else should work exactly the same way regardless of the stream we use. The layer can, therefore, be tested using anything else that can provide two streams between the central "PC" different JVM.

The whole NXT side have been coded. Most of these component will be reused for the PC side. The only thng left I need to implement is the central packet redirection mechanism and the adress concistency checking mechanism on the server side.

I also noticed that Lejos do not support serialisation. current wrappers use serialisation but I knew this situation could occur and already prepared backup plans. Since every networked channels but one are using integers, only two filters will have to be produced.

I didn't tested yet but I will try to load JCSP's source code cleaned of its useless parts on a Lejos project to see what is exactly missing. It semms to me that the autor of JCSPre tried to reimplement JCSP from zero. I think most of the code can be reused. If the aproche suceed, the problem may be solved very qwickly.

Supervisor's Comments
Basically, a very short meeting.

Go away and continue with coding and testing!

Do not forget the writing!!!!!!!!!!