Index: output/otp.dat
===================================================================
--- /1121s/branch/shutter/branch/dy/JXY/yc1089s_jxy_7key_roll/output/otp.dat	(revision 3345)
+++ /1121s/branch/shutter/branch/dy/JXY/yc1089s_jxy_7key_roll/output/otp.dat	(working copy)
@@ -11,7 +11,7 @@
 00
 aa
 55
-52
+5a
 0a
 c2
 84
@@ -32,7 +32,7 @@
 c0
 0a
 02
-53
+55
 c0
 0a
 81
@@ -52,7 +52,7 @@
 c0
 12
 82
-75
+77
 c0
 13
 80
@@ -84,11 +84,11 @@
 c0
 6d
 02
-24
+26
 c0
 6e
 02
-34
+36
 20
 20
 23
@@ -108,11 +108,11 @@
 c0
 1c
 82
-6f
+71
 c0
 26
 82
-73
+75
 c1
 7f
 80
@@ -992,11 +992,11 @@
 20
 40
 01
-f6
+f8
 20
 40
 02
-21
+23
 20
 40
 00
@@ -1012,7 +1012,7 @@
 20
 20
 02
-23
+25
 20
 75
 80
@@ -1457,10 +1457,14 @@
 40
 a6
 0a
+70
+44
+f6
+0a
 58
 00
 01
-b0
+b2
 67
 e1
 43
@@ -1468,7 +1472,7 @@
 58
 00
 01
-96
+98
 67
 e1
 43
@@ -1476,7 +1480,7 @@
 58
 00
 01
-a2
+a4
 67
 e1
 43
@@ -1492,7 +1496,7 @@
 58
 00
 01
-7b
+7c
 67
 e1
 43
@@ -1508,7 +1512,7 @@
 58
 00
 01
-90
+91
 67
 e1
 43
@@ -1540,7 +1544,7 @@
 20
 40
 01
-80
+81
 20
 40
 70
@@ -1584,7 +1588,7 @@
 20
 22
 81
-8b
+8c
 1f
 e2
 04
@@ -1592,7 +1596,7 @@
 20
 40
 01
-8e
+8f
 1a
 20
 a2
@@ -1600,7 +1604,7 @@
 c2
 00
 01
-85
+86
 20
 60
 00
@@ -1634,9 +1638,13 @@
 63
 11
 20
-20
+40
 64
 d9
+20
+20
+63
+22
 1a
 62
 7e
@@ -1644,7 +1652,7 @@
 c0
 20
 01
-99
+9b
 20
 20
 64
@@ -1672,7 +1680,7 @@
 24
 3a
 01
-ad
+af
 6f
 e4
 4f
@@ -1692,7 +1700,7 @@
 c0
 12
 01
-a5
+a7
 20
 60
 00
@@ -1716,7 +1724,7 @@
 24
 3a
 01
-ad
+af
 6f
 e4
 4f
@@ -1780,7 +1788,7 @@
 20
 20
 01
-ba
+bc
 6f
 e1
 48
@@ -1844,7 +1852,7 @@
 20
 40
 01
-d7
+d9
 6f
 e1
 06
@@ -1892,7 +1900,7 @@
 c2
 00
 01
-c3
+c5
 20
 60
 00
@@ -1936,7 +1944,7 @@
 20
 20
 01
-e1
+e3
 1a
 60
 8c
@@ -1948,7 +1956,7 @@
 20
 20
 01
-e4
+e6
 20
 40
 65
@@ -1972,7 +1980,7 @@
 20
 40
 01
-ed
+ef
 18
 e2
 7e
@@ -2072,7 +2080,7 @@
 20
 40
 02
-13
+15
 2a
 2f
 fe
@@ -2104,7 +2112,7 @@
 20
 40
 02
-13
+15
 d8
 a0
 8a
@@ -2132,7 +2140,7 @@
 20
 21
 02
-08
+0a
 20
 20
 21
@@ -2236,7 +2244,7 @@
 20
 40
 02
-4c
+4e
 70
 8a
 08
