optek_link_release_notes.txt
5.68 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
V 1.32 T6, 11/2/2020
void optek_link_paring_end_cb(uint8_t *m_btaddr);
->
uint8_t optek_link_paring_end_cb(uint8_t *m_btaddr, uint8_t mode);
uint8_t optek_link_get_slave_time_sync_init (uint8_t act_id)
uint8_t optek_link_get_slave_time_sync_info (uint32_t *base_cnt_rxsync_1st, uint16_t *fine_cnt_rxsync_1st,
uint32_t *base_cnt_rxsync_last, uint16_t *fine_cnt_rxsync_last,
int32_t *swap_cn, uint8_t act_id)
->
uint8_t optek_link_get_slave_time_sync_info (uint32_t *base_cnt_rxsync_1st, uint16_t *fine_cnt_rxsync_1st,
uint32_t *base_cnt_rxsync_last, uint16_t *fine_cnt_rxsync_last,
int32_t *swap_cn, int32_t *dyn_hus_cn, uint8_t act_id)
void optek_link_cal_drift (void)
V1.32 T27, 11/23/2020
more optek link mode
SUBW_SF48K_PT2P5MS = 20,
SUBW_SF44K_PT2P5MS = 21,
SUBW_SF32K_PT2P5MS = 22,
TWS_SUBW_SF48K_PT5MS = 23,
TWS_SUBW_SF44K_PT5MS = 24,
TWS_SUBW_SF32K_PT5MS = 25,
TWS_SUBW_W_BT_SF48K = 26,
TWS_SUBW_W_BT_SF44K = 27,
IDLE_W_BT = 28,
BC_MONO_W_BT_SF48K = 29,
BC_MONO_W_BT_SF44K = 30,
BC_MONO_SF48K_PT5MS = 59,
BC_MONO_SF44K_PT5MS = 31,
BC_MONO_SF32K_PT5MS = 32,
V1.32 T28, 11/24/2020
extend sync_mode parm to include step
/*
* sync_mode 0->no sync, step = abs(sync_mode) and should <= 4,
* sync_mode > 0 -> +step(fast->slow) in one packet time, sync_mode < 0 -> -step(slow->fast) in one packet time
* sync_int Fext%Fdsp
* sync_frac Fext/Fdsp frac part
* act_id optek link id, OPTEK_LINK_H1 or OPTEK_LINK_H2
* retern 1->succ, others->fail
*/
uint8_t optek_link_set_master_tx_dynamic_sync (int8_t sync_mode, uint16_t sync_int, uint32_t sync_frac, uint8_t act_id)
V1.32 T29, 11/24/2020
modify for coexist with BT, support schedule abort/cancel/skip in optek link
V1.32 T37, 11/25/2020
add one function to indicate the end of slave rx
->
void optek_link_slave_rx_end_cb(u8 *buf, u16 len, uint8_t id) __attribute__ ((section (".internal_ram_1_text")));
void optek_link_slave_rx_end_cb(u8*buf, u16 len, u8 id)
{
//the end of slave rx
/*
if (buf == NULL || len == 0)
{
//DBG_Assert (0);
return;
}
else
{
//may cpy data
}
*/
}
V1.32 T38, 11/25/2020
add one function to set optek link sleep for flash wr
/**
* sleep_time-> n * 0.3125US
* id OPTEK_LINK_H1 or OPTEK_LINK_H2
* return 1->succ, 0->fail
* */
u8 optek_link_set_master_sleep_time (u16 sleep_time, u8 id);
V1.32 T39, 11/25/2020
add more optek link mode
TWS_SUBW_W_BT_T6_SF48K = 33, /*tws or subw application in bt music for sf48k, tx6/rx1 or tx2/rx1*/
TWS_SUBW_W_BT_T6_SF44K = 34, /*tws or subw application in bt music for sf44k, tx6/rx1 or tx2/rx1*/
BC_MONO_W_BT_T6_SF48K = 35, /*bc application in bt music for sf48k, tx6*/
BC_MONO_W_BT_T6_SF44K = 36, /*bc application in bt music for sf44k, tx6*/
V1.32 T39, 11/25/2020
add more optek link mode
TWS_SUBW_W_BT_T5_SF48K = 37, /*tws or subw application in bt music for sf48k, tx5/rx1 or tx2/rx1*/
TWS_SUBW_W_BT_T5_SF44K = 38, /*tws or subw application in bt music for sf44k, tx5/rx1 or tx2/rx1*/
BC_MONO_W_BT_T5_SF48K = 39, /*bc application in bt music for sf48k, tx5*/
BC_MONO_W_BT_T5_SF44K = 40, /*bc application in bt music for sf44k, tx5*/
V1.33, 11/26/2020
fixed two bugs
V1.33.01, 11/26/2020
fixed one bug
optek_link_slave_rx_end_cb(optek_link_par->rx_buf, optek_link_par->rx_len, OPTEK_LINK_H1);
->
optek_link_slave_rx_end_cb(optek_link_par->rx_buf, optek_link_par->rx_len, OPTEK_LINK_H1);
optek_link_par->rx_len = 0;
HUB_MIC_HEADPHONE_SF46p875K_PT5MS mode bug
V1.33.02, 11/30/2020
fised bugs for optek_link_stop with lib_btdm5_v1_51.a
V1.33.03, 12/01/2020
add more optek link mode
MIC_SF44K_SBC_PT2P5MS = 76, /*audio (mic) boradcast with sbc mono codec, sample freq 44k, min delay 5*(48/44.1)ms, tx6*/
BC_SF48K_PT7P5MS = 77, /*audio boradcast, sample freq 48k, min delay 15ms, tx10, run 32MHz*/
V1.33.05, 12/02/2020
fixed one bug for WIRELESS_MIC_PT2P5MS_LP
V1.33.08, 12/11/2020
fixed one bug for tv to game mode switch multi connection problem
V1.33.09, 12/12/2020
for wireless mic, adding the following mode to support lower power
WIRELESS_MIC_PT2P5MS_T7R1
WIRELESS_MIC_PT5MS_T10_R2_LP
V1.33.10, 12/12/2020
adding the following mode to support 47.875 HP
HUB_HEADPHONE_SF46p875K_PT5MS
V1.33.11, 12/14/2020
fix one bugs for dynamic
optek_link_par->dynamic_sync (uint8_t->int8_t)
V1.33.11, 12/16/2020
for wireless mic, adding the following mode to support lower power
WIRELESS_MIC_PT2P5MS_T7R1M
WIRELESS_MIC_PT5MS_T10_R2M_LP
V1.33.121, 01/21/2021
if not rf busy, call the following fuction
optek_link_slave_conn_cb()
V1.33.22,
V1.33.23, 03/11/2021
modified optek link hopping chan table to avoid the wifi chan 1,6 and 11.