Index: output/flash.dat
===================================================================
--- /branch/mouse_project/YJX_Project/YJX_1059/YJX-133_OnlyBLE/output/flash.dat	(revision 5488)
+++ /branch/mouse_project/YJX_Project/YJX_1059/YJX-133_OnlyBLE/output/flash.dat	(working copy)
@@ -2,7 +2,7 @@
 02
 aa
 55
-8e
+92
 1f
 20
 20
@@ -23,7 +23,7 @@
 20
 40
 06
-ef
+f0
 68
 00
 c6
@@ -51,7 +51,7 @@
 20
 40
 07
-7e
+7f
 20
 40
 00
@@ -83,7 +83,7 @@
 58
 00
 06
-2f
+33
 60
 01
 41
@@ -275,43 +275,43 @@
 c0
 42
 87
-5b
+5c
 c0
 44
 87
-2c
+2d
 c0
 0d
 86
-47
+4b
 c0
 13
 06
-49
+4d
 c0
 24
 06
-64
+68
 c0
 25
 06
-6b
+6f
 c0
 28
 86
-74
+78
 c0
 2c
 86
-62
+66
 c0
 53
 86
-79
+7d
 c0
 56
 86
-92
+93
 c0
 65
 b3
@@ -319,7 +319,7 @@
 c0
 74
 86
-a3
+a4
 c0
 50
 80
@@ -343,19 +343,19 @@
 c0
 73
 05
-44
+48
 c0
 75
 05
-7c
+80
 c0
 75
 85
-80
+84
 c0
 76
 05
-87
+8b
 20
 20
 2a
@@ -363,67 +363,67 @@
 c0
 1c
 85
-90
+94
 c0
 21
 85
-98
+9c
 c0
 25
 05
-9e
+a2
 c0
 2b
 85
-a1
+a5
 c0
 2c
 85
-a3
+a7
 c0
 31
 85
-a5
+a9
 c0
 33
 05
-cf
+d3
 c0
 33
 85
-e6
+ea
 c0
 35
 06
-1c
+20
 c0
 3b
 86
-25
+29
 c0
 02
 86
-a5
+a6
 c0
 40
 06
-a7
+a8
 c0
 41
 06
-b1
+b2
 c0
 44
 06
-b3
+b4
 c0
 46
 06
-35
+39
 c0
 46
 86
-41
+45
 c0
 50
 05
@@ -431,7 +431,7 @@
 c0
 7d
 06
-d7
+d8
 20
 20
 2a
@@ -603,7 +603,7 @@
 20
 40
 07
-00
+01
 58
 01
 77
@@ -963,7 +963,7 @@
 20
 40
 06
-f6
+f7
 20
 20
 01
@@ -1007,7 +1007,7 @@
 20
 40
 06
-f6
+f7
 70
 4d
 58
@@ -1343,7 +1343,7 @@
 20
 40
 06
-f2
+f3
 70
 4b
 58
@@ -1431,7 +1431,7 @@
 20
 40
 06
-ef
+f0
 20
 20
 01
@@ -1551,11 +1551,11 @@
 20
 40
 07
-23
+24
 20
 40
 06
-f6
+f7
 20
 20
 01
@@ -1635,7 +1635,7 @@
 20
 20
 07
-5d
+5e
 70
 11
 c5
@@ -1643,7 +1643,7 @@
 20
 20
 07
-5d
+5e
 70
 11
 c5
@@ -1651,7 +1651,7 @@
 20
 20
 07
-5d
+5e
 70
 11
 c5
@@ -1659,7 +1659,7 @@
 20
 20
 07
-5d
+5e
 70
 11
 9e
@@ -2799,7 +2799,7 @@
 20
 40
 05
-83
+87
 20
 20
 7d
@@ -3167,7 +3167,7 @@
 20
 20
 07
-5d
+5e
 68
 08
 cb
@@ -3863,7 +3863,7 @@
 20
 20
 05
-63
+67
 70
 4b
 49
@@ -4467,7 +4467,7 @@
 20
 40
 05
-67
+6b
 68
 08
 c6
@@ -4483,7 +4483,7 @@
 20
 40
 05
-70
+74
 68
 00
 c6
@@ -4519,7 +4519,7 @@
 20
 40
 05
-70
+74
 20
 20
 3d
@@ -4591,7 +4591,7 @@
 20
 20
 07
-5d
+5e
 70
 4b
 6a
@@ -4607,7 +4607,7 @@
 20
 20
 07
-5d
+5e
 70
 0a
 99
@@ -4623,7 +4623,7 @@
 20
 20
 07
-5d
+5e
 70
 11
 c5
@@ -4631,7 +4631,7 @@
 20
 20
 07
-5d
+5e
 70
 11
 c5
@@ -4639,7 +4639,7 @@
 20
 20
 07
-5d
+5e
 20
 40
 43
@@ -4655,7 +4655,7 @@
 20
 20
 07
-5d
+5e
 70
 48
 09
@@ -4679,7 +4679,7 @@
 20
 20
 07
-5d
+5e
 70
 11
 c5
@@ -4687,7 +4687,7 @@
 20
 20
 07
-5d
+5e
 20
 20
 3f
@@ -4703,7 +4703,7 @@
 20
 20
 07
-5d
+5e
 68
 00
 ca
@@ -4871,7 +4871,7 @@
 20
 20
 05
-80
+84
 da
 60
 48
@@ -5007,7 +5007,7 @@
 20
 40
 05
-67
+6b
 68
 08
 c6
@@ -5023,7 +5023,7 @@
 20
 40
 05
-70
+74
 68
 00
 c6
@@ -5047,7 +5047,7 @@
 20
 40
 05
-70
+74
 20
 40
 04
@@ -5349,6 +5349,22 @@
 00
 00
 68
+01
+46
+82
+c3
+85
+80
+00
+68
+00
+cb
+50
+24
+7a
+00
+00
+68
 00
 c6
 cf
@@ -5367,7 +5383,7 @@
 24
 41
 05
-42
+46
 c0
 01
 03
@@ -5411,7 +5427,7 @@
 20
 40
 05
-75
+79
 20
 40
 40
@@ -5423,15 +5439,15 @@
 20
 40
 05
-4e
+52
 24
 34
 07
-7e
+7f
 20
 40
 07
-81
+82
 20
 20
 3f
@@ -5439,7 +5455,7 @@
 20
 40
 05
-50
+54
 20
 20
 40
@@ -5451,7 +5467,7 @@
 20
 40
 05
-53
+57
 20
 20
 40
@@ -5463,7 +5479,7 @@
 20
 40
 05
-70
+74
 68
 08
 c6
@@ -5483,7 +5499,7 @@
 20
 40
 05
-70
+74
 68
 08
 c6
@@ -5503,7 +5519,7 @@
 20
 40
 05
-70
+74
 68
 08
 c6
@@ -5591,7 +5607,7 @@
 20
 20
 05
-6b
+6f
 68
 00
 c6
@@ -5599,7 +5615,7 @@
 c0
 02
 05
-7a
+7e
 20
 40
 3f
@@ -5635,7 +5651,7 @@
 20
 20
 07
-5d
+5e
 70
 4b
 5e
@@ -5647,7 +5663,7 @@
 20
 20
 07
-5d
+5e
 d8
 a0
 43
@@ -5727,7 +5743,7 @@
 20
 40
 07
-00
+01
 20
 20
 53
@@ -5775,7 +5791,7 @@
 20
 20
 07
-5d
+5e
 70
 11
 c5
@@ -5783,7 +5799,7 @@
 20
 20
 07
-5d
+5e
 68
 00
 84
@@ -5791,11 +5807,11 @@
 c2
 82
 85
-b9
+bd
 20
 40
 06
-f2
+f3
 68
 00
 c7
@@ -5803,7 +5819,7 @@
 24
 3a
 05
-af
+b3
 68
 00
 84
@@ -5811,7 +5827,7 @@
 c3
 02
 05
-b3
+b7
 68
 00
 82
@@ -5819,7 +5835,7 @@
 20
 3a
 05
-b3
+b7
 20
 20
 56
@@ -5847,7 +5863,7 @@
 c0
 82
 85
-b6
+ba
 70
 47
 8e
@@ -5867,11 +5883,11 @@
 20
 40
 05
-bb
+bf
 20
 20
 05
-c7
+cb
 68
 00
 c6
@@ -5923,7 +5939,7 @@
 20
 20
 06
-f6
+f7
 68
 00
 c7
@@ -6007,7 +6023,7 @@
 c0
 01
 85
-de
+e2
 20
 20
 56
@@ -6019,7 +6035,7 @@
 c0
 00
 85
-e1
+e5
 20
 20
 5c
@@ -6051,11 +6067,11 @@
 c0
 02
 05
-ea
+ee
 c0
 03
 06
-17
+1b
 20
 20
 56
@@ -6067,7 +6083,7 @@
 20
 40
 05
-c8
+cc
 20
 40
 7e
@@ -6083,7 +6099,7 @@
 c0
 08
 05
-f9
+fd
 1f
 ec
 84
@@ -6095,7 +6111,7 @@
 20
 21
 06
-07
+0b
 d8
 40
 47
@@ -6179,7 +6195,7 @@
 c0
 05
 06
-09
+0d
 20
 20
 58
@@ -6195,7 +6211,7 @@
 c2
 81
 86
-10
+14
 68
 01
 04
@@ -6223,7 +6239,7 @@
 24
 22
 86
-0c
+10
 20
 40
 5a
@@ -6231,7 +6247,7 @@
 24
 34
 06
-0c
+10
 70
 04
 7a
@@ -6247,7 +6263,7 @@
 c0
 02
 86
-1a
+1e
 20
 20
 5a
@@ -6259,7 +6275,7 @@
 20
 20
 07
-5d
+5e
 68
 00
 80
@@ -6271,7 +6287,7 @@
 20
 40
 06
-20
+24
 20
 20
 57
@@ -6303,7 +6319,7 @@
 20
 37
 06
-28
+2c
 24
 36
 d8
@@ -6399,7 +6415,7 @@
 20
 40
 06
-42
+46
 60
 18
 80
@@ -6439,7 +6455,7 @@
 20
 20
 07
-5d
+5e
 20
 40
 21
@@ -6475,7 +6491,7 @@
 c5
 05
 86
-56
+5a
 20
 40
 24
@@ -6483,11 +6499,11 @@
 24
 3a
 06
-4f
+53
 c5
 16
 86
-5e
+62
 20
 20
 21
@@ -6523,7 +6539,7 @@
 20
 20
 06
-4f
+53
 68
 02
 01
@@ -6587,7 +6603,7 @@
 20
 40
 86
-6f
+73
 20
 20
 24
@@ -6603,15 +6619,15 @@
 20
 40
 86
-f6
+f7
 24
 40
 86
-f2
+f3
 20
 20
 07
-00
+01
 20
 40
 24
@@ -6659,23 +6675,11 @@
 68
 00
 c6
-cf
-1f
-e6
-7c
-0a
-20
-61
-00
-00
-68
-00
-c6
 5a
 20
 3a
 06
-86
+87
 68
 00
 c5
@@ -6783,7 +6787,7 @@
 20
 5a
 06
-a0
+a1
 20
 20
 2b
@@ -6807,7 +6811,7 @@
 20
 20
 07
-5d
+5e
 70
 11
 c5
@@ -6815,7 +6819,7 @@
 20
 20
 07
-5d
+5e
 68
 00
 85
@@ -6827,7 +6831,7 @@
 c0
 09
 86
-ab
+ac
 20
 20
 5d
@@ -6863,7 +6867,7 @@
 20
 20
 07
-5d
+5e
 20
 40
 62
@@ -6883,11 +6887,11 @@
 c0
 02
 06
-d5
+d6
 c0
 08
 06
-ba
+bb
 20
 20
 63
@@ -6903,7 +6907,7 @@
 c0
 00
 86
-be
+bf
 20
 20
 63
@@ -6919,7 +6923,7 @@
 c2
 80
 06
-c2
+c3
 20
 20
 63
@@ -6987,7 +6991,7 @@
 24
 21
 06
-d3
+d4
 20
 20
 63
@@ -7027,15 +7031,15 @@
 c0
 0f
 86
-e2
+e3
 c0
 10
 06
-e5
+e6
 c0
 09
 06
-df
+e0
 20
 20
 7d
@@ -7063,7 +7067,7 @@
 20
 20
 06
-e7
+e8
 70
 01
 85
@@ -7143,7 +7147,7 @@
 24
 41
 06
-fe
+ff
 68
 00
 cd
@@ -7207,7 +7211,7 @@
 c5
 13
 07
-0a
+0b
 58
 00
 00
@@ -7219,7 +7223,7 @@
 24
 21
 07
-22
+23
 68
 00
 cd
@@ -7231,7 +7235,7 @@
 24
 21
 07
-12
+13
 68
 00
 cd
@@ -7239,7 +7243,7 @@
 c0
 00
 07
-23
+24
 20
 60
 00
@@ -7267,7 +7271,7 @@
 c5
 13
 07
-19
+1a
 58
 00
 00
@@ -7287,7 +7291,7 @@
 c0
 00
 07
-2a
+2b
 1f
 e0
 ff
@@ -7299,7 +7303,7 @@
 c0
 00
 07
-2a
+2b
 70
 41
 de
@@ -7319,7 +7323,7 @@
 c0
 01
 07
-28
+29
 1f
 e0
 fe
@@ -7331,7 +7335,7 @@
 c0
 00
 87
-20
+21
 70
 41
 de
@@ -7415,19 +7419,19 @@
 c0
 01
 07
-44
+45
 c0
 02
 07
-49
+4a
 c0
 10
 07
-58
+59
 20
 40
 07
-4e
+4f
 70
 89
 55
@@ -7447,7 +7451,7 @@
 20
 40
 07
-53
+54
 70
 89
 55
@@ -7467,7 +7471,7 @@
 20
 40
 07
-4e
+4f
 70
 89
 55
@@ -7563,7 +7567,7 @@
 20
 22
 87
-7c
+7d
 60
 08
 cb
@@ -7639,7 +7643,7 @@
 24
 22
 87
-6d
+6e
 20
 40
 03
@@ -7699,7 +7703,7 @@
 20
 40
 07
-d2
+d3
 58
 00
 00
@@ -7707,7 +7711,7 @@
 20
 40
 07
-c5
+c6
 58
 00
 00
@@ -7715,7 +7719,7 @@
 20
 40
 07
-cb
+cc
 68
 00
 cb
@@ -7723,11 +7727,11 @@
 c0
 00
 87
-8b
+8c
 20
 20
 07
-7e
+7f
 68
 01
 4b
@@ -7747,7 +7751,7 @@
 20
 40
 07
-9e
+9f
 68
 01
 11
@@ -7783,7 +7787,7 @@
 20
 40
 07
-9e
+9f
 68
 01
 11
@@ -7827,7 +7831,7 @@
 20
 20
 87
-ab
+ac
 68
 00
 91
@@ -7835,7 +7839,7 @@
 c0
 7f
 87
-b2
+b3
 68
 00
 91
@@ -7863,7 +7867,7 @@
 c0
 00
 07
-af
+b0
 68
 01
 91
@@ -7871,7 +7875,7 @@
 20
 20
 07
-a7
+a8
 70
 11
 c4
@@ -7883,7 +7887,7 @@
 20
 20
 07
-a7
+a8
 68
 00
 91
@@ -7891,7 +7895,7 @@
 20
 40
 07
-bd
+be
 60
 00
 91
@@ -7903,7 +7907,7 @@
 20
 3a
 07
-bb
+bc
 58
 00
 00
@@ -7927,7 +7931,7 @@
 20
 20
 07
-b8
+b9
 1f
 e6
 7e
@@ -7967,7 +7971,7 @@
 24
 21
 07
-d0
+d1
 9a
 46
 7c
@@ -7975,7 +7979,7 @@
 24
 21
 07
-d0
+d1
 70
 4b
 0b
@@ -8003,7 +8007,7 @@
 20
 20
 07
-c9
+ca
 70
 4b
 0b
@@ -8023,7 +8027,7 @@
 20
 40
 07
-db
+dc
 1f
 e2
 22
@@ -8039,7 +8043,7 @@
 20
 40
 07
-db
+dc
 1f
 e2
 24
@@ -8055,7 +8059,7 @@
 c0
 7f
 87
-e0
+e1
 68
 00
 91
@@ -8079,9 +8083,9 @@
 20
 20
 07
-de
-f5
-37
+df
+1f
+57
 aa
 55
 08
@@ -8566,7 +8570,7 @@
 44
 8e
 b3
-30
+32
 0e
 8e
 ed
@@ -8652,7 +8656,7 @@
 00
 d2
 46
-02
+01
 aa
 55
 01
@@ -9207,14 +9211,14 @@
 00
 70
 4b
-08
+0c
 30
 00
 55
 aa
 aa
 55
-f4
+f5
 25
 ff
 20
@@ -10084,7 +10088,7 @@
 20
 40
 05
-7e
+82
 20
 20
 03
@@ -10764,7 +10768,7 @@
 c0
 28
 80
-2f
+2d
 20
 60
 00
@@ -10789,14 +10793,6 @@
 47
 9c
 00
-68
-01
-46
-82
-c2
-85
-80
-13
 20
 40
 03
@@ -10884,7 +10880,7 @@
 20
 40
 80
-26
+24
 68
 00
 c0
@@ -10936,7 +10932,7 @@
 20
 40
 05
-83
+87
 20
 20
 7d
@@ -10956,7 +10952,7 @@
 24
 3a
 00
-39
+37
 70
 4d
 65
