Answers.Body: <p>Using the documentation from <a href="http://ev3.fantastic.computer/doxygen/directcommands.html" rel="nofollow">here</a>, <a href="http://ev3.fantastic.computer/doxygen/cSound.html" rel="nofollow">here</a>, <a href="http://ev3.fantastic.computer/doxygen/bytecodedef.html" rel="nofollow">here</a> and <a href="https://github.com/mindboards/ev3sources/blob/78ebaf5b6f8fe31cc17aa5dce0f8e4916a4fc072/lms2012/lms2012/source/bytecodes.h#L1615" rel="nofollow">here</a>, the command for playing a tone should look something like this:</p>
  
  <pre><code>0x0F, 0x00,            // size of message = 14 bytes
  0x00, 0x00,            // message counter = 0 [can by any number]
  0x80,                  // command = DIRECT_COMMAND_NO_REPLY
  0x00, 0x00,            // 0 bytes for global variables, 0 bytes for local variables
  0x94,                  // opSOUND
  0x01,                  // CMD = TONE
  0x81, 0x32,            // VOLUME = LC1(50) [50%]
  0x82, 0x0B, 0x02       // FREQUENCY = LC2(523) [C5]
  0x82, 0xF4, 0x01,      // DURATION = LC2(500) [0.5s]
  </code></pre>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-09-08T08:16:40.300Z
Answers.Text: Spot on! Apparently, the EV3 is not backwards compatible with the NXT command set and doesn't tell you if you try. When I mentioned "the developer documentation", I meant the NXT Bluetooth developer kit from the Mindstorms site, but what I should have read was the EV3 firmware developer kit. Thanks!
Answers.UserDisplayName: Per
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-09-07T17:59:58.467Z
Answers.LastActivityDate: 2015-09-10T20:45:02.283Z
Answers.LastEditDate: 2015-09-10T20:45:02.283Z
Answers.UserDisplayName: David Lechner
Body: <p>I am trying to control the EV3 using direct commands over a Bluetooth connection. There are no issues pairing the brick with a PC or phone, and opening the serial connection works fine, but sending a direct command such as playing a tone with</p>
  
  <pre><code>0x06 0x00 0x00 0x03 0x0B 0x02 0xF4 0x01
  </code></pre>
  
  <p>does not produce a tone and does not provide a response on the serial connection, even though the telegram type byte requests it.</p>
  
  <p>I have tested direct commands using two different serial terminals on OS X and Windows 7, as well as an Android app made for this purpose and writing the bytes using my own custom program, and all of these give me the same results. However, the official Robot Commander app does work.</p>
  
  <p>Are there any special connection settings needed for commands to succeed, or any common pitfalls that I might have fallen into? I have read the developer documentation and didn't find any glaring problems.</p>
  
Tags: <mindstorms><nxt><ev3><bluetooth>
Title: No response when controlling the Mindstorms EV3 brick over Bluetooth
UserDisplayName: Per
ThreadText: # No response when controlling the Mindstorms EV3 brick over Bluetooth
  
  (Asked by: username_0 on 2015-09-07)
  
  I am trying to control the EV3 using direct commands over a Bluetooth connection. There are no issues pairing the brick with a PC or phone, and opening the serial connection works fine, but sending a direct command such as playing a tone with
  0x06 0x00 0x00 0x03 0x0B 0x02 0xF4 0x01
  
  does not produce a tone and does not provide a response on the serial connection, even though the telegram type byte requests it.
  I have tested direct commands using two different serial terminals on OS X and Windows 7, as well as an Android app made for this purpose and writing the bytes using my own custom program, and all of these give me the same results. However, the official Robot Commander app does work.
  Are there any special connection settings needed for commands to succeed, or any common pitfalls that I might have fallen into? I have read the developer documentation and didn't find any glaring problems.
  
  **Tags:** mindstorms, nxt, ev3, bluetooth
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2015-09-07. Score: 0 | Accepted answer
  
  Using the documentation from here, here, here and here, the command for playing a tone should look something like this:
  0x0F, 0x00,            // size of message = 14 bytes
  0x00, 0x00,            // message counter = 0 [can by any number]
  0x80,                  // command = DIRECT_COMMAND_NO_REPLY
  0x00, 0x00,            // 0 bytes for global variables, 0 bytes for local variables
  0x94,                  // opSOUND
  0x01,                  // CMD = TONE
  0x81, 0x32,            // VOLUME = LC1(50) [50%]
  0x82, 0x0B, 0x02       // FREQUENCY = LC2(523) [C5]
  0x82, 0xF4, 0x01,      // DURATION = LC2(500) [0.5s]
  
  > **Comments:**
  > **username_0**: Spot on! Apparently, the EV3 is not backwards compatible with the NXT command set and doesn't tell you if you try. When I mentioned "the developer documentation", I meant the NXT Bluetooth developer kit from the Mindstorms site, but what I should have read was the EV3 firmware developer kit. Thanks!  
  
  ---
  
  