ev3dev / lms2012-compat

lms2012 VM compatibility layer for ev3dev
http://www.ev3dev.org
7 stars 4 forks source link

[Proposal] Special block to make bluetooth communication compatible between NXT to EV3 using EV3-G #56

Open jabrena opened 7 years ago

jabrena commented 7 years ago

Hi,

Maybe one interesting feature for this project could be the development a Hybrid block to solve the native problem to make communication between a EV3 brick to NXT brick. Maybe, from EV3-G it is possible to call something in a low level layer to solve the problem.

What is your opinion @dlech?

Cheers

Juan Antonio

dlech commented 7 years ago

It would be easy enough to add a new VM instruction to do this. However, I would not know how to make the EV3-G block for it. In the EV3-G developer kit from LEGO, there are some "gray blobs" that represent VM instructions (or sets of instructions). I don't know that it is possible to add any without getting LEGO to do it for us, which is not likely to happen.

I suppose you could do like what has been done in #37.

jabrena commented 7 years ago

I think that we could reuse some part of software released in other parts. When the block is executed underhood, some binary is executed to communicate from ev3 to nxt. It is a idea.