@@ -11009,6 +11005,14 @@
 00
 00
 00
+00
+00
+00
+00
+00
+00
+00
+00
 20
 20
 00
@@ -12293,5 +12297,5 @@
 55
 00
 00
-41
-59
+c8
+ed
Index: output/program.lis
===================================================================
--- /branch/mouse_project/YJX_Project/YJX_1059/YJX-133_OnlyBLE/output/program.lis	(revision 5488)
+++ /branch/mouse_project/YJX_Project/YJX_1059/YJX-133_OnlyBLE/output/program.lis	(working copy)
@@ -10,14 +10,14 @@
 0001 20400415 call p_mouse_data_init 
 0002 6800c1de fetch 1 ,mem_tx_power 
 0003 6000ccdc store 1 ,mem_tx_power_temp 
-0004 204006ef call power_ctrl_pac_succ_cnt_init 
+0004 204006f0 call power_ctrl_pac_succ_cnt_init 
 0005 6800c685 fetch 1 ,mem_ui_button_timeout 
 0006 6000cb44 store 1 ,mem_select_ui_button_count 
 0007 6800cb30 fetch 1 ,mem_bt_ui_button_timeout 
 0008 6000cb31 store 1 ,mem_bt_ui_button_count 
 0009 204043ca call mouse_bt_discovery_button_down_disable 
 000a 2040034a call p_mouse_spi_init 
-000b 2040077e call p_drawing_optima_init 
+000b 2040077f call p_drawing_optima_init 
 000c 2040000f call p_mouse_cb_fuction 
 000d 20400022 call p_mouse_wakeup_from_power 
 000e 20200315 branch p_mouse_setting_config 
@@ -27,7 +27,7 @@
 0010 60014d56 store 2 ,mem_cb_24g_data 
 0011 58000402 setarg p_mouse_le 
 0012 600141ef store 2 ,mem_cb_le_process 
-0013 5800062f setarg p_le_mouse_bb_event_connect_complete 
+0013 58000633 setarg p_le_mouse_bb_event_connect_complete 
 0014 600141f9 store 2 ,mem_cb_att_write 
 0015 58000430 setarg p_mouse_bt 
 0016 600141f1 store 2 ,mem_cb_bt_process 
@@ -83,48 +83,48 @@
 0040 c2840059 bbit1 8 ,pf_patch_ext 
 0041 c000806c beq patch00_1 ,p_soft_reset_1 
 0042 c0010076 beq patch00_2 ,p_soft_reset_2 
-0043 c042875b beq patch10_5 ,p_shutdown_radio 
-0044 c044872c beq patch11_1 ,p_set_freq_tx 
-0045 c00d8647 beq patch03_3 ,p_page_wait_fhs_reply_ok 
-0046 c0130649 beq patch04_6 ,p_role_switch_master 
-0047 c0240664 beq patch09_0 ,p_quit_connection_cont 
-0048 c025066b beq patch09_2 ,p_prepare_tx 
-0049 c0288674 beq patch0a_1 ,p_slave_conn_recv_packet 
-004a c02c8662 beq patch0b_1 ,p_process_dmh 
-004b c0538679 beq patch14_7 ,p_lpm_dispatch 
-004c c0568692 beq patch15_5 ,p_lpm_set_mult 
+0043 c042875c beq patch10_5 ,p_shutdown_radio 
+0044 c044872d beq patch11_1 ,p_set_freq_tx 
+0045 c00d864b beq patch03_3 ,p_page_wait_fhs_reply_ok 
+0046 c013064d beq patch04_6 ,p_role_switch_master 
+0047 c0240668 beq patch09_0 ,p_quit_connection_cont 
+0048 c025066f beq patch09_2 ,p_prepare_tx 
+0049 c0288678 beq patch0a_1 ,p_slave_conn_recv_packet 
+004a c02c8666 beq patch0b_1 ,p_process_dmh 
+004b c053867d beq patch14_7 ,p_lpm_dispatch 
+004c c0568693 beq patch15_5 ,p_lpm_set_mult 
 004d c065b3e4 beq patch19_3 ,app_bt_start_reconnect + 3 
-004e c07486a3 beq patch1d_1 ,p_mouse_bb_disconnected 
+004e c07486a4 beq patch1d_1 ,p_mouse_bb_disconnected 
 004f c050807f beq patch14_1 ,p_init_param 
 0050 c0588084 beq patch16_1 ,p_lpm_check_wake_lock 
 0051 c059008c beq patch16_2 ,p_g24_dispatch 
 0052 c062028e beq patch18_4 ,p_device_init 
 0053 c07182ed beq patch1c_3 ,p_mouse_seting_dpi 
-0054 c0730544 beq patch1c_6 ,p_mouse_motion 
-0055 c075057c beq patch1d_2 ,p_mouse_bb_event_discovery_btn 
-0056 c0758580 beq patch1d_3 ,p_mouse_start_discovery 
-0057 c0760587 beq patch1d_4 ,p_mouse_stop_discovery 
+0054 c0730548 beq patch1c_6 ,p_mouse_motion 
+0055 c0750580 beq patch1d_2 ,p_mouse_bb_event_discovery_btn 
+0056 c0758584 beq patch1d_3 ,p_mouse_start_discovery 
+0057 c076058b beq patch1d_4 ,p_mouse_stop_discovery 
 0058 20202a8e branch loop 
 
 pf_patch_ext:
-0059 c01c8590 beq patch27_1 ,p_le_slave_match 
-005a c0218598 beq patch28_3 ,p_le_next_adv_channel 
-005b c025059e beq patch29_2 ,p_le_receive_skip 
-005c c02b85a1 beq patch2a_7 ,p_le_update_param 
-005d c02c85a3 beq patch2b_1 ,p_le_update_channel_map 
-005e c03185a5 beq patch2c_3 ,p_le_prepare_tx 
-005f c03305cf beq patch2c_6 ,p_le_parse 
-0060 c03385e6 beq patch2c_7 ,p_le_parse_l2cap 
-0061 c035061c beq patch2d_2 ,p_le_adv_not_match 
-0062 c03b8625 beq patch2e_7 ,p_le_lpm_setmult 
-0063 c00286a5 beq patch20_5 ,p_hid_rx_process 
-0064 c04006a7 beq patch30_0 ,p_parse_lmp_accepted 
-0065 c04106b1 beq patch30_2 ,p_send_lmp 
-0066 c04406b3 beq patch31_0 ,p_process_conn_sm 
-0067 c0460635 beq patch31_4 ,p_twspi_reset 
-0068 c0468641 beq patch31_5 ,p_spid_init 
+0059 c01c8594 beq patch27_1 ,p_le_slave_match 
+005a c021859c beq patch28_3 ,p_le_next_adv_channel 
+005b c02505a2 beq patch29_2 ,p_le_receive_skip 
+005c c02b85a5 beq patch2a_7 ,p_le_update_param 
+005d c02c85a7 beq patch2b_1 ,p_le_update_channel_map 
+005e c03185a9 beq patch2c_3 ,p_le_prepare_tx 
+005f c03305d3 beq patch2c_6 ,p_le_parse 
+0060 c03385ea beq patch2c_7 ,p_le_parse_l2cap 
+0061 c0350620 beq patch2d_2 ,p_le_adv_not_match 
+0062 c03b8629 beq patch2e_7 ,p_le_lpm_setmult 
+0063 c00286a6 beq patch20_5 ,p_hid_rx_process 
+0064 c04006a8 beq patch30_0 ,p_parse_lmp_accepted 
+0065 c04106b2 beq patch30_2 ,p_send_lmp 
+0066 c04406b4 beq patch31_0 ,p_process_conn_sm 
+0067 c0460639 beq patch31_4 ,p_twspi_reset 
+0068 c0468645 beq patch31_5 ,p_spid_init 
 0069 c0500504 beq patch34_0 ,p_vdd_calculate_by_mode 
-006a c07d06d7 beq patch3f_2 ,p_check_51cmd_once_continue 
+006a c07d06d8 beq patch3f_2 ,p_check_51cmd_once_continue 
 006b 20202a8e branch loop 
 
 p_soft_reset_1:
@@ -183,7 +183,7 @@
 0092 20400146 call p_g24_transmit_packet 
 0093 6800cc35 fetch 1 ,mem_24g_pairing_sm 
 0094 c1ff8000 rtnne state_24g_pairing_success 
-0095 20400700 call power_ctrl_start 
+0095 20400701 call power_ctrl_start 
 0096 58017700 setarg g24_long_sleep_step1 
 0097 6001cc54 store 3 ,mem_24g_enter_hibernate 
 0098 704b6e14 jam 20 ,mem_24g_long_sleep_param_update_timer 
@@ -305,7 +305,7 @@
 00ec 793ffe04 set0 bit_hop ,pdata 
 00ed 6000cc26 store 1 ,mem_24g_data_type 
 00ee 6000cbe1 store 1 ,mem_24g_txpayload 
-00ef 204006f6 call power_ctrl_pac_succ_decrs 
+00ef 204006f7 call power_ctrl_pac_succ_decrs 
 00f0 202001dc branch p_g24_ch 
 
 p_g24_rf_hop_attemp_again:
@@ -322,7 +322,7 @@
 00f9 20200146 branch p_g24_transmit_packet 
 
 p_g24_rf_hop_fastly_exit:
-00fa 204006f6 call power_ctrl_pac_succ_decrs 
+00fa 204006f7 call power_ctrl_pac_succ_decrs 
 00fb 704d5800 jam 0 ,mem_24g_hop_fastly_cnt 
 00fc 202000e2 branch p_g24_transmit_rf_ctrl_clear 
 
@@ -436,7 +436,7 @@
 014b 24378171 nbranch p_g24_retransmit ,user3 
 014c 2040015e call p_g24_txbuf_clear 
 014d 2040018f call p_g24_ackpayload_parse 
-014e 204006f2 call power_ctrl_pac_succ_incrs 
+014e 204006f3 call power_ctrl_pac_succ_incrs 
 
 p_g24_transmit_next_packet:
 014f 704b5800 jam 0 ,mem_retry_count 
@@ -468,7 +468,7 @@
 0163 20600000 rtn 
 
 p_g24_paring_mode_start:
-0164 204006ef call power_ctrl_pac_succ_cnt_init 
+0164 204006f0 call power_ctrl_pac_succ_cnt_init 
 0165 20200198 branch p_g24_paring_mode 
 
 p_g24_transmit_receive_ack:
@@ -510,8 +510,8 @@
 0181 20207d86 branch ui_ipc_send_event 
 
 p_g24_tx_fast_hop:
-0182 20400723 call power_ctrl_txpower_incrs 
-0183 204006f6 call power_ctrl_pac_succ_decrs 
+0182 20400724 call power_ctrl_txpower_incrs 
+0183 204006f7 call power_ctrl_pac_succ_decrs 
 0184 202001dc branch p_g24_ch 
 
 p_g24_tx_hop_ch_process:
@@ -537,19 +537,19 @@
 
 p_g24_pairing_sm:
 0196 7011c590 jam zcode_90 ,mem_zcode_temp_param0 
-0197 2020075d branch p_zcode_entrance 
+0197 2020075e branch p_zcode_entrance 
 
 p_g24_paring_mode:
 0198 7011c591 jam zcode_91 ,mem_zcode_temp_param0 
-0199 2020075d branch p_zcode_entrance 
+0199 2020075e branch p_zcode_entrance 
 
 p_g24_start_24g_mode:
 019a 7011c560 jam zcode_60 ,mem_zcode_temp_param0 
-019b 2020075d branch p_zcode_entrance 
+019b 2020075e branch p_zcode_entrance 
 
 p_g24_auto_pair_start:
 019c 7011c570 jam zcode_70 ,mem_zcode_temp_param0 
-019d 2020075d branch p_zcode_entrance 
+019d 2020075e branch p_zcode_entrance 
 
 p_g24_tx_attemp_data_prep:
 019e 70119eff jam 0xff ,mem_24g_common_temp 
@@ -916,7 +916,7 @@
 02b7 58000004 setarg adv_flag_bredr_not_supported 
 02b8 e0c08000 istore 1 ,contr 
 02b9 d8c04390 arg mem_le_scan_data ,contr 
-02ba 20400583 call p_le_adv_data_update 
+02ba 20400587 call p_le_adv_data_update 
 02bb 20207df4 branch check_51cmd_adv 
 
 p_le_check_adv_flag:
@@ -1064,7 +1064,7 @@
 
 p_mouse_setting_config:
 0315 7011c580 jam zcode_80 ,mem_zcode_temp_param0 
-0316 2020075d branch p_zcode_entrance 
+0316 2020075e branch p_zcode_entrance 
 
 p_flash_ncs_disable:
 0317 6808cb43 fetcht 1 ,mem_flash_ncs_gpio 
@@ -1296,7 +1296,7 @@
 p_mouse_24g_led_off:
 03c2 704b4900 jam 0 ,mem_24g_device_led_status 
 03c3 6808cb4a fetcht 1 ,mem_device_24g_led_gpio 
-03c4 20200563 branch p_gpio_set_input_high_impedance 
+03c4 20200567 branch p_gpio_set_input_high_impedance 
 
 p_mouse_24g_led_on:
 03c5 704b4901 jam 1 ,mem_24g_device_led_status 
@@ -1499,11 +1499,11 @@
 
 p_mouse_dpi_check:
 045a 6808c6e7 fetcht 1 ,mem_dpi_button_gpio 
-045b 20400567 call p_gpio_set_input_pd 
+045b 2040056b call p_gpio_set_input_pd 
 045c 6808c6e7 fetcht 1 ,mem_dpi_button_gpio 
 045d 2040681d call gpio_get_bit 
 045e 20208468 branch p_mouse_dpi_up ,true 
-045f 20400570 call p_gpio_set_input_pu 
+045f 20400574 call p_gpio_set_input_pu 
 
 p_mouse_dpi_down:
 0460 6800c6b6 fetch 1 ,mem_mouse_dpi_button_state 
@@ -1516,7 +1516,7 @@
 0467 20203d7e branch mouse_seting_dpi 
 
 p_mouse_dpi_up:
-0468 20400570 call p_gpio_set_input_pu 
+0468 20400574 call p_gpio_set_input_pu 
 0469 20203d62 branch mouse_dpi_up 
 
 p_mouse_priority_bb_event:
@@ -1538,13 +1538,13 @@
 p_mouse_le_bb_event_connected:
 0478 204002c3 call p_mouse_init_sensor_reset 
 0479 7011c5b0 jam zcode_b0 ,mem_zcode_temp_param0 
-047a 2020075d branch p_zcode_entrance 
+047a 2020075e branch p_zcode_entrance 
 
 p_mouse_le_bb_disconnected:
 047b 704b6a00 jam 0 ,mem_mouse_le_bb_connected_flag 
 047c 20400497 call p_mouse_sensor_powerdown_check 
 047d 7011c5a2 jam zcode_a2 ,mem_zcode_temp_param0 
-047e 2020075d branch p_zcode_entrance 
+047e 2020075e branch p_zcode_entrance 
 
 p_mouse_le_enc_info:
 
@@ -1554,17 +1554,17 @@
 
 p_mouse_le_ll_start_encryt:
 0481 7011c5b3 jam zcode_b3 ,mem_zcode_temp_param0 
-0482 2020075d branch p_zcode_entrance 
+0482 2020075e branch p_zcode_entrance 
 
 p_mouse_le_conn_param_update_rsp_recieved:
 0483 7011c5a1 jam zcode_a1 ,mem_zcode_temp_param0 
-0484 2020075d branch p_zcode_entrance 
+0484 2020075e branch p_zcode_entrance 
 
 p_mouse_bb_event_reconn_timeout:
 
 p_mouse_bb_event_reconn_failed:
 0485 7011c5a3 jam zcode_a3 ,mem_zcode_temp_param0 
-0486 2020075d branch p_zcode_entrance 
+0486 2020075e branch p_zcode_entrance 
 
 p_mouse_irtual_cable_unplug:
 0487 2040438e call mouse_irtual_cable_unplug 
@@ -1572,7 +1572,7 @@
 
 p_mouse_sniff_not_accept:
 0489 7011c5b1 jam zcode_b1 ,mem_zcode_temp_param0 
-048a 2020075d branch p_zcode_entrance 
+048a 2020075e branch p_zcode_entrance 
 
 p_mouse_bb_event_connected:
 048b 70480900 jam 0 ,mem_mouse_send_switch_req_timer 
@@ -1582,11 +1582,11 @@
 p_mouse_bb_event_disconnected:
 048e 20400497 call p_mouse_sensor_powerdown_check 
 048f 7011c5b4 jam zcode_b4 ,mem_zcode_temp_param0 
-0490 2020075d branch p_zcode_entrance 
+0490 2020075e branch p_zcode_entrance 
 
 p_mouse_enter_sniff_check:
 0491 7011c5b2 jam zcode_b2 ,mem_zcode_temp_param0 
-0492 2020075d branch p_zcode_entrance 
+0492 2020075e branch p_zcode_entrance 
 
 p_mouse_24g_no_data_timer_init:
 0493 20203f8d branch mouse_no_data_timer_init 
@@ -1594,7 +1594,7 @@
 p_mouse_before_hibernate:
 0494 20400497 call p_mouse_sensor_powerdown_check 
 0495 7011c5a4 jam zcode_a4 ,mem_zcode_temp_param0 
-0496 2020075d branch p_zcode_entrance 
+0496 2020075e branch p_zcode_entrance 
 
 p_mouse_sensor_powerdown_check:
 0497 6800cafe fetch 1 ,mem_mouse_init_sensor_reset_flag 
