RS9116W SAPI Programming Reference Manual
Version 2.0
silabs.com | Building a more connected world. 5 | Page
12.1.3 rsi_bt_per_tx................................................................................................................................................211
12.1.4 rsi_bt_per_stats ...........................................................................................................................................214
12.2 GAP API ..................................................................................................................................................... 215
12.2.1 rsi_bt_set_local_class_of_device .................................................................................................................215
12.2.2 rsi_bt_get_local_class_of_device .................................................................................................................216
12.2.3 rsi_bt_start_discoverable .............................................................................................................................216
12.2.4 rsi_bt_start_limited_discoverable .................................................................................................................216
12.2.5 rsi_bt_stop_discoverable .............................................................................................................................217
12.2.6 rsi_bt_get_discoverable_status ....................................................................................................................217
12.2.7 rsi_bt_set_connectable ................................................................................................................................218
12.2.8 rsi_bt_set_non_connectable ........................................................................................................................218
12.2.9 rsi_bt_get_connectable_status .....................................................................................................................219
12.2.10 rsi_bt_set_afh_host_channel_classification ..................................................................................................219
12.2.11 rsi_bt_get_afh_host_channel_classification..................................................................................................220
12.2.12 rsi_bt_remote_name_request_async ...........................................................................................................220
12.2.13 rsi_bt_remote_name_request_cancel ..........................................................................................................221
12.2.14 rsi_bt_inquiry ...............................................................................................................................................222
12.2.15 rsi_bt_cancel_inquiry ...................................................................................................................................222
12.2.16 rsi_bt_set_eir_data ......................................................................................................................................223
12.2.17 rsi_bt_connect .............................................................................................................................................223
12.2.18 rsi_bt_cancel_connect .................................................................................................................................224
12.2.19 rsi_bt_disconnect .........................................................................................................................................224
12.2.20 rsi_bt_set_ssp_mode ...................................................................................................................................225
12.2.21 rsi_bt_accept_ssp_confirm ..........................................................................................................................226
12.2.22 rsi_bt_reject_ssp_confirm ............................................................................................................................226
12.2.23 rsi_bt_passkey ............................................................................................................................................226
12.2.24 rsi_bt_pincode_request_reply ......................................................................................................................227
12.2.25 rsi_bt_linkkey_request_reply ........................................................................................................................228
12.2.26 rsi_bt_get_local_device_role ........................................................................................................................228
12.2.27 rsi_bt_set_local_device_role ........................................................................................................................229
12.2.28 rsi_bt_sniff_mode ........................................................................................................................................229
12.2.29 rsi_bt_sniff_exit_mode .................................................................................................................................230
12.2.30 rsi_bt_sniff_subrating_mode ........................................................................................................................230
12.2.31 rsi_bt_add_device_id ...................................................................................................................................231
12.2.32 rsi_bt_enable_authentication .......................................................................................................................231
12.2.33 rsi_bt_disable_authentication .......................................................................................................................232
12.2.34 rsi_bt_get_authentication .............................................................................................................................232
12.2.35 rsi_bt_ptt_req ..............................................................................................................................................233
12.2.36 rsi_bt_write_current_iac_lap ........................................................................................................................233
12.2.37 rsi_bt_get_services_async ...........................................................................................................................234
12.2.38 rsi_bt_search_service_async .......................................................................................................................234
12.3 SPP API ...................................................................................................................................................... 235
12.3.1 rsi_bt_spp_init .............................................................................................................................................235
12.3.2 rsi_bt_spp_connect......................................................................................................................................235
12.3.3 rsi_bt_spp_disconnect .................................................................................................................................236
12.3.4 rsi_bt_spp_transfer ......................................................................................................................................236
12.4 SDP API...................................................................................................................................................... 237
12.4.1 rsi_bt_set_sdp_attr_id .................................................................................................................................237
12.4.2 rsi_bt_add_sdp_attribute .............................................................................................................................238
12.4.3 rsi_bt_add_sdp_hid_language_attribute .......................................................................................................239
12.4.4 rsi_bt_add_sdp_hid_descriptor_list ..............................................................................................................240
12.4.5 rsi_bt_add_sdp_service_attribute.................................................................................................................241
12.4.6 rsi_bt_add_sdp_service_classid ..................................................................................................................242
12.4.7 rsi_bt_add_sdp_service_handle ...................................................................................................................243
12.4.8 rsi_bt_add_sdp_protocol_list .......................................................................................................................244
12.4.9 rsi_bt_add_sdp_language_base_attributeid_list ...........................................................................................245
12.4.10 rsi_bt_add_sdp_profile_descriptor_list .........................................................................................................246
12.4.11 rsi_bt_add_sdp_service_record_handle .......................................................................................................247
12.5 HID API ....................................................................................................................................................... 248
12.5.1 rsi_bt_hid_service_initialize .........................................................................................................................248
12.5.2 rsi_bt_hid_init ..............................................................................................................................................249
12.5.3 rsi_bt_hid_connect ......................................................................................................................................249
12.5.4 rsi_bt_hid_disconnect ..................................................................................................................................250
12.5.5 rsi_bt_hid_register_callbacks .......................................................................................................................250
12.5.6 rsi_bt_hid_send_interrupt_data ....................................................................................................................251
12.5.7 rsi_bt_hid_profile_data.................................................................................................................................252
12.5.8 rsi_bt_hid_send_handshake ........................................................................................................................252
12.5.9 rsi_bt_hid_send_control ...............................................................................................................................253
12.5.10 rsi_bt_hid_get_report ...................................................................................................................................253
12.5.11 rsi_bt_hid_set_report ...................................................................................................................................254
12.5.12 rsi_bt_hid_get_protocol................................................................................................................................254
12.5.13 rsi_bt_hid_set_protocol ................................................................................................................................255