I've been trying to do Bluetooth communication using the mailbox system on the NXT. I need to be able to do controls algorithms as well, so I can't do it in NXT-G.

So far I've gotten a com port set up on the PC side and I can transmit and receive messages correctly. However, I've been unable to get the NXT side of things working using RobotC code.

After searching the forums and the documentation/include files I've found a few different functions. The NxtMessageHandler.h file has a bunch of cCmdMessage functions, but in the documentation it warns that these don't work.

I've also found a function called transferFile which is in the Bluetooth documentation in RobotC. I haven't gotten this working yet, either.

Has anyone gotten the message system working in anything other than NXT-G or does anyone know which BT functions work in RobotC and how to use them?

Who is online

Users browsing this forum: No registered users and 2 guests

You cannot post new topics in this forumYou cannot reply to topics in this forumYou cannot edit your posts in this forumYou cannot delete your posts in this forumYou cannot post attachments in this forum