@@ -1652,7 +1652,7 @@
 04bd 7041de00 jam tx_power_0db ,mem_tx_power 
 04be 6800cb7d fetch 1 ,mem_mouse_le_goto_reconn 
 04bf 243a029f nbranch p_mouse_check_bt_reconn_target ,blank 
-04c0 20200580 branch p_mouse_start_discovery 
+04c0 20200584 branch p_mouse_start_discovery 
 
 p_mouse_wheel_trigger_timer:
 04c1 da604807 arg mem_mouse_wheel_trigger_timer ,regc 
@@ -1706,11 +1706,11 @@
 
 p_mouse_bt_discovery_check:
 04e1 6808c6ec fetcht 1 ,mem_config_bt_button_gpio 
-04e2 20400567 call p_gpio_set_input_pd 
+04e2 2040056b call p_gpio_set_input_pd 
 04e3 6808c6ec fetcht 1 ,mem_config_bt_button_gpio 
 04e4 2040681d call gpio_get_bit 
 04e5 242084ec nbranch p_mouse_bt_discovery_commbination_key_down ,true 
-04e6 20400570 call p_gpio_set_input_pu 
+04e6 20400574 call p_gpio_set_input_pu 
 
 p_mouse_bt_discovery_commbination_key_up:
 04e7 6800c685 fetch 1 ,mem_ui_button_timeout 
@@ -1720,7 +1720,7 @@
 04eb 202043d2 branch mouse_disable_function_flag 
 
 p_mouse_bt_discovery_commbination_key_down:
-04ec 20400570 call p_gpio_set_input_pu 
+04ec 20400574 call p_gpio_set_input_pu 
 04ed 204004cd call p_mouse_bt_discovery_timer 
 04ee 202043b0 branch mouse_bt_discovery_commbination_key_down + 1 
 
@@ -1826,957 +1826,958 @@
 p_mouse_low_voltage_led_timer:
 0536 680246d3 fetch mouse_flag_len ,mem_mouse_flag 
 0537 c4020000 rtnbit0 mouse_low_voltage_flag 
-0538 6800c6cf fetch 1 ,mem_adc_low_volatage_led_timer_count 
-0539 1fe0fe01 pincrease 1 
-053a 6000c6cf store 1 ,mem_adc_low_volatage_led_timer_count 
-053b 1fe67c14 sub pdata ,20 ,null 
-053c 24410542 ncall p_mouse_adc_low_volatage_led_timer_count_clean ,positive 
-053d c00103dc beq 2 ,p_mouse_low_vlotage_led_on 
-053e c00203e2 beq 4 ,p_mouse_low_vlotage_led_off 
-053f c00303dc beq 6 ,p_mouse_low_vlotage_led_on 
-0540 c00403e2 beq 8 ,p_mouse_low_vlotage_led_off 
-0541 20600000 rtn 
+0538 68014682 fetch 2 ,mem_ui_state_map 
+0539 c3858000 rtnbit1 ui_state_ble_adv 
+053a 6800cb50 fetch 1 ,mem_mouse_poweron_led_timer 
+053b 247a0000 nrtn blank 
+053c 6800c6cf fetch 1 ,mem_adc_low_volatage_led_timer_count 
+053d 1fe0fe01 pincrease 1 
+053e 6000c6cf store 1 ,mem_adc_low_volatage_led_timer_count 
+053f 1fe67c14 sub pdata ,20 ,null 
+0540 24410546 ncall p_mouse_adc_low_volatage_led_timer_count_clean ,positive 
+0541 c00103dc beq 2 ,p_mouse_low_vlotage_led_on 
+0542 c00203e2 beq 4 ,p_mouse_low_vlotage_led_off 
+0543 c00303dc beq 6 ,p_mouse_low_vlotage_led_on 
+0544 c00403e2 beq 8 ,p_mouse_low_vlotage_led_off 
+0545 20600000 rtn 
 
 p_mouse_adc_low_volatage_led_timer_count_clean:
-0542 7046cf01 jam 1 ,mem_adc_low_volatage_led_timer_count 
-0543 202003e2 branch p_mouse_low_vlotage_led_off 
+0546 7046cf01 jam 1 ,mem_adc_low_volatage_led_timer_count 
+0547 202003e2 branch p_mouse_low_vlotage_led_off 
 
 p_mouse_motion:
-0544 78547c00 disable user 
-0545 58000000 setarg 0 
-0546 6003469b store 6 ,mem_mouse_x 
-0547 20400575 call p_mouse_cheak_sensor_data 
-0548 20404079 call mouse_zwheel 
-0549 2040407e call mouse_t_zwheel 
-054a 2040054e call p_mouse_key 
-054b 2434077e nbranch p_drawing_optima_init ,user 
-054c 20400781 call p_drawing_optima 
-054d 20203fa0 branch mouse_motion + 9 
+0548 78547c00 disable user 
+0549 58000000 setarg 0 
+054a 6003469b store 6 ,mem_mouse_x 
+054b 20400579 call p_mouse_cheak_sensor_data 
+054c 20404079 call mouse_zwheel 
+054d 2040407e call mouse_t_zwheel 
+054e 20400552 call p_mouse_key 
+054f 2434077f nbranch p_drawing_optima_init ,user 
+0550 20400782 call p_drawing_optima 
+0551 20203fa0 branch mouse_motion + 9 
 
 p_mouse_key:
-054e 20400550 call p_mouse_check_key_gpio 
-054f 2020409a branch mouse_key + 1 
+0552 20400554 call p_mouse_check_key_gpio 
+0553 2020409a branch mouse_key + 1 
 
 p_mouse_check_key_gpio:
-0550 da200000 arg 0 ,rega 
-0551 20400553 call p_mouse_check_lkey_gpio 
-0552 2020408e branch mouse_check_key_gpio_output 
+0554 da200000 arg 0 ,rega 
+0555 20400557 call p_mouse_check_lkey_gpio 
+0556 2020408e branch mouse_check_key_gpio_output 
 
 p_mouse_check_lkey_gpio:
-0553 6808c6e2 fetcht 1 ,mem_lbutton_gpio 
-0554 20400570 call p_gpio_set_input_pu 
-0555 6808c6e2 fetcht 1 ,mem_lbutton_gpio 
-0556 2040681d call gpio_get_bit 
-0557 7920a200 setflag true ,0 ,rega 
+0557 6808c6e2 fetcht 1 ,mem_lbutton_gpio 
+0558 20400574 call p_gpio_set_input_pu 
+0559 6808c6e2 fetcht 1 ,mem_lbutton_gpio 
+055a 2040681d call gpio_get_bit 
+055b 7920a200 setflag true ,0 ,rega 
 
 p_mouse_check_rkey_gpio:
-0558 6808c6e3 fetcht 1 ,mem_rbutton_gpio 
-0559 20400570 call p_gpio_set_input_pu 
-055a 6808c6e3 fetcht 1 ,mem_rbutton_gpio 
-055b 2040681d call gpio_get_bit 
-055c 7920a201 setflag true ,1 ,rega 
+055c 6808c6e3 fetcht 1 ,mem_rbutton_gpio 
+055d 20400574 call p_gpio_set_input_pu 
+055e 6808c6e3 fetcht 1 ,mem_rbutton_gpio 
+055f 2040681d call gpio_get_bit 
+0560 7920a201 setflag true ,1 ,rega 
 
 p_mouse_check_mkey_gpio:
-055d 6808c6e4 fetcht 1 ,mem_mbutton_gpio 
-055e 20400570 call p_gpio_set_input_pu 
-055f 6808c6e4 fetcht 1 ,mem_mbutton_gpio 
-0560 2040681d call gpio_get_bit 
-0561 7920a202 setflag true ,2 ,rega 
-0562 20600000 rtn 
+0561 6808c6e4 fetcht 1 ,mem_mbutton_gpio 
+0562 20400574 call p_gpio_set_input_pu 
+0563 6808c6e4 fetcht 1 ,mem_mbutton_gpio 
+0564 2040681d call gpio_get_bit 
+0565 7920a202 setflag true ,2 ,rega 
+0566 20600000 rtn 
 
 p_gpio_set_input_high_impedance:
-0563 18467cff sub temp ,ui_button_gpio_disable ,null 
-0564 20628000 rtn zero 
-0565 793f8407 set0 gpio_active_bit ,temp 
-0566 20206806 branch gpio_set_high_impedance 
+0567 18467cff sub temp ,ui_button_gpio_disable ,null 
+0568 20628000 rtn zero 
+0569 793f8407 set0 gpio_active_bit ,temp 
+056a 20206806 branch gpio_set_high_impedance 
 
 p_gpio_set_input_pd:
-0567 793f8407 set0 gpio_active_bit ,temp 
-0568 d8a08078 arg core_gpio_pu0 ,contw 
-0569 20406830 call gpio_set_bit 
-056a 79200407 set1 gpio_active_bit ,temp 
+056b 793f8407 set0 gpio_active_bit ,temp 
+056c d8a08078 arg core_gpio_pu0 ,contw 
+056d 20406830 call gpio_set_bit 
+056e 79200407 set1 gpio_active_bit ,temp 
 
 p_gpio_set_input_pd4:
-056b d8a0807c arg core_gpio_pd0 ,contw 
-056c 20406830 call gpio_set_bit 
-056d 793f8407 set0 gpio_active_bit ,temp 
-056e d8a08070 arg core_gpio_oe0 ,contw 
-056f 20206830 branch gpio_set_bit 
+056f d8a0807c arg core_gpio_pd0 ,contw 
+0570 20406830 call gpio_set_bit 
+0571 793f8407 set0 gpio_active_bit ,temp 
+0572 d8a08070 arg core_gpio_oe0 ,contw 
+0573 20206830 branch gpio_set_bit 
 
 p_gpio_set_input_pu:
-0570 79200407 set1 gpio_active_bit ,temp 
+0574 79200407 set1 gpio_active_bit ,temp 
 
 p_gpio_set_input_pu1:
-0571 d8a08078 arg core_gpio_pu0 ,contw 
-0572 20406830 call gpio_set_bit 
-0573 793f8407 set0 gpio_active_bit ,temp 
-0574 2020056b branch p_gpio_set_input_pd4 
+0575 d8a08078 arg core_gpio_pu0 ,contw 
+0576 20406830 call gpio_set_bit 
+0577 793f8407 set0 gpio_active_bit ,temp 
+0578 2020056f branch p_gpio_set_input_pd4 
 
 p_mouse_cheak_sensor_data:
-0575 6800c6e0 fetch 1 ,mem_config_sensor_type 
-0576 c002057a beq p3212 ,p_mouse_p3212_sensor_motion 
+0579 6800c6e0 fetch 1 ,mem_config_sensor_type 
+057a c002057e beq p3212 ,p_mouse_p3212_sensor_motion 
 
 p_mouse_p32xx_sensor_motion:
-0577 20403fc0 call mouse_clear_sensor_data 
-0578 78547c00 disable user 
-0579 20203fe7 branch mouse_p32xx_sensor_motion_2 
+057b 20403fc0 call mouse_clear_sensor_data 
+057c 78547c00 disable user 
+057d 20203fe7 branch mouse_p32xx_sensor_motion_2 
 
 p_mouse_p3212_sensor_motion:
-057a 20403fc0 call mouse_clear_sensor_data 
-057b 20203fc8 branch mouse_p3212_sensor_motion_1 
+057e 20403fc0 call mouse_clear_sensor_data 
+057f 20203fc8 branch mouse_p3212_sensor_motion_1 
 
 p_mouse_bb_event_discovery_btn:
-057c 704b5000 jam 0 ,mem_mouse_poweron_led_timer 
-057d 2020426d branch mouse_bb_event_discovery_btn + 1 
+0580 704b5000 jam 0 ,mem_mouse_poweron_led_timer 
+0581 2020426d branch mouse_bb_event_discovery_btn + 1 
 
 p_le_addr_random_config:
-057e 7011c581 jam zcode_81 ,mem_zcode_temp_param0 
-057f 2020075d branch p_zcode_entrance 
+0582 7011c581 jam zcode_81 ,mem_zcode_temp_param0 
+0583 2020075e branch p_zcode_entrance 
 
 p_mouse_start_discovery:
-0580 704b5e00 jam 0 ,mem_mouse_discovery_blink_count 
-0581 7011c550 jam zcode_50 ,mem_zcode_temp_param0 
-0582 2020075d branch p_zcode_entrance 
+0584 704b5e00 jam 0 ,mem_mouse_discovery_blink_count 
+0585 7011c550 jam zcode_50 ,mem_zcode_temp_param0 
+0586 2020075e branch p_zcode_entrance 
 
 p_le_adv_data_update:
-0583 d8a0437b arg mem_le_adv_data + 11 ,contw 
-0584 df200013 arg 19 ,loopcnt 
-0585 20407f01 call memcpy 
-0586 202057b8 branch le_modified_name_adv 
+0587 d8a0437b arg mem_le_adv_data + 11 ,contw 
+0588 df200013 arg 19 ,loopcnt 
+0589 20407f01 call memcpy 
+058a 202057b8 branch le_modified_name_adv 
 
 p_mouse_stop_discovery:
-0587 58000000 setarg 0 
-0588 600146ac store 2 ,mem_mouse_discovery_timer 
-0589 6000cb5d store 1 ,mem_mouse_dpi_blink_count 
-058a 6000c714 store 1 ,mem_mouse_blink_count 
-058b 6000cb5e store 1 ,mem_mouse_discovery_blink_count 
-058c 704b4705 jam 5 ,mem_mouse_bt_ble_led_timer 
-058d 204003d3 call p_mouse_bt_led_off 
-058e 204002e5 call p_mouse_sensor_poweron 
-058f 202042cb branch mouse_stop_discovery + 1 
+058b 58000000 setarg 0 
+058c 600146ac store 2 ,mem_mouse_discovery_timer 
+058d 6000cb5d store 1 ,mem_mouse_dpi_blink_count 
+058e 6000c714 store 1 ,mem_mouse_blink_count 
+058f 6000cb5e store 1 ,mem_mouse_discovery_blink_count 
+0590 704b4705 jam 5 ,mem_mouse_bt_ble_led_timer 
+0591 204003d3 call p_mouse_bt_led_off 
+0592 204002e5 call p_mouse_sensor_poweron 
+0593 202042cb branch mouse_stop_discovery + 1 
 
 p_le_slave_match:
-0590 6800c50f fetch 1 ,mem_le_md_count 
-0591 1fe0fe01 pincrease 1 
-0592 6000c50f store 1 ,mem_le_md_count 
-0593 c0065395 beq le_md_max_count ,le_slave_cont 
-0594 204055aa call le_acknowledge 
-0595 2040561e call le_prepare_tx 
-0596 20400700 call power_ctrl_start 
-0597 2020538f branch le_slave_match + 7 
+0594 6800c50f fetch 1 ,mem_le_md_count 
+0595 1fe0fe01 pincrease 1 
+0596 6000c50f store 1 ,mem_le_md_count 
+0597 c0065395 beq le_md_max_count ,le_slave_cont 
+0598 204055aa call le_acknowledge 
+0599 2040561e call le_prepare_tx 
+059a 20400701 call power_ctrl_start 
+059b 2020538f branch le_slave_match + 7 
 
 p_le_next_adv_channel:
-0598 68008016 fetch 1 ,mem_le_ch_mapped 
-0599 1fe0fe01 increase 1 ,pdata 
-059a 60008016 store 1 ,mem_le_ch_mapped 
-059b c1940000 rtnne 40 
-059c 70001625 jam 37 ,mem_le_ch_mapped 
-059d 20600000 rtn 
+059c 68008016 fetch 1 ,mem_le_ch_mapped 
+059d 1fe0fe01 increase 1 ,pdata 
+059e 60008016 store 1 ,mem_le_ch_mapped 
+059f c1940000 rtnne 40 
+05a0 70001625 jam 37 ,mem_le_ch_mapped 
+05a1 20600000 rtn 
 
 p_le_receive_skip:
-059e 204029bb call save_rssi 
-059f 20400220 call p_rssi_signal 
-05a0 202054a3 branch le_receive_skip + 2 
+05a2 204029bb call save_rssi 
+05a3 20400220 call p_rssi_signal 
+05a4 202054a3 branch le_receive_skip + 2 
 
 p_le_update_param:
-05a1 7011c540 jam zcode_40 ,mem_zcode_temp_param0 
-05a2 2020075d branch p_zcode_entrance 
+05a5 7011c540 jam zcode_40 ,mem_zcode_temp_param0 
+05a6 2020075e branch p_zcode_entrance 
 
 p_le_update_channel_map:
-05a3 7011c541 jam zcode_41 ,mem_zcode_temp_param0 
-05a4 2020075d branch p_zcode_entrance 
+05a7 7011c541 jam zcode_41 ,mem_zcode_temp_param0 
+05a8 2020075e branch p_zcode_entrance 
 
 p_le_prepare_tx:
