]> git.donarmstrong.com Git - tmk_firmware.git/commitdiff
Rescue script from iWRAP MUX mode stuck
authortmk <nobody@nowhere>
Thu, 18 Apr 2013 23:38:05 +0000 (08:38 +0900)
committertmk <nobody@nowhere>
Thu, 18 Apr 2013 23:38:05 +0000 (08:38 +0900)
protocol/iwrap/mux_exit.rb [new file with mode: 0644]

diff --git a/protocol/iwrap/mux_exit.rb b/protocol/iwrap/mux_exit.rb
new file mode 100644 (file)
index 0000000..1f6be48
--- /dev/null
@@ -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