Telink TLSR8232 BLE SDK Developer Handbook
AN-19112700-E1
50
Ver.1.0.0
3.2.3.2 Idle + Advertising
Advertising
Idle
bls_ll_setAdvEnable(0)
bls_ll_setAdvEnable(1)
Figure 3-7 Idle + Advertising
As shown above, only Idle module and Advertising module are initialized, and it applies
to applications which use basic advertising function to advertise product information in
single direction, e.g. beacon.
The module initialization code of Link Layer state machine is:
u8 tbl_mac [6] = {……};
blc_ll_initBasicMCU(tbl_mac);
blc_ll_initAdvertising_module(tbl_mac);
State switch of Idle and Advertising is implemented via
“bls_ll_setAdvEnable”.
3.2.3.3 Idle + Adver ConnSlaveRole
Advertising
Idle
bls_ll_setAdvEnable(0)
bls_ll_setAdvEnable(1)
Connection
Slave role
ac
ce
pt
m
as
te
r
’
s
co
nn
_r
eq
te
rm
in
at
e/
co
nn
ec
ti
on
t
im
eo
ut
te
rm
in
at
e/
co
nn
ec
ti
on
t
im
eo
ut
Figure 3-8 BLE Slave LL State