-05a5 68008456 fetch 1 ,mem_le_arq 
-05a6 c28285b9 bbit1 wak ,p_le_prepare_tx_wak 
-05a7 204006f2 call power_ctrl_pac_succ_incrs 
-05a8 6800c78e fetch 1 ,mem_empty_count 
-05a9 243a05af nbranch p_le_send_empyt ,blank 
-05aa 6800843f fetch 1 ,mem_le_state 
-05ab c30205b3 bbit0 lestate_encryption ,p_le_tx_4 
-05ac 680082da fetch 1 ,mem_le_rxbuf + 1 
-05ad 203a05b3 branch p_le_tx_4 ,blank 
-05ae 20205664 branch le_send_empty 
+05a9 68008456 fetch 1 ,mem_le_arq 
+05aa c28285bd bbit1 wak ,p_le_prepare_tx_wak 
+05ab 204006f3 call power_ctrl_pac_succ_incrs 
+05ac 6800c78e fetch 1 ,mem_empty_count 
+05ad 243a05b3 nbranch p_le_send_empyt ,blank 
+05ae 6800843f fetch 1 ,mem_le_state 
+05af c30205b7 bbit0 lestate_encryption ,p_le_tx_4 
+05b0 680082da fetch 1 ,mem_le_rxbuf + 1 
+05b1 203a05b7 branch p_le_tx_4 ,blank 
+05b2 20205664 branch le_send_empty 
 
 p_le_send_empyt:
-05af 6800c78e fetch 1 ,mem_empty_count 
-05b0 1fe0ffff increase -1 ,pdata 
-05b1 6000c78e store 1 ,mem_empty_count 
-05b2 20205664 branch le_send_empty 
+05b3 6800c78e fetch 1 ,mem_empty_count 
+05b4 1fe0ffff increase -1 ,pdata 
+05b5 6000c78e store 1 ,mem_empty_count 
+05b6 20205664 branch le_send_empty 
 
 p_le_tx_4:
-05b3 6800c4c4 fetch 1 ,mem_le_pairing_state 
-05b4 c08285b6 bne flag_le_pairing_after_auth ,p_in_le_tx_4 
-05b5 70478e03 jam 3 ,mem_empty_count 
+05b7 6800c4c4 fetch 1 ,mem_le_pairing_state 
+05b8 c08285ba bne flag_le_pairing_after_auth ,p_in_le_tx_4 
+05b9 70478e03 jam 3 ,mem_empty_count 
 
 p_in_le_tx_4:
-05b6 20405892 call le_fifo_check_nearly_full 
-05b7 205a041e call p_mouse_data_pull ,blank 
-05b8 20205622 branch le_prepare_tx + 4 
+05ba 20405892 call le_fifo_check_nearly_full 
+05bb 205a041e call p_mouse_data_pull ,blank 
+05bc 20205622 branch le_prepare_tx + 4 
 
 p_le_prepare_tx_wak:
-05b9 204005bb call p_le_check_tx_retransmit_setmd 
-05ba 202005c7 branch p_le_power_ctrl_pac_succ_decrs 
+05bd 204005bf call p_le_check_tx_retransmit_setmd 
+05be 202005cb branch p_le_power_ctrl_pac_succ_decrs 
 
 p_le_check_tx_retransmit_setmd:
-05bb 6800c6c5 fetch 1 ,mem_le_connect_status_flag 
-05bc 1fe17e03 and pdata ,0x03 ,pdata 
-05bd c1818000 rtnne 0x03 
-05be 6800c7c1 fetch 1 ,mem_mouse_data_queue_num 
-05bf 207a0000 rtn blank 
-05c0 6800c3dd fetch 1 ,mem_le_txlen 
-05c1 207a0000 rtn blank 
-05c2 6800c3dc fetch 1 ,mem_le_txheader 
-05c3 79207e04 set1 md ,pdata 
-05c4 6000c3dc store 1 ,mem_le_txheader 
-05c5 20405650 call le_set_md 
-05c6 20600000 rtn 
+05bf 6800c6c5 fetch 1 ,mem_le_connect_status_flag 
+05c0 1fe17e03 and pdata ,0x03 ,pdata 
+05c1 c1818000 rtnne 0x03 
+05c2 6800c7c1 fetch 1 ,mem_mouse_data_queue_num 
+05c3 207a0000 rtn blank 
+05c4 6800c3dd fetch 1 ,mem_le_txlen 
+05c5 207a0000 rtn blank 
+05c6 6800c3dc fetch 1 ,mem_le_txheader 
+05c7 79207e04 set1 md ,pdata 
+05c8 6000c3dc store 1 ,mem_le_txheader 
+05c9 20405650 call le_set_md 
+05ca 20600000 rtn 
 
 p_le_power_ctrl_pac_succ_decrs:
-05c7 202006f6 branch power_ctrl_pac_succ_decrs 
+05cb 202006f7 branch power_ctrl_pac_succ_decrs 
 
 p_mouse_le_reconn_write_enable_timer_reinit:
-05c8 6800c79f fetch 1 ,mem_mouse_le_reconnect_flag 
-05c9 207a0000 rtn blank 
-05ca 6800c6c5 fetch 1 ,mem_le_connect_status_flag 
-05cb 1fe17e03 and pdata ,0x03 ,pdata 
-05cc c1018000 rtneq 0x03 
-05cd 7046c60f jam 15 ,mem_le_start_encrypt_timer 
-05ce 20600000 rtn 
+05cc 6800c79f fetch 1 ,mem_mouse_le_reconnect_flag 
+05cd 207a0000 rtn blank 
+05ce 6800c6c5 fetch 1 ,mem_le_connect_status_flag 
+05cf 1fe17e03 and pdata ,0x03 ,pdata 
+05d0 c1018000 rtneq 0x03 
+05d1 7046c60f jam 15 ,mem_le_start_encrypt_timer 
+05d2 20600000 rtn 
 
 p_le_parse:
-05cf c6078000 rtnmark1 mark_old_packet 
-05d0 20405890 call le_fifo_check_full 
-05d1 247a0000 nrtn blank 
-05d2 680082d9 fetch 1 ,mem_le_rxbuf 
-05d3 1fe17e03 and pdata ,0x3 ,pdata 
-05d4 6000c50c store 1 ,mem_le_packet_llid 
-05d5 e8c08000 ifetch 1 ,contr 
-05d6 1fe17e1f and pdata ,0x1f ,pdata 
-05d7 6000c50b store 1 ,mem_le_packet_size 
-05d8 207a0000 rtn blank 
-05d9 18c27e00 copy contr ,pdata 
-05da 6001450d store 2 ,mem_le_payload_ptr 
-05db 6800c50c fetch 1 ,mem_le_packet_llid 
-05dc c00185de beq llid_le_ll ,p_le_parse_ll 
-05dd 2020568d branch le_parse_l2cap 
+05d3 c6078000 rtnmark1 mark_old_packet 
+05d4 20405890 call le_fifo_check_full 
+05d5 247a0000 nrtn blank 
+05d6 680082d9 fetch 1 ,mem_le_rxbuf 
+05d7 1fe17e03 and pdata ,0x3 ,pdata 
+05d8 6000c50c store 1 ,mem_le_packet_llid 
+05d9 e8c08000 ifetch 1 ,contr 
+05da 1fe17e1f and pdata ,0x1f ,pdata 
+05db 6000c50b store 1 ,mem_le_packet_size 
+05dc 207a0000 rtn blank 
+05dd 18c27e00 copy contr ,pdata 
+05de 6001450d store 2 ,mem_le_payload_ptr 
+05df 6800c50c fetch 1 ,mem_le_packet_llid 
+05e0 c00185e2 beq llid_le_ll ,p_le_parse_ll 
+05e1 2020568d branch le_parse_l2cap 
 
 p_le_parse_ll:
-05de 680082db fetch 1 ,mem_le_rxbuf + 2 
-05df c00085e1 beq ll_channel_map_req ,p_le_parse_channel_map_req 
-05e0 20205c65 branch le_parse_ll + 1 
+05e2 680082db fetch 1 ,mem_le_rxbuf + 2 
+05e3 c00085e5 beq ll_channel_map_req ,p_le_parse_channel_map_req 
+05e4 20205c65 branch le_parse_ll + 1 
 
 p_le_parse_channel_map_req:
-05e1 e8c28000 ifetch 5 ,contr 
-05e2 6002c3ce store 5 ,mem_le_new_map 
-05e3 e8c10000 ifetch 2 ,contr 
-05e4 6001045f store 2 ,mem_le_instant 
-05e5 20205c8a branch le_parse_channel_map_req + 7 
+05e5 e8c28000 ifetch 5 ,contr 
+05e6 6002c3ce store 5 ,mem_le_new_map 
+05e7 e8c10000 ifetch 2 ,contr 
+05e8 6001045f store 2 ,mem_le_instant 
+05e9 20205c8a branch le_parse_channel_map_req + 7 
 
 p_le_parse_l2cap:
-05e6 e8c10000 ifetch 2 ,contr 
-05e7 c00205ea beq le_l2cap_cid_att ,p_le_parse_att 
-05e8 c0030617 beq le_l2cap_cid_smp ,p_le_parse_smp 
-05e9 20205698 branch le_parse_l2cap + 11 
+05ea e8c10000 ifetch 2 ,contr 
+05eb c00205ee beq le_l2cap_cid_att ,p_le_parse_att 
+05ec c003061b beq le_l2cap_cid_smp ,p_le_parse_smp 
+05ed 20205698 branch le_parse_l2cap + 11 
 
 p_le_parse_att:
-05ea 20407ea5 call store_contr 
-05eb 204005c8 call p_mouse_le_reconn_write_enable_timer_reinit 
-05ec 20407e9f call get_contr 
-05ed e8c18000 ifetch 3 ,contr 
-05ee 60018477 store 3 ,mem_le_att_opcode 
-05ef c00805f9 beq attop_read_by_group_type_request ,p_le_parse_att_read_by_group_type_request 
-05f0 1fec8400 rshift8 pdata ,temp 
-05f1 18467c24 sub temp ,0x24 ,null 
-05f2 20210607 branch p_le_parse_att1 ,positive 
-05f3 d84047c6 arg mem_mouse_le_uuid_sup ,temp 
-05f4 600944bc storet 2 ,mem_ui_le_uuid_table 
-05f5 204058ad call le_parse_att + 2 
-05f6 58008e7a setarg 0x8e7a 
-05f7 600144bc store 2 ,mem_ui_le_uuid_table 
-05f8 20600000 rtn 
+05ee 20407ea5 call store_contr 
+05ef 204005cc call p_mouse_le_reconn_write_enable_timer_reinit 
+05f0 20407e9f call get_contr 
+05f1 e8c18000 ifetch 3 ,contr 
+05f2 60018477 store 3 ,mem_le_att_opcode 
+05f3 c00805fd beq attop_read_by_group_type_request ,p_le_parse_att_read_by_group_type_request 
+05f4 1fec8400 rshift8 pdata ,temp 
+05f5 18467c24 sub temp ,0x24 ,null 
+05f6 2021060b branch p_le_parse_att1 ,positive 
+05f7 d84047c6 arg mem_mouse_le_uuid_sup ,temp 
+05f8 600944bc storet 2 ,mem_ui_le_uuid_table 
+05f9 204058ad call le_parse_att + 2 
+05fa 58008e7a setarg 0x8e7a 
+05fb 600144bc store 2 ,mem_ui_le_uuid_table 
+05fc 20600000 rtn 
 
 p_le_parse_att_read_by_group_type_request:
-05f9 204059fa call le_parse_att_read_by_group_type_request 
-05fa 20405879 call le_fifo_get_last_tx_ptr 
-05fb 18c08c07 increase 7 ,contr 
-05fc e8c08000 ifetch 1 ,contr 
-05fd c1888000 rtnne attop_read_by_group_type_response 
-05fe 18c08c05 increase 5 ,contr 
-05ff e8c10000 ifetch 2 ,contr 
-0600 d8401812 arg uuid_service_hids ,temp 
-0601 98467c00 isub temp ,null 
-0602 24628000 nrtn zero 
-0603 18c08dfc increase -4 ,contr 
-0604 5800002b setarg 0x2b 
-0605 e0c10000 istore 2 ,contr 
-0606 20600000 rtn 
+05fd 204059fa call le_parse_att_read_by_group_type_request 
+05fe 20405879 call le_fifo_get_last_tx_ptr 
+05ff 18c08c07 increase 7 ,contr 
+0600 e8c08000 ifetch 1 ,contr 
+0601 c1888000 rtnne attop_read_by_group_type_response 
+0602 18c08c05 increase 5 ,contr 
+0603 e8c10000 ifetch 2 ,contr 
+0604 d8401812 arg uuid_service_hids ,temp 
+0605 98467c00 isub temp ,null 
+0606 24628000 nrtn zero 
+0607 18c08dfc increase -4 ,contr 
+0608 5800002b setarg 0x2b 
+0609 e0c10000 istore 2 ,contr 
+060a 20600000 rtn 
 
 p_le_parse_att1:
-0607 c0050609 beq attop_read_request ,p_le_parse_att_read_request 
-0608 202058ad branch le_parse_att + 2 
+060b c005060d beq attop_read_request ,p_le_parse_att_read_request 
+060c 202058ad branch le_parse_att + 2 
 
 p_le_parse_att_read_request:
-0609 68090478 fetcht 2 ,mem_le_att_handle 
-060a 6800c4e9 fetch 1 ,mem_le_configuration 
-060b c2818610 bbit1 bit_ble_read_auth ,p_le_send_att_read_response_check_auth 
+060d 68090478 fetcht 2 ,mem_le_att_handle 
+060e 6800c4e9 fetch 1 ,mem_le_configuration 
+060f c2818614 bbit1 bit_ble_read_auth ,p_le_send_att_read_response_check_auth 
 
 p_le_send_att_read_response:
-060c 68010478 fetch 2 ,mem_le_att_handle 
-060d c009da76 beq 0x13 ,le_send_att_error_response_notfound 
-060e 68090478 fetcht 2 ,mem_le_att_handle 
-060f 202059bf branch le_send_att_read_response 
+0610 68010478 fetch 2 ,mem_le_att_handle 
+0611 c009da76 beq 0x13 ,le_send_att_error_response_notfound 
+0612 68090478 fetcht 2 ,mem_le_att_handle 
+0613 202059bf branch le_send_att_read_response 
 
 p_le_send_att_read_response_check_auth:
-0610 680144fa fetch 2 ,mem_le_pairing_handle 
-0611 98467c00 isub temp ,null 
-0612 2422860c nbranch p_le_send_att_read_response ,zero 
-0613 20405a42 call le_check_encrypt_state 
-0614 2434060c nbranch p_le_send_att_read_response ,user 
-0615 70047a05 jam att_err_insufficient_authentication ,mem_le_err_code 
-0616 20205a77 branch le_send_att_error_response 
+0614 680144fa fetch 2 ,mem_le_pairing_handle 
+0615 98467c00 isub temp ,null 
+0616 24228610 nbranch p_le_send_att_read_response ,zero 
+0617 20405a42 call le_check_encrypt_state 
+0618 24340610 nbranch p_le_send_att_read_response ,user 
+0619 70047a05 jam att_err_insufficient_authentication ,mem_le_err_code 
+061a 20205a77 branch le_send_att_error_response 
 
 p_le_parse_smp:
-0617 e8c08000 ifetch 1 ,contr 
-0618 c002861a beq smp_pairing_failed ,p_le_parse_smp_pairing_failed 
-0619 20205af5 branch le_parse_smp + 1 
+061b e8c08000 ifetch 1 ,contr 
+061c c002861e beq smp_pairing_failed ,p_le_parse_smp_pairing_failed 
+061d 20205af5 branch le_parse_smp + 1 
 
 p_le_parse_smp_pairing_failed:
-061a 7011c582 jam zcode_82 ,mem_zcode_temp_param0 
-061b 2020075d branch p_zcode_entrance 
+061e 7011c582 jam zcode_82 ,mem_zcode_temp_param0 
+061f 2020075e branch p_zcode_entrance 
 
 p_le_adv_not_match:
-061c 68008016 fetch 1 ,mem_le_ch_mapped 
-061d c093d6f2 bne 39 ,le_adv_loop 
-061e 20400620 call p_le_adv_random_delay 
-061f 20205710 branch le_adv_not_match2 
+0620 68008016 fetch 1 ,mem_le_ch_mapped 
+0621 c093d6f2 bne 39 ,le_adv_loop 
+0622 20400624 call p_le_adv_random_delay 
+0623 20205710 branch le_adv_not_match2 
 
 p_le_adv_random_delay:
-0620 180a7e00 random pdata 
-0621 d84001ff arg 0x1ff ,temp 
-0622 98417e00 iand temp ,pdata 
-0623 1fe0fefa add pdata ,250 ,pdata 
-0624 20203cbe branch delay 
+0624 180a7e00 random pdata 
+0625 d84001ff arg 0x1ff ,temp 
+0626 98417e00 iand temp ,pdata 
+0627 1fe0fefa add pdata ,250 ,pdata 
+0628 20203cbe branch delay 
 
 p_le_lpm_setmult:
-0625 7855fc00 disable wake 
-0626 20370628 branch p_le_lpm_set_mult_attempt ,attempt 
-0627 2436d806 nbranch le_lpm_lost ,match 
+0629 7855fc00 disable wake 
+062a 2037062c branch p_le_lpm_set_mult_attempt ,attempt 
+062b 2436d806 nbranch le_lpm_lost ,match 
 
 p_le_lpm_set_mult_attempt:
-0628 20402bcb call lpm_match 
-0629 680140c1 fetch 2 ,mem_rx_window_sniff 
-062a 6001044d store 2 ,mem_le_receive_window 
-062b 6800c6c5 fetch 1 ,mem_le_connect_status_flag 
-062c 2fe00603 compare 3 ,pdata ,3 
-062d 2420abde nbranch lpm_mult_short ,true 
-062e 202057fb branch le_lpm_set_mult_attempt + 3 
+062c 20402bcb call lpm_match 
+062d 680140c1 fetch 2 ,mem_rx_window_sniff 
+062e 6001044d store 2 ,mem_le_receive_window 
+062f 6800c6c5 fetch 1 ,mem_le_connect_status_flag 
+0630 2fe00603 compare 3 ,pdata ,3 
+0631 2420abde nbranch lpm_mult_short ,true 
+0632 202057fb branch le_lpm_set_mult_attempt + 3 
 
 p_le_mouse_bb_event_connect_complete:
