From: tmk <nobody@nowhere>
Date: Thu, 18 Apr 2013 23:38:05 +0000 (+0900)
Subject: Rescue script from iWRAP MUX mode stuck
X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=90da1c59bd4e2d501bb0ccb670a90677f2f9c4e7;p=tmk_firmware.git

Rescue script from iWRAP MUX mode stuck
---

diff --git a/protocol/iwrap/mux_exit.rb b/protocol/iwrap/mux_exit.rb
new file mode 100644
index 0000000..1f6be48
--- /dev/null
+++ b/protocol/iwrap/mux_exit.rb
@@ -0,0 +1,7 @@
+#
+# Rescue from Bluegiga iWRAP MUX mode
+#    6.75 of iWRAP5_User_Guid.pdf
+#
+[0xBF, 0xFF, 0x00, 0x11, 0x53, 0x45, 0x54, 0x20, 0x43, 0x4f, 0x4e, 0x54, 0x52, 0x4f, 0x4c, 0x20, 0x4d, 0x55, 0x58, 0x20, 0x30, 0x00].each do |x| 
+  print x.chr
+end