<p>Both of your examples are working for me. In the Bluetooth settings on the EV3, make sure "iPhone/iPad/iPod" is <em>not</em> checked.</p>

CC BY-SA 3.0
2014-10-22T07:04:19.653Z
Unchecking "iPhone/iPad/iPod" do the trick. Thanks a lot!
user4053
CC BY-SA 3.0
2014-10-22T09:33:49.103Z
Please consider accepting David Lechner's answer if it solved your problem.
Kramii
CC BY-SA 3.0
2014-10-22T09:36:55.277Z
Hi, as Kramii states, it would be really beneficial for everyone if you can accept Davids answer (click the little check mark below the vote count) - David and you will both get some rep, and other people will know what worked for you :)
Zhaph - Ben Duguid
CC BY-SA 3.0
2014-10-23T12:27:45.403Z
Vote up requires 15 reputation... which I do not have
user4053
CC BY-SA 3.0
2014-10-20T16:12:56.590Z
2014-10-20T16:12:56.590Z
David Lechner
<p>I tried to execute command (via bt) play tone:</p>

<pre><code>play_tone = '\x0F\x00\x00\x00\x80\x00\x00\x94\x01\x81\x02\x82\xE8\x03\x82\xE8\x03'
# send commands to EV3 via bluetooth
with open('/dev/tty.EV3-SerialPort', 'w', 0) as bt:
    bt.write(play_tone)
</code></pre>

<p>or start program “Demo” on EV3 brick</p>

<pre><code>run_demo = '\x30\x00\x00\x00\x80\x08\x00\xC0\x08\x82\x01\x00\x84\x2E\x2E\x2F\x70\x72\x6A\x73\x2F\x42\x72\x6B\x50\x72\x6F\x67\x5F\x53\x41\x56\x45\x2F\x44\x65\x6D\x6F\x2E\x72\x70\x66\x00\x60\x64\x03\x01\x60\x64\x00'
</code></pre>

<p>but nothing happens. No error in python script. Wireless connection status (EV3 brick display) show connected during script execution.</p>

<p>OS X 10.9.4, Python 2.7.5, EV3</p>

<ev3>
Lego EV3 doesn't respond to direct command
user4053
# Lego EV3 doesn't respond to direct command

(Asked by: username_0 on 2014-10-20)

I tried to execute command (via bt) play tone:
play_tone = '\x0F\x00\x00\x00\x80\x00\x00\x94\x01\x81\x02\x82\xE8\x03\x82\xE8\x03'
# send commands to EV3 via bluetooth
with open('/dev/tty.EV3-SerialPort', 'w', 0) as bt:
    bt.write(play_tone)

or start program “Demo” on EV3 brick
run_demo = '\x30\x00\x00\x00\x80\x08\x00\xC0\x08\x82\x01\x00\x84\x2E\x2E\x2F\x70\x72\x6A\x73\x2F\x42\x72\x6B\x50\x72\x6F\x67\x5F\x53\x41\x56\x45\x2F\x44\x65\x6D\x6F\x2E\x72\x70\x66\x00\x60\x64\x03\x01\x60\x64\x00'

but nothing happens. No error in python script. Wireless connection status (EV3 brick display) show connected during script execution.
OS X 10.9.4, Python 2.7.5, EV3

**Tags:** ev3


---

## 1 answers

### Answer by username_1 on 2014-10-20. Score: 1

Both of your examples are working for me. In the Bluetooth settings on the EV3, make sure "iPhone/iPad/iPod" is *not* checked.

> **Comments:**
> **username_0**: Unchecking "iPhone/iPad/iPod" do the trick. Thanks a lot!  
> **username_2**: Please consider accepting username_1's answer if it solved your problem.  
> **username_3**: Hi, as username_2 states, it would be really beneficial for everyone if you can accept Davids answer (click the little check mark below the vote count) - David and you will both get some rep, and other people will know what worked for you :)  
> **username_0**: Vote up requires 15 reputation... which I do not have  

---