-062f 6800c79f fetch 1 ,mem_mouse_le_reconnect_flag 
-0630 247a0000 nrtn blank 
-0631 68008478 fetch 1 ,mem_le_att_handle 
-0632 1fe67e1a sub pdata ,26 ,pdata 
-0633 24628000 nrtn zero 
-0634 20203d60 branch mouse_le_write_enable 
+0633 6800c79f fetch 1 ,mem_mouse_le_reconnect_flag 
+0634 247a0000 nrtn blank 
+0635 68008478 fetch 1 ,mem_le_att_handle 
+0636 1fe67e1a sub pdata ,26 ,pdata 
+0637 24628000 nrtn zero 
+0638 20203d60 branch mouse_le_write_enable 
 
 p_twspi_reset:
-0635 68108077 hfetch 1 ,core_gpio_out3 
-0636 1fe17efd and_into 0xfd ,pdata 
-0637 60108077 hstore 1 ,core_gpio_out3 
-0638 68188073 hfetcht 1 ,core_gpio_oe3 
-0639 18418402 or_into 0x2 ,temp 
-063a 60188073 hstoret 1 ,core_gpio_oe3 
-063b 204063ee call twspi_disable 
-063c 184104fd and_into 0xfd ,temp 
-063d 2000000d nop 13 
-063e 20400642 call p_twspi_enable 
-063f 60188073 hstoret 1 ,core_gpio_oe3 
-0640 20600000 rtn 
+0639 68108077 hfetch 1 ,core_gpio_out3 
+063a 1fe17efd and_into 0xfd ,pdata 
+063b 60108077 hstore 1 ,core_gpio_out3 
+063c 68188073 hfetcht 1 ,core_gpio_oe3 
+063d 18418402 or_into 0x2 ,temp 
+063e 60188073 hstoret 1 ,core_gpio_oe3 
+063f 204063ee call twspi_disable 
+0640 184104fd and_into 0xfd ,temp 
+0641 2000000d nop 13 
+0642 20400646 call p_twspi_enable 
+0643 60188073 hstoret 1 ,core_gpio_oe3 
+0644 20600000 rtn 
 
 p_spid_init:
-0641 204064dd call spid_init_common 
+0645 204064dd call spid_init_common 
 
 p_twspi_enable:
-0642 68108081 hfetch 1 ,core_gpio_sel1 
-0643 1fe1fe01 or pdata ,0x01 ,pdata 
-0644 1fe17ef5 and pdata ,0xf5 ,pdata 
-0645 60108081 hstore 1 ,core_gpio_sel1 
-0646 20600000 rtn 
+0646 68108081 hfetch 1 ,core_gpio_sel1 
+0647 1fe1fe01 or pdata ,0x01 ,pdata 
+0648 1fe17ef5 and pdata ,0xf5 ,pdata 
+0649 60108081 hstore 1 ,core_gpio_sel1 
+064a 20600000 rtn 
 
 p_page_wait_fhs_reply_ok:
-0647 7011c500 jam zcode_00 ,mem_zcode_temp_param0 
-0648 2020075d branch p_zcode_entrance 
+064b 7011c500 jam zcode_00 ,mem_zcode_temp_param0 
+064c 2020075e branch p_zcode_entrance 
 
 p_role_switch_master:
-0649 204021c9 call role_switch_check 
-064a 24740000 nrtn user 
+064d 204021c9 call role_switch_check 
+064e 24740000 nrtn user 
 
 p_wait_role_switch_anchor:
-064b 78547c00 disable user 
-064c 70001120 jam param_newconnto ,mem_newconnto_counter 
-064d 793f800b set0 mark_fhs_already_good ,mark 
-064e 793f802d set0 mark_role_switch_receive_fhs ,mark 
+064f 78547c00 disable user 
+0650 70001120 jam param_newconnto ,mem_newconnto_counter 
+0651 793f800b set0 mark_fhs_already_good ,mark 
+0652 793f802d set0 mark_role_switch_receive_fhs ,mark 
 
 p_roles_waitfhs_loop:
-064f 20402a4f call rf_setup_time_master_slot 
-0650 204022e6 call master_recv_packet 
-0651 c5058656 bmark1 mark_fhs_already_good ,p_roles_replyto_fhs 
-0652 20402455 call new_conn_timeout 
-0653 243a064f nbranch p_roles_waitfhs_loop ,blank 
-0654 c516865e bmark1 mark_role_switch_receive_fhs ,p_roles_replyto_fhs1 
-0655 202021ec branch role_switch_fail_master 
+0653 20402a4f call rf_setup_time_master_slot 
+0654 204022e6 call master_recv_packet 
+0655 c505865a bmark1 mark_fhs_already_good ,p_roles_replyto_fhs 
+0656 20402455 call new_conn_timeout 
+0657 243a0653 nbranch p_roles_waitfhs_loop ,blank 
+0658 c5168662 bmark1 mark_role_switch_receive_fhs ,p_roles_replyto_fhs1 
+0659 202021ec branch role_switch_fail_master 
 
 p_roles_replyto_fhs:
-0656 20402a4d call rf_setup_time_slave_slot 
-0657 d8200010 arg type_id ,type 
-0658 204022dc call master_send_packet 
-0659 7920002d set1 mark_role_switch_receive_fhs ,mark 
-065a 793f800b set0 mark_fhs_already_good ,mark 
-065b 18000801 force 1 ,am_addr 
-065c 70001102 jam 2 ,mem_newconnto_counter 
-065d 2020064f branch p_roles_waitfhs_loop 
+065a 20402a4d call rf_setup_time_slave_slot 
+065b d8200010 arg type_id ,type 
+065c 204022dc call master_send_packet 
+065d 7920002d set1 mark_role_switch_receive_fhs ,mark 
+065e 793f800b set0 mark_fhs_already_good ,mark 
+065f 18000801 force 1 ,am_addr 
+0660 70001102 jam 2 ,mem_newconnto_counter 
+0661 20200653 branch p_roles_waitfhs_loop 
 
 p_roles_replyto_fhs1:
-065e 68020165 fetch 4 ,mem_clke_bt 
-065f 1fe0fe08 pincrease 8 
-0660 60020165 store 4 ,mem_clke_bt 
-0661 202021f8 branch roles_replyto_fhs + 4 
+0662 68020165 fetch 4 ,mem_clke_bt 
+0663 1fe0fe08 pincrease 8 
+0664 60020165 store 4 ,mem_clke_bt 
+0665 202021f8 branch roles_replyto_fhs + 4 
 
 p_process_dmh:
-0662 c516264d bmark1 mark_first_packet ,end_of_packet 
-0663 2020258f branch process_dmh + 1 
+0666 c516264d bmark1 mark_first_packet ,end_of_packet 
+0667 2020258f branch process_dmh + 1 
 
 p_quit_connection_cont:
-0664 204033af call app_disconn_reason_collect_bt 
-0665 204026e9 call sniff_exit 
-0666 700a9902 jam bt_evt_bb_disconnected ,mem_fifo_temp 
-0667 20407d86 call ui_ipc_send_event 
-0668 20405cf7 call init_lmp_work 
-0669 20404d6b call l2cap_init_work 
-066a 2020246e branch quit_connection_cont + 8 
+0668 204033af call app_disconn_reason_collect_bt 
+0669 204026e9 call sniff_exit 
+066a 700a9902 jam bt_evt_bb_disconnected ,mem_fifo_temp 
+066b 20407d86 call ui_ipc_send_event 
+066c 20405cf7 call init_lmp_work 
+066d 20404d6b call l2cap_init_work 
+066e 2020246e branch quit_connection_cont + 8 
 
 p_prepare_tx:
-066b 68008030 fetch 1 ,mem_state 
-066c 2feffe00 isolate1 state_inconn ,pdata 
-066d 2040866f call p_bt_power_ctrl ,true 
-066e 2020248a branch prepare_tx + 1 
+066f 68008030 fetch 1 ,mem_state 
+0670 2feffe00 isolate1 state_inconn ,pdata 
+0671 20408673 call p_bt_power_ctrl ,true 
+0672 2020248a branch prepare_tx + 1 
 
 p_bt_power_ctrl:
-066f 68008047 fetch 1 ,mem_arq 
-0670 2feffe03 isolate1 wack ,pdata 
-0671 204086f6 call power_ctrl_pac_succ_decrs ,true 
-0672 244086f2 ncall power_ctrl_pac_succ_incrs ,true 
-0673 20200700 branch power_ctrl_start 
+0673 68008047 fetch 1 ,mem_arq 
+0674 2feffe03 isolate1 wack ,pdata 
+0675 204086f7 call power_ctrl_pac_succ_decrs ,true 
+0676 244086f3 ncall power_ctrl_pac_succ_incrs ,true 
+0677 20200701 branch power_ctrl_start 
 
 p_slave_conn_recv_packet:
-0674 204024f0 call slave_receive_master_slot 
-0675 242c28f9 nbranch shutdown_radio ,sync 
-0676 204029bb call save_rssi 
-0677 20400220 call p_rssi_signal 
-0678 20202518 branch slave_conn_recv_packet + 4 
+0678 204024f0 call slave_receive_master_slot 
+0679 242c28f9 nbranch shutdown_radio ,sync 
+067a 204029bb call save_rssi 
+067b 20400220 call p_rssi_signal 
+067c 20202518 branch slave_conn_recv_packet + 4 
 
 p_lpm_dispatch:
-0679 c6130000 rtnmark1 mark_24g 
-067a 20402afa call lpo_calibration 
-067b 6801c16f fetch 3 ,mem_clks_per_lpo 
-067c 207a0000 rtn blank 
-067d 6800c091 fetch 1 ,mem_lpm_mode 
-067e 207a0000 rtn blank 
-067f 6800c6cf fetch 1 ,mem_adc_low_volatage_led_timer_count 
-0680 1fe67c0a sub pdata ,10 ,null 
-0681 20610000 rtn positive 
-0682 6800c65a fetch 1 ,mem_ssp_enable 
-0683 203a0686 branch p_lpm_dispatch_next ,blank 
-0684 6800c5b1 fetch 1 ,mem_sp_local_key_invalid 
-0685 207a0000 rtn blank 
+067d c6130000 rtnmark1 mark_24g 
+067e 20402afa call lpo_calibration 
+067f 6801c16f fetch 3 ,mem_clks_per_lpo 
+0680 207a0000 rtn blank 
+0681 6800c091 fetch 1 ,mem_lpm_mode 
+0682 207a0000 rtn blank 
+0683 6800c65a fetch 1 ,mem_ssp_enable 
+0684 203a0687 branch p_lpm_dispatch_next ,blank 
+0685 6800c5b1 fetch 1 ,mem_sp_local_key_invalid 
+0686 207a0000 rtn blank 
 
 p_lpm_dispatch_next:
-0686 6800c4c0 fetch 1 ,mem_le_sc_calc 
-0687 247a0000 nrtn blank 
-0688 20402c3a call lpm_check_wake_lock 
-0689 247a0000 nrtn blank 
-068a 6800c040 fetch 1 ,mem_context 
-068b 2fe00e03 compare 3 ,pdata ,0x7 
-068c 2420ab9d nbranch lpm_dispatch_unconn ,true 
-068d 68014042 fetch 2 ,mem_context + coffset_tsniff 
-068e d840ffff arg 0xffff ,temp 
-068f 98467c00 isub temp ,null 
-0690 20628000 rtn zero 
-0691 20202b7d branch lpm_dispatch_next + 9 
+0687 6800c4c0 fetch 1 ,mem_le_sc_calc 
+0688 247a0000 nrtn blank 
+0689 20402c3a call lpm_check_wake_lock 
+068a 247a0000 nrtn blank 
+068b 6800c040 fetch 1 ,mem_context 
+068c 2fe00e03 compare 3 ,pdata ,0x7 
+068d 2420ab9d nbranch lpm_dispatch_unconn ,true 
+068e 68014042 fetch 2 ,mem_context + coffset_tsniff 
+068f d840ffff arg 0xffff ,temp 
+0690 98467c00 isub temp ,null 
+0691 20628000 rtn zero 
+0692 20202b7d branch lpm_dispatch_next + 9 
 
 p_lpm_set_mult:
-0692 7855fc00 disable wake 
-0693 68008030 fetch 1 ,mem_state 
-0694 c4008000 rtnbit0 state_insniff 
-0695 2436abd0 nbranch lpm_not_match ,match 
-0696 20402bcb call lpm_match 
-0697 680140c1 fetch 2 ,mem_rx_window_sniff 
-0698 6001003e store 2 ,mem_rx_window 
-0699 68008047 fetch 1 ,mem_arq 
-069a c281abde bbit1 wack ,lpm_mult_short 
-069b c586abde bmark0 mark_lpm_mult_enable ,lpm_mult_short 
-069c 20405274 call l2cap_malloc_is_fifo_empty 
-069d 243a2bde nbranch lpm_mult_short ,blank 
-069e 205a06a0 call p_lpm_set_attemp_timeout ,blank 
-069f 20202bbe branch lpm_set_mult + 13 
+0693 7855fc00 disable wake 
+0694 68008030 fetch 1 ,mem_state 
+0695 c4008000 rtnbit0 state_insniff 
+0696 2436abd0 nbranch lpm_not_match ,match 
+0697 20402bcb call lpm_match 
+0698 680140c1 fetch 2 ,mem_rx_window_sniff 
+0699 6001003e store 2 ,mem_rx_window 
+069a 68008047 fetch 1 ,mem_arq 
+069b c281abde bbit1 wack ,lpm_mult_short 
+069c c586abde bmark0 mark_lpm_mult_enable ,lpm_mult_short 
+069d 20405274 call l2cap_malloc_is_fifo_empty 
+069e 243a2bde nbranch lpm_mult_short ,blank 
+069f 205a06a1 call p_lpm_set_attemp_timeout ,blank 
+06a0 20202bbe branch lpm_set_mult + 13 
 
 p_lpm_set_attemp_timeout:
-06a0 70008a01 jam 1 ,mem_current_sniff_attempt 
-06a1 70008b00 jam 0 ,mem_current_sniff_timeout 
-06a2 20600000 rtn 
+06a1 70008a01 jam 1 ,mem_current_sniff_attempt 
+06a2 70008b00 jam 0 ,mem_current_sniff_timeout 
+06a3 20600000 rtn 
 
 p_mouse_bb_disconnected:
-06a3 7011c510 jam zcode_10 ,mem_zcode_temp_param0 
-06a4 2020075d branch p_zcode_entrance 
+06a4 7011c510 jam zcode_10 ,mem_zcode_temp_param0 
+06a5 2020075e branch p_zcode_entrance 
 
 p_hid_rx_process:
-06a5 7011c511 jam zcode_11 ,mem_zcode_temp_param0 
-06a6 2020075d branch p_zcode_entrance 
+06a6 7011c511 jam zcode_11 ,mem_zcode_temp_param0 
+06a7 2020075e branch p_zcode_entrance 
 
 p_parse_lmp_accepted:
-06a7 68008552 fetch 1 ,mem_rxbuf + 1 
-06a8 600084c9 store 1 ,mem_lmi_accepted_opcode 
-06a9 c00986ab beq lmp_switch_req ,p_parse_lmp_accepted_switch 
-06aa 20205db4 branch parse_lmp_accepted + 3 
+06a8 68008552 fetch 1 ,mem_rxbuf + 1 
+06a9 600084c9 store 1 ,mem_lmi_accepted_opcode 
+06aa c00986ac beq lmp_switch_req ,p_parse_lmp_accepted_switch 
+06ab 20205db4 branch parse_lmp_accepted + 3 
 
 p_parse_lmp_accepted_switch:
-06ab 20405dcf call parse_lmp_accepted_switch 
-06ac 704aff01 jam 1 ,mem_bt_rcvd_switch_req_accept 
-06ad 6800cb01 fetch 1 ,mem_bt_send_lmp_setup_complete 
-06ae 207a0000 rtn blank 
-06af 704b0102 jam 2 ,mem_bt_send_lmp_setup_complete 
-06b0 20600000 rtn 
+06ac 20405dcf call parse_lmp_accepted_switch 
+06ad 704aff01 jam 1 ,mem_bt_rcvd_switch_req_accept 
+06ae 6800cb01 fetch 1 ,mem_bt_send_lmp_setup_complete 
+06af 207a0000 rtn blank 
+06b0 704b0102 jam 2 ,mem_bt_send_lmp_setup_complete 
+06b1 20600000 rtn 
 
 p_send_lmp:
-06b1 7011c520 jam zcode_20 ,mem_zcode_temp_param0 
-06b2 2020075d branch p_zcode_entrance 
+06b2 7011c520 jam zcode_20 ,mem_zcode_temp_param0 
+06b3 2020075e branch p_zcode_entrance 
 
 p_process_conn_sm:
-06b3 204062bc call lmo_fifo_check 
-06b4 247a0000 nrtn blank 
+06b4 204062bc call lmo_fifo_check 
+06b5 247a0000 nrtn blank 
 
 p_process_conn_sm_continue:
