View unanswered posts | View active topics It is currently Wed Aug 05, 2020 9:19 am






Reply to topic  [ 1 post ] 
Receiving BT messages via Processing 
Author Message
Rookie

Joined: Thu Oct 27, 2011 4:29 pm
Posts: 1
Post Receiving BT messages via Processing
i have successfully connected my nxt to my pc via the Processing scripting language and its bluetooth library. I was able to send messages successfully from the nxt to the processing environment and parse them, however any message i send back to the NXT doesnt seem to be receiving properly.

i am using the cCmdMessageRead and cCmdMessageGetSize function to receive on the robotC end, however the receive buffer always seems to be zero. additionally, i believe i am formatting the bytes correctly on the PC end, so the NXT would receives them correctly:

byte1: 0x00
byte2: 0x09
byte3: mailbox
byte4: size of message - 1

however i still have no luck. does anyone have experience with nxts and the processing bluetooth library, or come across a similar issue when trying to receive a message form the pc? thanks


Thu Oct 27, 2011 4:39 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 1 post ] 

Who is online

Users browsing this forum: No registered users and 1 guest


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.