|[C# & RobotC] Communicating by bluetooth always returns 240
|Page 1 of 1|
|Author:||absorr [ Thu Jan 30, 2014 9:03 am ]|
|Post subject:||[C# & RobotC] Communicating by bluetooth always returns 240|
No matter what message I send to the NXT brick via Bluetooth, it always thinks that I am saying 240. It connects very well, it sends the message, but it always thinks it is 240. I have no idea which side is causing it. My code is bellow. Any thoughts would be helpful. Thanks!
Server Side (Console App - C#)
Client Side (NXT - C)
|Author:||BurningLights [ Thu Jan 30, 2014 10:47 am ]|
|Post subject:||Re: [C# & RobotC] Communicating by bluetooth always returns|
I believe the problem would be that you are not sending the correct bytes before your message data. I have done Bluetooth communication with an NXT with great success from a C# program. I would recommend that you download and read Lego's Bluetooth Developer Kit to get an idea of what the NXT is looking for when it receives Bluetooth messages.
|Page 1 of 1||All times are UTC - 5 hours [ DST ]|
|Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group