-06b5 68008055 fetch 1 ,mem_conn_sm 
-06b6 207a0000 rtn blank 
-06b7 c00206d5 beq conn_sm_send_conn_req ,p_host_create_conn_send_conn_req 
-06b8 c00806ba beq conn_sm_wait_switch_after_host_connection ,p_host_creat_conn_wait_switch 
-06b9 20206320 branch process_conn_sm_continue + 2 
+06b6 68008055 fetch 1 ,mem_conn_sm 
+06b7 207a0000 rtn blank 
+06b8 c00206d6 beq conn_sm_send_conn_req ,p_host_create_conn_send_conn_req 
+06b9 c00806bb beq conn_sm_wait_switch_after_host_connection ,p_host_creat_conn_wait_switch 
+06ba 20206320 branch process_conn_sm_continue + 2 
 
 p_host_creat_conn_wait_switch:
-06ba 6800c55b fetch 1 ,mem_switch_flag 
-06bb c1000000 rtneq switch_flag_init 
-06bc c00086be beq switch_flag_accept ,p_host_create_conn_switch_accept 
-06bd 2020635f branch host_creat_conn_wait_switch + 3 
+06bb 6800c55b fetch 1 ,mem_switch_flag 
+06bc c1000000 rtneq switch_flag_init 
+06bd c00086bf beq switch_flag_accept ,p_host_create_conn_switch_accept 
+06be 2020635f branch host_creat_conn_wait_switch + 3 
 
 p_host_create_conn_switch_accept:
-06be 20748000 rtn master 
+06bf 20748000 rtn master 
 
 p_host_create_conn_auth_pair:
-06bf 6800816d fetch 1 ,mem_connection_options 
-06c0 c28006c2 bbit1 connection_auth ,p_host_create_conn_auth_pair_true 
-06c1 20206399 branch host_create_conn_auth_pair + 1 
+06c0 6800816d fetch 1 ,mem_connection_options 
+06c1 c28006c3 bbit1 connection_auth ,p_host_create_conn_auth_pair_true 
+06c2 20206399 branch host_create_conn_auth_pair + 1 
 
 p_host_create_conn_auth_pair_true:
-06c2 6800cb01 fetch 1 ,mem_bt_send_lmp_setup_complete 
-06c3 c000e39d beq 1 ,host_create_conn_auth_pair_true 
-06c4 6800c1bd fetch 1 ,mem_link_key_exists 
-06c5 203a63a9 branch host_create_conn_auth_pair_nokey ,blank 
-06c6 680084d1 fetch 1 ,mem_lmp_conn_state 
-06c7 c4018000 rtnbit0 sent_setup_complete 
-06c8 c4010000 rtnbit0 received_setup_complete 
-06c9 6800cb00 fetch 1 ,mem_bt_send_max_slot_req_accept_after_switch 
-06ca 207a0000 rtn blank 
-06cb 704b0000 jam 0 ,mem_bt_send_max_slot_req_accept_after_switch 
-06cc 680204e9 fetch 4 ,mem_aurand_send_delay_time 
-06cd d8400014 arg 20 ,temp 
-06ce 98408400 iadd temp ,temp 
-06cf 1c427e00 copy clkn_bt ,pdata 
-06d0 98467c00 isub temp ,null 
-06d1 242106d3 nbranch p_bt_send_max_slot_req_accept_after_switch_wait ,positive 
-06d2 20206349 branch host_create_conn_auth 
+06c3 6800cb01 fetch 1 ,mem_bt_send_lmp_setup_complete 
+06c4 c000e39d beq 1 ,host_create_conn_auth_pair_true 
+06c5 6800c1bd fetch 1 ,mem_link_key_exists 
+06c6 203a63a9 branch host_create_conn_auth_pair_nokey ,blank 
+06c7 680084d1 fetch 1 ,mem_lmp_conn_state 
+06c8 c4018000 rtnbit0 sent_setup_complete 
+06c9 c4010000 rtnbit0 received_setup_complete 
+06ca 6800cb00 fetch 1 ,mem_bt_send_max_slot_req_accept_after_switch 
+06cb 207a0000 rtn blank 
+06cc 704b0000 jam 0 ,mem_bt_send_max_slot_req_accept_after_switch 
+06cd 680204e9 fetch 4 ,mem_aurand_send_delay_time 
+06ce d8400014 arg 20 ,temp 
+06cf 98408400 iadd temp ,temp 
+06d0 1c427e00 copy clkn_bt ,pdata 
+06d1 98467c00 isub temp ,null 
+06d2 242106d4 nbranch p_bt_send_max_slot_req_accept_after_switch_wait ,positive 
+06d3 20206349 branch host_create_conn_auth 
 
 p_bt_send_max_slot_req_accept_after_switch_wait:
-06d3 704b0001 jam 1 ,mem_bt_send_max_slot_req_accept_after_switch 
-06d4 20600000 rtn 
+06d4 704b0001 jam 1 ,mem_bt_send_max_slot_req_accept_after_switch 
+06d5 20600000 rtn 
 
 p_host_create_conn_send_conn_req:
-06d5 70480914 jam 20 ,mem_mouse_send_switch_req_timer 
-06d6 2020636f branch host_create_conn_send_conn_req 
+06d6 70480914 jam 20 ,mem_mouse_send_switch_req_timer 
+06d7 2020636f branch host_create_conn_send_conn_req 
 
 p_check_51cmd_once_continue:
-06d7 204062bc call lmo_fifo_check 
-06d8 243a7ddb nbranch check_51cmd_restore ,blank 
-06d9 68008a99 fetch 1 ,mem_fifo_temp 
-06da c584fdd6 bmark0 mark_context ,check_51cmd_check_idle 
-06db c00f86e2 beq bt_cmd_store_reconn_info_le ,p_flash_store_le_reconn_info 
-06dc c01006e5 beq bt_cmd_store_reconn_info_bt ,p_flash_store_bd_reconn_info 
-06dd c00906df beq bt_cmd_le_update_conn ,p_check_51cmd_ble_update_connect_param 
-06de 20207dca branch check_51cmd_once_continue + 2 
+06d8 204062bc call lmo_fifo_check 
+06d9 243a7ddb nbranch check_51cmd_restore ,blank 
+06da 68008a99 fetch 1 ,mem_fifo_temp 
+06db c584fdd6 bmark0 mark_context ,check_51cmd_check_idle 
+06dc c00f86e3 beq bt_cmd_store_reconn_info_le ,p_flash_store_le_reconn_info 
+06dd c01006e6 beq bt_cmd_store_reconn_info_bt ,p_flash_store_bd_reconn_info 
+06de c00906e0 beq bt_cmd_le_update_conn ,p_check_51cmd_ble_update_connect_param 
+06df 20207dca branch check_51cmd_once_continue + 2 
 
 p_check_51cmd_ble_update_connect_param:
-06df 20405890 call le_fifo_check_full 
-06e0 247a0000 nrtn blank 
-06e1 20205abf branch le_l2cap_tx_update_req 
+06e0 20405890 call le_fifo_check_full 
+06e1 247a0000 nrtn blank 
+06e2 20205abf branch le_l2cap_tx_update_req 
 
 p_flash_store_le_reconn_info:
-06e2 70018534 jam rec_4_mode ,mem_record_bt_mode 
-06e3 6803044f fetch 6 ,mem_le_plap 
-06e4 202006e7 branch p_flash_store_reconn_info 
+06e3 70018534 jam rec_4_mode ,mem_record_bt_mode 
+06e4 6803044f fetch 6 ,mem_le_plap 
+06e5 202006e8 branch p_flash_store_reconn_info 
 
 p_flash_store_bd_reconn_info:
-06e5 70018533 jam rec_3_mode ,mem_record_bt_mode 
-06e6 68030040 fetch 6 ,mem_plap 
+06e6 70018533 jam rec_3_mode ,mem_record_bt_mode 
+06e7 68030040 fetch 6 ,mem_plap 
 
 p_flash_store_reconn_info:
-06e7 60030186 store 6 ,mem_temp_lap 
+06e8 60030186 store 6 ,mem_temp_lap 
 
 p_mouse_store_remote_bdaddr:
-06e8 680246d3 fetch mouse_flag_len ,mem_mouse_flag 
-06e9 c4038000 rtnbit0 mouse_store_eeprom_flag 
-06ea d8e00007 arg mouse_store_eeprom_flag ,queue 
-06eb 204043d2 call mouse_disable_function_flag 
-06ec 204042e8 call mouse_check_device_addr 
+06e9 680246d3 fetch mouse_flag_len ,mem_mouse_flag 
+06ea c4038000 rtnbit0 mouse_store_eeprom_flag 
+06eb d8e00007 arg mouse_store_eeprom_flag ,queue 
+06ec 204043d2 call mouse_disable_function_flag 
+06ed 204042e8 call mouse_check_device_addr 
 
 p_mouse_unplug_clean_bdaddr:
-06ed 204042fb call mouse_before_store_reconn_info 
-06ee 20200335 branch p_mouse_store_flash_device_info 
+06ee 204042fb call mouse_before_store_reconn_info 
+06ef 20200335 branch p_mouse_store_flash_device_info 
 
 power_ctrl_pac_succ_cnt_init:
-06ef 704d6101 jam 1 ,mem_power_ctrl_level 
-06f0 704d5e00 jam 0 ,mem_power_ctrl_pac_succ_cnt 
-06f1 20600000 rtn 
+06f0 704d6101 jam 1 ,mem_power_ctrl_level 
+06f1 704d5e00 jam 0 ,mem_power_ctrl_pac_succ_cnt 
+06f2 20600000 rtn 
 
 power_ctrl_pac_succ_incrs:
-06f2 6800cd5e fetch 1 ,mem_power_ctrl_pac_succ_cnt 
-06f3 1fe0fe01 increase 1 ,pdata 
-06f4 6000cd5e store 1 ,mem_power_ctrl_pac_succ_cnt 
-06f5 20600000 rtn 
+06f3 6800cd5e fetch 1 ,mem_power_ctrl_pac_succ_cnt 
+06f4 1fe0fe01 increase 1 ,pdata 
+06f5 6000cd5e store 1 ,mem_power_ctrl_pac_succ_cnt 
+06f6 20600000 rtn 
 
 power_ctrl_pac_succ_decrs:
-06f6 6800cd5e fetch 1 ,mem_power_ctrl_pac_succ_cnt 
-06f7 1fe67c02 sub pdata ,2 ,null 
-06f8 244106fe ncall power_ctrl_pac_succ_cnt_reinit ,positive 
-06f9 6800cd5e fetch 1 ,mem_power_ctrl_pac_succ_cnt 
-06fa c1000000 rtneq 0 
-06fb 1fe0ffff increase -1 ,pdata 
-06fc 6000cd5e store 1 ,mem_power_ctrl_pac_succ_cnt 
-06fd 20600000 rtn 
+06f7 6800cd5e fetch 1 ,mem_power_ctrl_pac_succ_cnt 
+06f8 1fe67c02 sub pdata ,2 ,null 
+06f9 244106ff ncall power_ctrl_pac_succ_cnt_reinit ,positive 
+06fa 6800cd5e fetch 1 ,mem_power_ctrl_pac_succ_cnt 
+06fb c1000000 rtneq 0 
+06fc 1fe0ffff increase -1 ,pdata 
+06fd 6000cd5e store 1 ,mem_power_ctrl_pac_succ_cnt 
+06fe 20600000 rtn 
 
 power_ctrl_pac_succ_cnt_reinit:
-06fe 704d5e03 jam 3 ,mem_power_ctrl_pac_succ_cnt 
-06ff 20600000 rtn 
+06ff 704d5e03 jam 3 ,mem_power_ctrl_pac_succ_cnt 
+0700 20600000 rtn 
 
 power_ctrl_start:
-0700 68014682 fetch 2 ,mem_ui_state_map 
-0701 c3858000 rtnbit1 ui_state_ble_adv 
-0702 c3838000 rtnbit1 ui_state_bt_reconnect 
-0703 c3830000 rtnbit1 ui_state_bt_discovery 
-0704 da204ce7 arg mem_rssi_signal_buf ,rega 
-0705 2040025f call p_rssi_average 
-0706 6008cd5f storet 1 ,mem_rssi_avg_received 
-0707 58000082 setarg rssi_dis_max_24g 
-0708 c513070a bmark1 mark_24g ,power_ctrl_start_next 
-0709 58000080 setarg rssi_dis_max_ble 
+0701 68014682 fetch 2 ,mem_ui_state_map 
+0702 c3858000 rtnbit1 ui_state_ble_adv 
+0703 c3838000 rtnbit1 ui_state_bt_reconnect 
+0704 c3830000 rtnbit1 ui_state_bt_discovery 
+0705 da204ce7 arg mem_rssi_signal_buf ,rega 
+0706 2040025f call p_rssi_average 
+0707 6008cd5f storet 1 ,mem_rssi_avg_received 
+0708 58000082 setarg rssi_dis_max_24g 
+0709 c513070b bmark1 mark_24g ,power_ctrl_start_next 
+070a 58000080 setarg rssi_dis_max_ble 
 
 power_ctrl_start_next:
-070a 98467c00 isub temp ,null 
-070b 24210722 nbranch power_ctrl_txpower_incrs_force ,positive 
-070c 6800cd5e fetch 1 ,mem_power_ctrl_pac_succ_cnt 
-070d 1fe67c02 sub pdata ,2 ,null 
-070e 24210712 nbranch power_ctrl_txpower_decrs_check ,positive 
-070f 6800cd5e fetch 1 ,mem_power_ctrl_pac_succ_cnt 
-0710 c0000723 beq 0 ,power_ctrl_txpower_incrs 
-0711 20600000 rtn 
+070b 98467c00 isub temp ,null 
+070c 24210723 nbranch power_ctrl_txpower_incrs_force ,positive 
+070d 6800cd5e fetch 1 ,mem_power_ctrl_pac_succ_cnt 
+070e 1fe67c02 sub pdata ,2 ,null 
+070f 24210713 nbranch power_ctrl_txpower_decrs_check ,positive 
+0710 6800cd5e fetch 1 ,mem_power_ctrl_pac_succ_cnt 
+0711 c0000724 beq 0 ,power_ctrl_txpower_incrs 
+0712 20600000 rtn 
 
 power_ctrl_txpower_decrs_check:
-0712 6800cd5e fetch 1 ,mem_power_ctrl_pac_succ_cnt 
-0713 c1950000 rtnne 42 
-0714 704d5e00 jam 0 ,mem_power_ctrl_pac_succ_cnt 
+0713 6800cd5e fetch 1 ,mem_power_ctrl_pac_succ_cnt 
+0714 c1950000 rtnne 42 
+0715 704d5e00 jam 0 ,mem_power_ctrl_pac_succ_cnt 
 
 power_ctrl_txpower_decrs:
-0715 6808cd5f fetcht 1 ,mem_rssi_avg_received 
-0716 58000077 setarg rssi_dis_min_24g 
-0717 c5130719 bmark1 mark_24g ,power_ctrl_txpower_decrs_next 
-0718 58000075 setarg rssi_dis_min_ble 
+0716 6808cd5f fetcht 1 ,mem_rssi_avg_received 
+0717 58000077 setarg rssi_dis_min_24g 
+0718 c513071a bmark1 mark_24g ,power_ctrl_txpower_decrs_next 
+0719 58000075 setarg rssi_dis_min_ble 
 
 power_ctrl_txpower_decrs_next:
-0719 98467c00 isub temp ,null 
-071a 24610000 nrtn positive 
-071b 6800cd61 fetch 1 ,mem_power_ctrl_level 
-071c c000072a beq 0 ,power_ctrl_decrs_level0 
-071d 1fe0ffff increase -1 ,pdata 
-071e 6000cd61 store 1 ,mem_power_ctrl_level 
-071f c000072a beq 0 ,power_ctrl_decrs_level0 
+071a 98467c00 isub temp ,null 
+071b 24610000 nrtn positive 
+071c 6800cd61 fetch 1 ,mem_power_ctrl_level 
+071d c000072b beq 0 ,power_ctrl_decrs_level0 
+071e 1fe0ffff increase -1 ,pdata 
+071f 6000cd61 store 1 ,mem_power_ctrl_level 
+0720 c000072b beq 0 ,power_ctrl_decrs_level0 
 
 power_ctrl_decrs_level1:
 
 power_ctrl_incrs_level1:
-0720 7041de00 jam tx_power_0db ,mem_tx_power 
-0721 20600000 rtn 
+0721 7041de00 jam tx_power_0db ,mem_tx_power 
+0722 20600000 rtn 
 
 power_ctrl_txpower_incrs_force:
-0722 704d5e00 jam 0 ,mem_power_ctrl_pac_succ_cnt 
+0723 704d5e00 jam 0 ,mem_power_ctrl_pac_succ_cnt 
 
 power_ctrl_txpower_incrs:
-0723 6800cd61 fetch 1 ,mem_power_ctrl_level 
-0724 c0010728 beq 2 ,power_ctrl_incrs_level2 
-0725 1fe0fe01 increase 1 ,pdata 
-0726 6000cd61 store 1 ,mem_power_ctrl_level 
-0727 c0008720 beq 1 ,power_ctrl_incrs_level1 
+0724 6800cd61 fetch 1 ,mem_power_ctrl_level 
+0725 c0010729 beq 2 ,power_ctrl_incrs_level2 
+0726 1fe0fe01 increase 1 ,pdata 
+0727 6000cd61 store 1 ,mem_power_ctrl_level 
+0728 c0008721 beq 1 ,power_ctrl_incrs_level1 
 
 power_ctrl_incrs_level2:
-0728 7041de02 jam tx_power_5db ,mem_tx_power 
-0729 20600000 rtn 
+0729 7041de02 jam tx_power_5db ,mem_tx_power 
+072a 20600000 rtn 
 
 power_ctrl_decrs_level0:
