Software FAQ
1、Is there a custom advertisement demo?
Calling the app_user_demo_init in the gapm_cmp_evt_handler function to start the advertisement named BK3633_demo_rsp. For details, please refer to the projects/app_findmy/app/src/app_user_demo.c.
app_user_demo
2、How are advertisements and links mapped?
Advertisement will automatically stops when it is connected, and return the parameter conn_handle in the GAPM_ACTIVITY_STOPPED_IND event. These two file adapter_adv.c and adapter_connection.c encapsulate advertisement and connction, you need to call the following two interfaces:
bk_adapter_adv_enable (register adapter_adv callback, set advertisement address, content, start advertisement, return adapter_adv_handle)bk_adapter_connection_reg_callback (register adapter_connection callback, return adapter_connection_handle)You’ll receive ADAPTER_ADV_EVT_START event in the adapter_adv callback. When connected, you will receive ADAPTER_ADV_EVT_STOP and ADAPTER_CONNECTION_EVT_CONNECTED events.
3、How many advertisements can be enabled at the same time?
Only 2, However, when the number of links is full, it cannot be turned on.
4、How many links are supported?
Only 2.