@@ -2272,7 +2280,7 @@
 20
 40
 02
-42
+44
 6f
 f0
 8a
@@ -2316,7 +2324,7 @@
 20
 40
 02
-4c
+4e
 70
 80
 cd
@@ -2376,7 +2384,7 @@
 c3
 02
 82
-4d
+4f
 68
 59
 01
@@ -2412,7 +2420,7 @@
 c0
 08
 02
-6c
+6e
 58
 00
 57
@@ -2456,7 +2464,7 @@
 c0
 08
 02
-69
+6b
 58
 00
 2b
@@ -2492,7 +2500,7 @@
 20
 20
 02
-65
+67
 58
 00
 83
@@ -2504,7 +2512,7 @@
 20
 20
 02
-5a
+5c
 6f
 e0
 c3
@@ -2552,7 +2560,7 @@
 20
 40
 02
-7c
+7e
 20
 20
 24
@@ -2624,7 +2632,7 @@
 20
 22
 82
-8f
+91
 e7
 e0
 80
@@ -2644,7 +2652,7 @@
 c2
 00
 02
-89
+8b
 1a
 42
 04
@@ -2653,8 +2661,8 @@
 60
 00
 00
-94
-9c
+90
+38
 aa
 55
 40
@@ -4958,5 +4966,5 @@
 55
 b0
 5f
-f5
-29
+0e
+67
Index: output/ramcode.rom
===================================================================
--- /1121s/branch/shutter/branch/dy/JXY/yc1089s_jxy_7key_roll/output/ramcode.rom	(revision 3345)
+++ /1121s/branch/shutter/branch/dy/JXY/yc1089s_jxy_7key_roll/output/ramcode.rom	(working copy)
@@ -2,12 +2,12 @@
 c000001b
 c00100b7
 c00880c0
-c00a0253
+c00a0255
 c00a814c
 c00c015a
 c00c8119
 c00d00d2
-c0128275
+c0128277
 c0138046
 c051805c
 c05280a1
@@ -15,14 +15,14 @@
 c0550090
 c0588164
 c0628161
-c06d0224
-c06e0234
+c06d0226
+c06e0236
 2020235a
 c012001f
 c0128079
 c013007e
-c01c826f
-c0268273
+c01c8271
+c0268275
 c17f8000
 2020235a
 2435a002
@@ -242,12 +242,12 @@
 58557474
 67f18968
 7089606e
-204001f6
-20400221
+204001f8
+20400223
 204000fa
 7041480c
 20406f4e
-20200223
+20200225
 20758000
 37d98200
 6fe0c11c
@@ -359,19 +359,20 @@
 20406454
 20406459
 7040a60a
-580001b0
+7044f60a
+580001b2
 67e143db
-58000196
+58000198
 67e143dd
-580001a2
+580001a4
 67e143df
 580062d3
 67e143d3
-5800017b
+5800017c
 67e143d5
 58006329
 67e143d7
-58000190
+58000191
 67e143e3
 58006505
 67e14524
@@ -379,7 +380,7 @@
 2020647d
 20406f35
 7044ecff
-20400180
+20400181
 2040701b
 2020739a
 6fe0c6ce
@@ -390,11 +391,11 @@
 efe08011
 6848c6cf
 98467c00
-2022818b
+2022818c
 1fe20400
-2040018e
+2040018f
 1a20a201
-c2000185
+c2000186
 20600000
 79200407
 20206edd
@@ -403,27 +404,28 @@
 204064bc
 204064d3
 20406311
-202064d9
+204064d9
+20206322
 1a627e00
-c0200199
+c020019b
 202064e0
 6fe1433c
 c1000000
 6fe4450a
 207a0000
 20406730
-243a01ad
+243a01af
 6fe44f02
 67e442d3
 20202e93
 6fe14398
-c01201a5
+c01201a7
 20600000
 204078ad
 7044f101
 20406730
 2040432b
-243a01ad
+243a01af
 6fe44f02
 67e442d3
 20202e93
