
Bluetooth - transferFile, cCmdMessageRead, and documentation
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?
Thanks for any help.