View unanswered posts | View active topics It is currently Wed Jul 23, 2014 5:08 am






Reply to topic  [ 1 post ] 
[Bluetooth]cCmdMessage / btSendmessage / SendmessageWithParm 
Author Message
Rookie

Joined: Sun May 04, 2008 2:20 pm
Posts: 2
Post [Bluetooth]cCmdMessage / btSendmessage / SendmessageWithParm
Hi,

There seem to be multiple ways of sending a message (NXT - NXT) via Bluetooth. Some of them are:

cCmdMessageWriteToBluetooth(nQueueID, nXmitBuffer, nSizeOfMessage)
btSendMessage(nResult, nPort, nXmitLength, nXmitBuffer, bWaitForReply)
SendMessageWithParm(dont know paramaters)

There's a similar function related to each of them for recieving messages.
The last one is of an older version of RobotC I believe (?).

Now I'm confused which one I should use for sending messages. I hope someone can tell me what the advantages/disadvantages of these functions are, and which I should definately use/not use.

Thanks.


Sun May 04, 2008 2:49 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 1 post ] 

Who is online

Users browsing this forum: No registered users and 2 guests


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

Search for:
Jump to:  



Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.