@@ -439,7 +441,7 @@
 20407ce1
 78547c00
 2040701b
-202001ba
+202001bc
 6fe148ac
 67e1442e
 204065be
@@ -455,7 +457,7 @@
 67e1068c
 18e27e00
 67e1067a
-204001d7
+204001d9
 6fe1068c
 1fe22600
 6fe1067a
@@ -467,7 +469,7 @@
 1fe0a60a
 6fe10678
 1fe27200
-c20001c3
+c20001c5
 20600000
 1a60a405
 efe20012
@@ -478,16 +480,16 @@
 24417806
 580003e8
 98467c00
-202001e1
+202001e3
 1a608c04
 efe08006
-202001e4
+202001e6
 2040656b
 6fe0cec9
 243a655d
 20406561
 20216500
-204001ed
+204001ef
 18e27e00
 c001e740
 20206559
@@ -512,7 +514,7 @@
 708ac200
 708ac300
 d8e00006
-20400213
+20400215
 2a2ffe0d
 2040211d
 2a4ffe0d
@@ -520,14 +522,14 @@
 d8e00005
 2040211c
 2040211e
-20400213
+20400215
 d8a08ac2
 1a31fe00
 20402117
 1a51fe00
 20402117
 18e08fff
-20210208
+2021020a
 2020214f
 2000003c
 58000f00
@@ -553,7 +555,7 @@
 6fe0c409
 67f080cd
 20000bb8
-2040024c
+2040024e
 708a08c1
 6a40c419
 df200008
@@ -562,7 +564,7 @@
 67e0c433
 6240c419
 20600000
-20400242
+20400244
 6ff08a09
 793ffe07
 67f08a09
@@ -573,7 +575,7 @@
 6fe0c409
 67f080cd
 20000bb8
-2040024c
+2040024e
 7080cd00
 20206fa1
 6ff080cc
@@ -588,7 +590,7 @@
 20600000
 7080cc03
 6ff08129
-c302824d
+c302824f
 68590164
 6049440a
 7080cc00
@@ -597,7 +599,7 @@
 708a8d12
 708a8e0a
 6fe0c099
-c008026c
+c008026e
 58005762
 67f10907
 70890103
@@ -608,7 +610,7 @@
 708a8d44
 708a8e0a
 6fe0c099
-c0080269
+c008026b
 58002bb1
 67f10907
 c6978000
@@ -617,10 +619,10 @@
 20600000
 58004189
 67f10907
-20200265
+20200267
 58008312
 67f10907
-2020025a
+2020025c
 6fe0c334
 c1000000
 c001b04a
@@ -632,7 +634,7 @@
 6fe240ad
 9840fe00
 67e240ad
-2040027c
+2040027e
 20202425
 600440e7
 d8c08070
@@ -650,11 +652,11 @@
 efe08011
 e8408013
 98467c00
-2022828f
+20228291
 e7e08013
 37d98200
 1a20a201
 1a60a601
-c2000289
+c200028b
 1a420400
 20600000
Index: program/patch.prog
===================================================================
--- /1121s/branch/shutter/branch/dy/JXY/yc1089s_jxy_7key_roll/program/patch.prog	(revision 3345)
+++ /1121s/branch/shutter/branch/dy/JXY/yc1089s_jxy_7key_roll/program/patch.prog	(working copy)
@@ -466,7 +466,7 @@
 	call shutter_dy_adv_conf
 
 	jam 0x0a,mem_lpm_overhead
-
+	jam 0x0a,mem_ble_shutter_reconn_timeout
 	setarg p_shutter_dy_process_idle
 	store 2,mem_cb_idle_process
 		
@@ -531,7 +531,8 @@
 	call shutter_dy_iphone_move_mid_timer
 	call shutter_dy_clear_key_state_timer
 	call shutter_check_sleep_timer
-	branch shutter_dy_check_power_off_timer	
+	call shutter_dy_check_power_off_timer
+	branch ble_shutter_reconn_timer	
 
 p_shutter_dy_process_bb_event:
 	copy regc,pdata
