by PedroR » Mon Mar 28, 2011 3:29 pm
by PedroR
Mon Mar 28, 2011 3:29 pm
Hi gigismero
Zig2Serial works simply as a Serial connection. (it's like a transparent replacement of a serial cable).
So you just need a JAVA class that opens the COMM port where the Zig2Serial is connected and start sending out bytes.
They will be received on the other Zigbee pair.
If you want to use it to control a Bioloid then there is a specific protocol (sequence of Bytes) that need to be sent to emulate the remote control. That can be found on the Robotis website or just by analysing the C code and check what sequence of Bytes need to be sent to achieve the functionality you want.
As for a direct answer: I am personally not aware of any JAVA sample written for Zigbee/Robotis but maybe someone here on the forum has already done it.
Pedro.
Hi gigismero
Zig2Serial works simply as a Serial connection. (it's like a transparent replacement of a serial cable).
So you just need a JAVA class that opens the COMM port where the Zig2Serial is connected and start sending out bytes.
They will be received on the other Zigbee pair.
If you want to use it to control a Bioloid then there is a specific protocol (sequence of Bytes) that need to be sent to emulate the remote control. That can be found on the Robotis website or just by analysing the C code and check what sequence of Bytes need to be sent to achieve the functionality you want.
As for a direct answer: I am personally not aware of any JAVA sample written for Zigbee/Robotis but maybe someone here on the forum has already done it.
Pedro.