-072a 7041de00 jam tx_power_0db ,mem_tx_power 
-072b 20600000 rtn 
+072b 7041de00 jam tx_power_0db ,mem_tx_power 
+072c 20600000 rtn 
 
 p_set_freq_tx:
-072c 60088017 storet 1 ,mem_last_freq 
-072d 1840a200 add temp ,0 ,rega 
-072e 20402981 call rf_write_freq 
-072f 58000500 setarg param_pll_setup 
-0730 20402a8f call sleep 
+072d 60088017 storet 1 ,mem_last_freq 
+072e 1840a200 add temp ,0 ,rega 
+072f 20402981 call rf_write_freq 
+0730 58000500 setarg param_pll_setup 
+0731 20402a8f call sleep 
 
 p_rf_tx_enable:
-0731 70890601 jam 0x1 ,rfen_adc 
-0732 7089003c jam 0x3c ,rfen_rx 
-0733 708901e0 jam 0xe0 ,rfen_tx 
-0734 2000000a nop 10 
-0735 70890201 jam 0x01 ,rfen_mdm 
-0736 7089023d jam 0x3d ,rfen_mdm 
-0737 2000000a nop 10 
-0738 708903b7 jam 0xb7 ,rfen_sn 
-0739 2000000a nop 10 
-073a 7089027d jam 0x7d ,rfen_mdm 
-073b 6800c1de fetch 1 ,mem_tx_power 
-073c c0010744 beq tx_power_5db ,p_set_tx_power_5db 
-073d c0020749 beq tx_power_f5db ,p_set_tx_power_f5db 
-073e c0100758 beq tx_power_pair ,p_set_tx_power_pair 
+0732 70890601 jam 0x1 ,rfen_adc 
+0733 7089003c jam 0x3c ,rfen_rx 
+0734 708901e0 jam 0xe0 ,rfen_tx 
+0735 2000000a nop 10 
+0736 70890201 jam 0x01 ,rfen_mdm 
+0737 7089023d jam 0x3d ,rfen_mdm 
+0738 2000000a nop 10 
+0739 708903b7 jam 0xb7 ,rfen_sn 
+073a 2000000a nop 10 
+073b 7089027d jam 0x7d ,rfen_mdm 
+073c 6800c1de fetch 1 ,mem_tx_power 
+073d c0010745 beq tx_power_5db ,p_set_tx_power_5db 
+073e c002074a beq tx_power_f5db ,p_set_tx_power_f5db 
+073f c0100759 beq tx_power_pair ,p_set_tx_power_pair 
 
 p_set_tx_power_0db:
-073f 2040074e call p_rx_low_sens 
-0740 708955d0 jam 0xd0 ,0x8955 
-0741 708956e0 jam 0xe0 ,0x8956 
-0742 7089586c jam 0x6c ,0x8958 
-0743 2020294b branch set_tx_power_0db 
+0740 2040074f call p_rx_low_sens 
+0741 708955d0 jam 0xd0 ,0x8955 
+0742 708956e0 jam 0xe0 ,0x8956 
+0743 7089586c jam 0x6c ,0x8958 
+0744 2020294b branch set_tx_power_0db 
 
 p_set_tx_power_5db:
-0744 20400753 call p_rx_high_sens 
-0745 708955d0 jam 0xd0 ,0x8955 
-0746 708956e0 jam 0xe0 ,0x8956 
-0747 7089583c jam 0x3c ,0x8958 
-0748 20202953 branch set_tx_power_5db 
+0745 20400754 call p_rx_high_sens 
+0746 708955d0 jam 0xd0 ,0x8955 
+0747 708956e0 jam 0xe0 ,0x8956 
+0748 7089583c jam 0x3c ,0x8958 
+0749 20202953 branch set_tx_power_5db 
 
 p_set_tx_power_f5db:
-0749 2040074e call p_rx_low_sens 
-074a 708955d0 jam 0xd0 ,0x8955 
-074b 708956c0 jam 0xc0 ,0x8956 
-074c 7089586c jam 0x6c ,0x8958 
-074d 2020295b branch set_tx_power_f5db 
+074a 2040074f call p_rx_low_sens 
+074b 708955d0 jam 0xd0 ,0x8955 
+074c 708956c0 jam 0xc0 ,0x8956 
+074d 7089586c jam 0x6c ,0x8958 
+074e 2020295b branch set_tx_power_f5db 
 
 p_rx_low_sens:
-074e 70894c5b jam 0x5b ,0x894c 
-074f 70894d96 jam 0x96 ,0x894d 
-0750 70894e2c jam 0x2c ,0x894e 
-0751 70894f46 jam 0x46 ,0x894f 
-0752 20600000 rtn 
+074f 70894c5b jam 0x5b ,0x894c 
+0750 70894d96 jam 0x96 ,0x894d 
+0751 70894e2c jam 0x2c ,0x894e 
+0752 70894f46 jam 0x46 ,0x894f 
+0753 20600000 rtn 
 
 p_rx_high_sens:
-0753 70894cfb jam 0xfb ,0x894c 
-0754 70894def jam 0xef ,0x894d 
-0755 70894eec jam 0xec ,0x894e 
-0756 70894f5e jam 0x5e ,0x894f 
-0757 20600000 rtn 
+0754 70894cfb jam 0xfb ,0x894c 
+0755 70894def jam 0xef ,0x894d 
+0756 70894eec jam 0xec ,0x894e 
+0757 70894f5e jam 0x5e ,0x894f 
+0758 20600000 rtn 
 
 p_set_tx_power_pair:
-0758 708956c2 jam 0xc2 ,0x8956 
-0759 708955d0 jam 0xd0 ,0x8955 
-075a 20600000 rtn 
+0759 708956c2 jam 0xc2 ,0x8956 
+075a 708955d0 jam 0xd0 ,0x8955 
+075b 20600000 rtn 
 
 p_shutdown_radio:
-075b 18002a08 force 8 ,radio_ctrl 
-075c 202028fa branch shutdown_radio + 1 
+075c 18002a08 force 8 ,radio_ctrl 
+075d 202028fa branch shutdown_radio + 1 
 
 p_zcode_entrance:
-075d 680891c5 fetcht 1 ,mem_zcode_temp_param0 
-075e 18518400 rshift4 temp ,temp 
-075f 6800cb6f fetch 1 ,mem_zcode_current_number 
-0760 98467c00 isub temp ,null 
-0761 2022877c branch p_zcode_run ,zero 
-0762 6008cb6f storet 1 ,mem_zcode_current_number 
-0763 18408401 increase 1 ,temp 
-0764 58000100 setarg zcode_buff_size 
-0765 984f8400 imul32 temp ,temp 
-0766 6801cb70 fetch 3 ,mem_xip_flash_offset 
-0767 98467e00 isub temp ,pdata 
-0768 6809cb73 fetcht 3 ,mem_flash_start_addr 
-0769 9840fe00 iadd temp ,pdata 
-076a 1fe0fffb increase -5 ,pdata 
-076b 6001cb76 store 3 ,mem_flash_address 
-076c 20400397 call p_flash_release_deep_power_down 
+075e 680891c5 fetcht 1 ,mem_zcode_temp_param0 
+075f 18518400 rshift4 temp ,temp 
+0760 6800cb6f fetch 1 ,mem_zcode_current_number 
+0761 98467c00 isub temp ,null 
+0762 2022877d branch p_zcode_run ,zero 
+0763 6008cb6f storet 1 ,mem_zcode_current_number 
+0764 18408401 increase 1 ,temp 
+0765 58000100 setarg zcode_buff_size 
+0766 984f8400 imul32 temp ,temp 
+0767 6801cb70 fetch 3 ,mem_xip_flash_offset 
+0768 98467e00 isub temp ,pdata 
+0769 6809cb73 fetcht 3 ,mem_flash_start_addr 
+076a 9840fe00 iadd temp ,pdata 
+076b 1fe0fffb increase -5 ,pdata 
+076c 6001cb76 store 3 ,mem_flash_address 
+076d 20400397 call p_flash_release_deep_power_down 
 
 p_zcode_read_loop:
-076d 6801cb76 fetch 3 ,mem_flash_address 
-076e d8400100 arg zcode_buff_size ,temp 
-076f da201f00 arg mem_zcode_buff ,rega 
-0770 20406562 call spid_read_flash 
-0771 68021f00 fetch 4 ,mem_zcode_buff 
-0772 680a4b79 fetcht 4 ,mem_zcode_head 
-0773 98467c00 isub temp ,null 
-0774 2422876d nbranch p_zcode_read_loop ,zero 
-0775 2040034a call p_mouse_spi_init 
-0776 58001f00 setarg mem_zcode_buff 
-0777 60014199 store 2 ,mem_patch_ptr 
-0778 70419b40 jam zcode_code_size ,mem_patch_len 
-0779 204064ca call load_ucode 
-077a 58000000 setarg 0 
-077b 60024199 store 4 ,mem_patch_ptr 
+076e 6801cb76 fetch 3 ,mem_flash_address 
+076f d8400100 arg zcode_buff_size ,temp 
+0770 da201f00 arg mem_zcode_buff ,rega 
+0771 20406562 call spid_read_flash 
+0772 68021f00 fetch 4 ,mem_zcode_buff 
+0773 680a4b79 fetcht 4 ,mem_zcode_head 
+0774 98467c00 isub temp ,null 
+0775 2422876e nbranch p_zcode_read_loop ,zero 
+0776 2040034a call p_mouse_spi_init 
+0777 58001f00 setarg mem_zcode_buff 
+0778 60014199 store 2 ,mem_patch_ptr 
+0779 70419b40 jam zcode_code_size ,mem_patch_len 
+077a 204064ca call load_ucode 
+077b 58000000 setarg 0 
+077c 60024199 store 4 ,mem_patch_ptr 
 
 p_zcode_run:
-077c 680091c5 fetch 1 ,mem_zcode_temp_param0 
-077d 20200001 branch p_zcode 
+077d 680091c5 fetch 1 ,mem_zcode_temp_param0 
+077e 20200001 branch p_zcode 
 
 p_drawing_optima_init:
-077e df200005 arg 5 ,loopcnt 
-077f d8a04b0b arg mem_mouse_asm_flag ,contw 
-0780 20207ed4 branch clear_mem 
+077f df200005 arg 5 ,loopcnt 
+0780 d8a04b0b arg mem_mouse_asm_flag ,contw 
+0781 20207ed4 branch clear_mem 
 
 p_drawing_optima:
-0781 6802469b fetch 4 ,mem_mouse_x 
-0782 207a0000 rtn blank 
-0783 204007d2 call p_data_abs_check 
-0784 58000006 setarg 0x06 
-0785 204007c5 call p_data_greater_than_check 
-0786 58000003 setarg 0x03 
-0787 204007cb call p_data_less_than_check 
-0788 6800cb0b fetch 1 ,mem_mouse_asm_flag 
-0789 c000878b beq 1 ,p_drawing_optima_modify 
-078a 2020077e branch p_drawing_optima_init 
+0782 6802469b fetch 4 ,mem_mouse_x 
+0783 207a0000 rtn blank 
+0784 204007d3 call p_data_abs_check 
+0785 58000006 setarg 0x06 
+0786 204007c6 call p_data_greater_than_check 
+0787 58000003 setarg 0x03 
+0788 204007cc call p_data_less_than_check 
+0789 6800cb0b fetch 1 ,mem_mouse_asm_flag 
+078a c000878c beq 1 ,p_drawing_optima_modify 
+078b 2020077f branch p_drawing_optima_init 
 
 p_drawing_optima_modify:
-078b 68014b0c fetch 2 ,mem_mouse_x_pre 
-078c 600111be store 2 ,mem_data_pre 
-078d 6801469b fetch 2 ,mem_mouse_x 
-078e 600111c0 store 2 ,mem_data_current 
-078f 2040079e call p_drawing_optima_data 
-0790 680111be fetch 2 ,mem_data_pre 
-0791 60014b0c store 2 ,mem_mouse_x_pre 
-0792 680111c0 fetch 2 ,mem_data_current 
-0793 6001469b store 2 ,mem_mouse_x 
-0794 68014b0e fetch 2 ,mem_mouse_y_pre 
-0795 600111be store 2 ,mem_data_pre 
-0796 6801469d fetch 2 ,mem_mouse_y 
-0797 600111c0 store 2 ,mem_data_current 
-0798 2040079e call p_drawing_optima_data 
-0799 680111be fetch 2 ,mem_data_pre 
-079a 60014b0e store 2 ,mem_mouse_y_pre 
-079b 680111c0 fetch 2 ,mem_data_current 
-079c 6001469d store 2 ,mem_mouse_y 
-079d 20600000 rtn 
+078c 68014b0c fetch 2 ,mem_mouse_x_pre 
+078d 600111be store 2 ,mem_data_pre 
+078e 6801469b fetch 2 ,mem_mouse_x 
+078f 600111c0 store 2 ,mem_data_current 
+0790 2040079f call p_drawing_optima_data 
+0791 680111be fetch 2 ,mem_data_pre 
+0792 60014b0c store 2 ,mem_mouse_x_pre 
+0793 680111c0 fetch 2 ,mem_data_current 
+0794 6001469b store 2 ,mem_mouse_x 
+0795 68014b0e fetch 2 ,mem_mouse_y_pre 
+0796 600111be store 2 ,mem_data_pre 
+0797 6801469d fetch 2 ,mem_mouse_y 
+0798 600111c0 store 2 ,mem_data_current 
+0799 2040079f call p_drawing_optima_data 
+079a 680111be fetch 2 ,mem_data_pre 
+079b 60014b0e store 2 ,mem_mouse_y_pre 
+079c 680111c0 fetch 2 ,mem_data_current 
+079d 6001469d store 2 ,mem_mouse_y 
+079e 20600000 rtn 
 
 p_drawing_optima_data:
-079e 680111be fetch 2 ,mem_data_pre 
-079f 680911c0 fetcht 2 ,mem_data_current 
-07a0 9840fe00 iadd temp ,pdata 
-07a1 600191c2 store 3 ,mem_data_sum 
-07a2 2feffe10 isolate1 16 ,pdata 
-07a3 202087ab branch p_data_sum_overflow ,true 
-07a4 680091c3 fetch 1 ,mem_data_sum + 1 
-07a5 c07f87b2 beq 0xff ,p_data_sum_n 
-07a6 680091c2 fetch 1 ,mem_data_sum 
+079f 680111be fetch 2 ,mem_data_pre 
+07a0 680911c0 fetcht 2 ,mem_data_current 
+07a1 9840fe00 iadd temp ,pdata 
+07a2 600191c2 store 3 ,mem_data_sum 
+07a3 2feffe10 isolate1 16 ,pdata 
+07a4 202087ac branch p_data_sum_overflow ,true 
+07a5 680091c3 fetch 1 ,mem_data_sum + 1 
+07a6 c07f87b3 beq 0xff ,p_data_sum_n 
+07a7 680091c2 fetch 1 ,mem_data_sum 
 
 p_data_store_pre:
-07a7 1fe37e00 rshift pdata ,pdata 
-07a8 600111be store 2 ,mem_data_pre 
-07a9 600111c0 store 2 ,mem_data_current 
-07aa 20600000 rtn 
+07a8 1fe37e00 rshift pdata ,pdata 
+07a9 600111be store 2 ,mem_data_pre 
+07aa 600111c0 store 2 ,mem_data_current 
+07ab 20600000 rtn 
 
 p_data_sum_overflow:
-07ab 680091c3 fetch 1 ,mem_data_sum + 1 
-07ac c00007af beq 0 ,p_data_sum_overflow_p 
-07ad 680191c2 fetch 3 ,mem_data_sum 
-07ae 202007a7 branch p_data_store_pre 
+07ac 680091c3 fetch 1 ,mem_data_sum + 1 
+07ad c00007b0 beq 0 ,p_data_sum_overflow_p 
+07ae 680191c2 fetch 3 ,mem_data_sum 
+07af 202007a8 branch p_data_store_pre 
 
 p_data_sum_overflow_p:
-07af 7011c400 jam 0 ,mem_data_sum + 2 
-07b0 680091c2 fetch 1 ,mem_data_sum 
-07b1 202007a7 branch p_data_store_pre 
+07b0 7011c400 jam 0 ,mem_data_sum + 2 
+07b1 680091c2 fetch 1 ,mem_data_sum 
+07b2 202007a8 branch p_data_store_pre 
 
 p_data_sum_n:
-07b2 680091c2 fetch 1 ,mem_data_sum 
-07b3 204007bd call p_pdata_get_half 
-07b4 600091be store 1 ,mem_data_pre 
-07b5 600091c0 store 1 ,mem_data_current 
-07b6 203a07bb branch p_data_zero ,blank 
-07b7 580000ff setarg 0xff 
+07b3 680091c2 fetch 1 ,mem_data_sum 
+07b4 204007be call p_pdata_get_half 
+07b5 600091be store 1 ,mem_data_pre 
+07b6 600091c0 store 1 ,mem_data_current 
+07b7 203a07bc branch p_data_zero ,blank 
+07b8 580000ff setarg 0xff 
 
 p_data_set_direction:
-07b8 600091bf store 1 ,mem_data_pre + 1 
-07b9 600091c1 store 1 ,mem_data_current + 1 
-07ba 20600000 rtn 
+07b9 600091bf store 1 ,mem_data_pre + 1 
+07ba 600091c1 store 1 ,mem_data_current + 1 
+07bb 20600000 rtn 
 
 p_data_zero:
-07bb 58000000 setarg 0 
-07bc 202007b8 branch p_data_set_direction 
+07bc 58000000 setarg 0 
+07bd 202007b9 branch p_data_set_direction 
 
 p_pdata_get_half:
-07bd 1fe67e00 sub pdata ,0 ,pdata 
-07be 60008aae store 1 ,mem_rega 
-07bf 68008aae fetch 1 ,mem_rega 
-07c0 1fe37e00 rshift pdata ,pdata 
-07c1 60008aae store 1 ,mem_rega 
-07c2 68008aae fetch 1 ,mem_rega 
-07c3 1fe67e00 sub pdata ,0 ,pdata 
-07c4 20600000 rtn 
+07be 1fe67e00 sub pdata ,0 ,pdata 
+07bf 60008aae store 1 ,mem_rega 
+07c0 68008aae fetch 1 ,mem_rega 
+07c1 1fe37e00 rshift pdata ,pdata 
+07c2 60008aae store 1 ,mem_rega 
+07c3 68008aae fetch 1 ,mem_rega 
+07c4 1fe67e00 sub pdata ,0 ,pdata 
+07c5 20600000 rtn 
 
 p_data_greater_than_check:
-07c5 9a267c00 isub rega ,null 
-07c6 242107d0 nbranch p_enable_asm ,positive 
-07c7 9a467c00 isub regb ,null 
-07c8 242107d0 nbranch p_enable_asm ,positive 
+07c6 9a267c00 isub rega ,null 
+07c7 242107d1 nbranch p_enable_asm ,positive 
+07c8 9a467c00 isub regb ,null 
+07c9 242107d1 nbranch p_enable_asm ,positive 
 
 p_disable_asm:
-07c9 704b0b00 jam 0 ,mem_mouse_asm_flag 
-07ca 20600000 rtn 
+07ca 704b0b00 jam 0 ,mem_mouse_asm_flag 
+07cb 20600000 rtn 
 
 p_data_less_than_check:
-07cb 9a267c00 isub rega ,null 
-07cc 24610000 nrtn positive 
-07cd 9a467c00 isub regb ,null 
-07ce 24610000 nrtn positive 
-07cf 202007c9 branch p_disable_asm 
+07cc 9a267c00 isub rega ,null 
+07cd 24610000 nrtn positive 
+07ce 9a467c00 isub regb ,null 
+07cf 24610000 nrtn positive 
+07d0 202007ca branch p_disable_asm 
 
 p_enable_asm:
-07d0 704b0b01 jam 1 ,mem_mouse_asm_flag 
-07d1 20600000 rtn 
+07d1 704b0b01 jam 1 ,mem_mouse_asm_flag 
+07d2 20600000 rtn 
 
 p_data_abs_check:
-07d2 6801469b fetch 2 ,mem_mouse_x 
-07d3 600111c0 store 2 ,mem_data_current 
-07d4 204007db call p_data_abs 
-07d5 1fe22200 copy pdata ,rega 
-07d6 6801469d fetch 2 ,mem_mouse_y 
-07d7 600111c0 store 2 ,mem_data_current 
-07d8 204007db call p_data_abs 
-07d9 1fe22400 copy pdata ,regb 
-07da 20600000 rtn 
+07d3 6801469b fetch 2 ,mem_mouse_x 
+07d4 600111c0 store 2 ,mem_data_current 
+07d5 204007dc call p_data_abs 
+07d6 1fe22200 copy pdata ,rega 
+07d7 6801469d fetch 2 ,mem_mouse_y 
+07d8 600111c0 store 2 ,mem_data_current 
+07d9 204007dc call p_data_abs 
+07da 1fe22400 copy pdata ,regb 
+07db 20600000 rtn 
 
 p_data_abs:
-07db 680091c1 fetch 1 ,mem_data_current + 1 
-07dc c07f87e0 beq 0xff ,p_data_reversal 
-07dd 680091c0 fetch 1 ,mem_data_current 
+07dc 680091c1 fetch 1 ,mem_data_current + 1 
+07dd c07f87e1 beq 0xff ,p_data_reversal 
+07de 680091c0 fetch 1 ,mem_data_current 
 
 p_data_abs_store:
-07de 1fe17eff and_into 0xff ,pdata 
-07df 20600000 rtn 
+07df 1fe17eff and_into 0xff ,pdata 
+07e0 20600000 rtn 
 
 p_data_reversal:
-07e0 680111c0 fetch 2 ,mem_data_current 
-07e1 1fe67e00 sub pdata ,0 ,pdata 
-07e2 202007de branch p_data_abs_store 
+07e1 680111c0 fetch 2 ,mem_data_current 
+07e2 1fe67e00 sub pdata ,0 ,pdata 
+07e3 202007df branch p_data_abs_store 
               org 0x2000
 
 start:
@@ -35665,7 +35666,7 @@
 
 z_entrance5:
 60001 c0280004 beq zcode_50 ,z_mouse_start_discovery 
-60002 c028802f beq zcode_51 ,z_mouse_24g_attempt_fail 
+60002 c028802d beq zcode_51 ,z_mouse_24g_attempt_fail 
 60003 20600000 rtn 
 
 z_mouse_start_discovery:
@@ -35674,65 +35675,63 @@
 60006 20400389 call p_mouse_le_fast_conn_disable 
 60007 204002a2 call p_mouse_tx_power_init 
 60008 70479c00 jam 0 ,mem_mouse_clear_sensor_data_flag 
-60009 68014682 fetch 2 ,mem_ui_state_map 
-6000a c2858013 bbit1 ui_state_ble_adv ,z_mouse_start_discovery_norandom 
-6000b 20400399 call p_mouse_load_random_addr_increase_count 
-6000c 680947c2 fetcht 2 ,mem_random_addr_increase_count 
-6000d 18408401 increase 1 ,temp 
-6000e 600947c2 storet 2 ,mem_random_addr_increase_count 
-6000f 600944a1 storet 2 ,mem_le_lap + 1 
-60010 20400340 call p_mouse_store_random_addr_increase_count 
-60011 180a7e00 random pdata 
-60012 6000c4a0 store 1 ,mem_le_lap 
+60009 20400399 call p_mouse_load_random_addr_increase_count 
+6000a 680947c2 fetcht 2 ,mem_random_addr_increase_count 
+6000b 18408401 increase 1 ,temp 
+6000c 600947c2 storet 2 ,mem_random_addr_increase_count 
+6000d 600944a1 storet 2 ,mem_le_lap + 1 
+6000e 20400340 call p_mouse_store_random_addr_increase_count 
+6000f 180a7e00 random pdata 
+60010 6000c4a0 store 1 ,mem_le_lap 
 
 z_mouse_start_discovery_norandom:
-60013 20403418 call app_lpm_mult_disable 
-60014 68014687 fetch 2 ,mem_discovery_timeout 
-60015 600146ac store 2 ,mem_mouse_discovery_timer 
-60016 704b4705 jam 5 ,mem_mouse_bt_ble_led_timer 
-60017 70016d06 jam 6 ,mem_connection_options 
-60018 58000000 setarg 0 
-60019 600146b0 store 2 ,mem_mouse_no_data_timer 
-6001a 600146ae store 2 ,mem_mouse_direct_timer 
-6001b d8e00007 arg mouse_store_eeprom_flag ,queue 
-6001c 204043ce call mouse_enable_function_flag 
-6001d 204043ca call mouse_bt_discovery_button_down_disable 
-6001e 6800c092 fetch 1 ,mem_device_option 
-6001f 2feffe01 isolate1 mode_4_mouse ,pdata 
-60020 20408026 call z_check_51cmd_adv ,true 
-60021 6800c092 fetch 1 ,mem_device_option 
-60022 2feffe00 isolate1 mode_3_mouse ,pdata 
-60023 2040fddd call check_51cmd_start_discovery ,true 
-60024 704b5700 jam 0 ,mem_mouse_bt_reconnect_flag 
-60025 202042c4 branch mouse_start_discovery_norandom + 13 
+60011 20403418 call app_lpm_mult_disable 
+60012 68014687 fetch 2 ,mem_discovery_timeout 
+60013 600146ac store 2 ,mem_mouse_discovery_timer 
+60014 704b4705 jam 5 ,mem_mouse_bt_ble_led_timer 
+60015 70016d06 jam 6 ,mem_connection_options 
+60016 58000000 setarg 0 
+60017 600146b0 store 2 ,mem_mouse_no_data_timer 
+60018 600146ae store 2 ,mem_mouse_direct_timer 
+60019 d8e00007 arg mouse_store_eeprom_flag ,queue 
+6001a 204043ce call mouse_enable_function_flag 
+6001b 204043ca call mouse_bt_discovery_button_down_disable 
+6001c 6800c092 fetch 1 ,mem_device_option 
+6001d 2feffe01 isolate1 mode_4_mouse ,pdata 
+6001e 20408024 call z_check_51cmd_adv ,true 
+6001f 6800c092 fetch 1 ,mem_device_option 
+60020 2feffe00 isolate1 mode_3_mouse ,pdata 
+60021 2040fddd call check_51cmd_start_discovery ,true 
+60022 704b5700 jam 0 ,mem_mouse_bt_reconnect_flag 
+60023 202042c4 branch mouse_start_discovery_norandom + 13 
 
 z_check_51cmd_adv:
-60026 70479f00 jam 0 ,mem_mouse_le_reconnect_flag 
-60027 6801cb64 fetch 3 ,mem_le_adv_ind 
-60028 6001c374 store 3 ,mem_le_adv_data + 4 
-60029 204002bc call p_le_check_adv_flag 
-6002a 58000005 setarg adv_flag_bredr_not_supported | adv_flag_limited_discoverable 
-6002b e0c08000 istore 1 ,contr 
-6002c d8c04b10 arg mem_le_adv_swift_pair ,contr 
-6002d 20400583 call p_le_adv_data_update 
-6002e 20207df4 branch check_51cmd_adv 
+60024 70479f00 jam 0 ,mem_mouse_le_reconnect_flag 
+60025 6801cb64 fetch 3 ,mem_le_adv_ind 
+60026 6001c374 store 3 ,mem_le_adv_data + 4 
+60027 204002bc call p_le_check_adv_flag 
+60028 58000005 setarg adv_flag_bredr_not_supported | adv_flag_limited_discoverable 
+60029 e0c08000 istore 1 ,contr 
+6002a d8c04b10 arg mem_le_adv_swift_pair ,contr 
+6002b 20400587 call p_le_adv_data_update 
+6002c 20207df4 branch check_51cmd_adv 
 
 z_mouse_24g_attempt_fail:
-6002f 6800cb5f fetch 1 ,mem_mouse_24g_pair_timer 
-60030 247a0000 nrtn blank 
-60031 6800cb59 fetch 1 ,mem_24g_attempt_count 
-60032 243a0039 nbranch z_mouse_24g_attempt_fail_again ,blank 
-60033 704d6500 jam g24_tx_timer_int_disable ,mem_24g_transmit_by_interrupt 
-60034 204002a2 call p_mouse_tx_power_init 
-60035 204001a7 call p_g24_check_51cmd_stop_24g 
-60036 7041bd00 jam 0 ,mem_link_key_exists 
-60037 2040027a call p_mouse_setgpio_hibernate 
-60038 2020340a branch app_enter_hibernate 
+6002d 6800cb5f fetch 1 ,mem_mouse_24g_pair_timer 
+6002e 247a0000 nrtn blank 
+6002f 6800cb59 fetch 1 ,mem_24g_attempt_count 
+60030 243a0037 nbranch z_mouse_24g_attempt_fail_again ,blank 
+60031 704d6500 jam g24_tx_timer_int_disable ,mem_24g_transmit_by_interrupt 
+60032 204002a2 call p_mouse_tx_power_init 
+60033 204001a7 call p_g24_check_51cmd_stop_24g 
+60034 7041bd00 jam 0 ,mem_link_key_exists 
+60035 2040027a call p_mouse_setgpio_hibernate 
+60036 2020340a branch app_enter_hibernate 
 
 z_mouse_24g_attempt_fail_again:
-60039 1fe0ffff increase -1 ,pdata 
-6003a 6000cb59 store 1 ,mem_24g_attempt_count 
-6003b 202003a0 branch p_mouse_start_24g_mode 
+60037 1fe0ffff increase -1 ,pdata 
+60038 6000cb59 store 1 ,mem_24g_attempt_count 
+60039 202003a0 branch p_mouse_start_24g_mode 
               org 0x70001
 
 z_entrance6:
@@ -35920,7 +35919,7 @@
 90015 20405839 call le_set_justwork 
 90016 2040582c call le_set_fixed_ltk 
 90017 20405818 call le_set_config_read_authentication 
-90018 2040057e call p_le_addr_random_config 
+90018 20400582 call p_le_addr_random_config 
 90019 20200327 branch p_mouse_load_flash_info_check 
 
 z_mouse_bt_sdp_update:
Index: output/romcode.rom
===================================================================
--- /branch/mouse_project/YJX_Project/YJX_1059/YJX-133_OnlyBLE/output/romcode.rom	(revision 5488)
+++ /branch/mouse_project/YJX_Project/YJX_1059/YJX-133_OnlyBLE/output/romcode.rom	(working copy)
@@ -24753,15 +24753,13 @@
 c1800000
 20207fe9
 c0280004
-c028802f
+c028802d
 20600000
 68034b7e
 600344a0
 20400389
 204002a2
 70479c00
-68014682
-c2858013
 20400399
 680947c2
 18408401
@@ -24783,7 +24781,7 @@
 204043ca
 6800c092
 2feffe01
-20408026
+20408024
 6800c092
 2feffe00
 2040fddd
@@ -24796,12 +24794,12 @@
 58000005
 e0c08000
 d8c04b10
-20400583
+20400587
 20207df4
 6800cb5f
 247a0000
 6800cb59
-243a0039
+243a0037
 704d6500
 204002a2
 204001a7
@@ -24939,7 +24937,7 @@
 20405839
 2040582c
 20405818
-2040057e
+20400582
 20200327
 204074b9
 d8c08c00
@@ -25119,4 +25117,4 @@
 704b0100
 704b0a00
 202041d9
-0000c405
+00002d72
Index: program/patch.prog
===================================================================
--- /branch/mouse_project/YJX_Project/YJX_1059/YJX-133_OnlyBLE/program/patch.prog	(revision 5488)
+++ /branch/mouse_project/YJX_Project/YJX_1059/YJX-133_OnlyBLE/program/patch.prog	(working copy)
@@ -2389,6 +2389,12 @@
 p_mouse_low_voltage_led_timer:
 	fetch MOUSE_FLAG_LEN,mem_mouse_flag
 	rtnbit0 MOUSE_LOW_VOLTAGE_FLAG
+	fetch 2,mem_ui_state_map
+	rtnbit1 UI_STATE_BLE_ADV
+
+	fetch 1,mem_mouse_poweron_led_timer
+	nrtn blank
+	
 //	fetch 1,mem_mouse_direct_timer
 //	nbranch p_mouse_24g_led_off,blank
 //	fetch 1,mem_mouse_discovery_timer
@@ -2920,9 +2926,9 @@
 	rtn blank
 	fetch 1,mem_lpm_mode
 	rtn blank
-	fetch 1,mem_adc_low_volatage_led_timer_count
-	sub pdata,10,null
-	rtn positive
+//	fetch 1,mem_adc_low_volatage_led_timer_count
+//	sub pdata,10,null
+//	rtn positive
 	fetch 1,mem_ssp_enable
 	branch p_lpm_dispatch_next,blank
 	fetch 1,mem_sp_local_key_invalid	// simple pairing is not ready
Index: program/z.prog
===================================================================
--- /branch/mouse_project/YJX_Project/YJX_1059/YJX-133_OnlyBLE/program/z.prog	(revision 5488)
+++ /branch/mouse_project/YJX_Project/YJX_1059/YJX-133_OnlyBLE/program/z.prog	(working copy)
@@ -327,8 +327,8 @@
 endif	
 	call p_mouse_tx_power_init	
 	jam 0,mem_mouse_clear_sensor_data_flag
-	fetch 2,mem_ui_state_map
-	bbit1 UI_STATE_BLE_ADV,z_mouse_start_discovery_norandom
+//	fetch 2,mem_ui_state_map
+//	bbit1 UI_STATE_BLE_ADV,z_mouse_start_discovery_norandom
 //	fetch MOUSE_FLAG_LEN,mem_mouse_flag
 //	bbit0 MOUSE_ENABLE_BLE_RANDOM_ADDRE,z_mouse_start_discovery_norandom
 ifdef BLE
Index: sched/mouse.dat
===================================================================
--- /branch/mouse_project/YJX_Project/YJX_1059/YJX-133_OnlyBLE/sched/mouse.dat	(revision 5488)
+++ /branch/mouse_project/YJX_Project/YJX_1059/YJX-133_OnlyBLE/sched/mouse.dat	(working copy)
@@ -129,7 +129,7 @@
 mem_le_adv_own_addr_type:00
 mem_le_adv_channel_map:07 
 
-mem_le_lap:8e b3 30 0e 8e ed
+mem_le_lap:8e b3 32 0e 8e ed
 
 mem_le_transmit_window:50
 
@@ -147,7 +147,7 @@
 mem_ui_button_timeout:1e
 mem_bt_ui_button_timeout:01
 
-mem_device_number:02 #max device number
+mem_device_number:01 #max device number
 mem_24g_device_number:02 #devie 2 :24g mode
 mem_adc_config_flag:02 #0 vinlpm 1 hvin 2 gpio
 mem_adc_channel:32 #gpio5
