BT Classic Commands #

The following sections document RS9116 WiSeConnect commands, parameters, responses and availability. For error codes returned by commands, see https://docs.silabs.com/rs9116-wiseconnect/latest/wifibt-wc-sapi-reference/error-codes .

Index #

Group AT Command API Description
Common API's
rsi_opermode Set Operating Mode
rsibt_switch_proto Enable BT Protocol switch proto
rsibt_setlocalname Set Local Name
rsibt_getlocalname Query Local Name
rsibt_setlocalcod Set Local COD
rsibt_getlocalcod Query Local COD
rsibt_getrssi Query RSSI
rsibt_getlocalbdaddr Query Local BD Address
rsibt_getbtstackversion Query BT Stack Version
rsibt_btinit Initialize BT Module
rsibt_btdeinit Deinitialize BT Module
rsibt_afhmap AFH_MAP
rsibt_afhchannelclassification AFH Channel Classification
rsibt_btantennaselect BT Antenna Select
rsibt_setantennatxpowerlevel Set Antenna Tx Power Level
rsibt_updategaintableoffsetMaxpower Update Gain Table Offset and MaxPower
BT SecurePairing API's
rsibt_setsspmode Set SSP Mode
BT Sniff/Sleep API's
rsibt_sniffmode Sniff Mode
rsibt_sniffexit Sniff Exit
BT PER API's
rsibt_bredrtransmit BR EDR PER Transmit
rsibt_bredrreceive BR EDR PER Receive
rsibt_perstats PER Stats
BT GAP API's
rsibt_setfeaturebitmap Set Feature Bitmap
rsibt_setprofilemode Set Profile Mode
rsibt_setdiscvmode Set Device Discovery Mode
rsibt_getdiscvmode Get Device Discovery Mode
rsibt_setconnmode Set Connectability Mode
rsibt_getconnmode Get Connectablility Mode
rsibt_bond Bond or Create Connection
rsibt_bondcancel Bond Cancel Or Create Connection Cancel
rsibt_unbond UnBond Or Disconnect
rsibt_usrconfirmation User Confirmation
rsibt_usrpasskey Pass Key Request Reply
rsibt_usrpincode Pincode Request Reply
rsibt_usrlinkkey Linkkey Reply
rsibt_getmasterslaverole Get Local Device Role
rsibt_setmasterslaverole Set Local Device Role Or Switch The Role
rsibt_getsrvs Get Service List
rsibt_searchsrv Search Service
BT Inquiry API's
rsibt_rmtnamereq Remote Name Request
rsibt_rmtnamereqcancel Remote Name Request Cancel
rsibt_inquirycancel Inquiry Cancel
rsibt_seteir Extended Inquiry Response Data
BT Testmode API's
rsibt_enabledevicetestmode Enable Device Under TestMode
BT DID API's
rsibt_adddeviceid Add Device ID
BT SPP API's
rsibt_sppconn SPP Connect
rsibt_sppdisconn SPP Disconnect
rsibt_spptx SPP Transfer
BT HID API's
rsibt_hidsendinterruptdata HID Send Interrupt Data
rsibt_hidsendhandshakemsg HID Send Handshake Message
rsibt_hidsendcontrolmsg HID Send Control Message
rsibt_hidsendsdpconfig HID Send SDP Configuration Data
rsibt_hidreconnect HID Reconnect

This section explains various Bluetooth Classic commands, their structures, parameters and their responses. For API prototypes of these commands, please refer to the API Library Section.

A command should not be issued by the Host before receiving the response of a previously issued command from the module.

[ Go to top ]


rsi_opermode :: Set Operating Mode #

Description #

This is the first command that needs to be sent from the Host after receiving card ready frame from module. This command configures the module in different functional modes.

Command Format #

If BIT(31) is set to ‘1’ in custom_feature_bitmap

at+rsi_opermode=<oper_mode>,<feature_bit_map>,<tcp_ip_feature_bit_map>,<custom_feature_bitmap><ext_custom_feature_bit_map>

If BIT(31) is set to ‘1’ in tcp_ip_feature_bit_map

at+rsi_opermode=<oper_mode>,<feature_bit_map>,<tcp_ip_feature_bit_map>,<custom_feature_bitmap><ext_tcp_ip_feature_bit_map>

If BIT(31) is set to ‘1’ in both custom_feature and ext_custom_feature bit maps

at+rsi_opermode=<oper_mode>,<feature_bit_map>,<tcp_ip_feature_bit_map>,<custom_feature_bitmap><ext_custom_feature_bit_map> <bt_feature_bit_map> 

if BIT(31) is set to 1 in bt_feature_bit_map

at+rsi_opermode=<oper_mode>,<feature_bit_map>,<tcp_ip_feature_bit_map>,<custom_feature_bitmap><ext_custom_feature_bit_map><bt_feature_bit_map><ext_tcp_ip_feature_bit_map><ble_feature_bit_map>

If BIT(31) is set to 1 in ble_custom_feature_bit_map

at+rsi_opermode=<oper_mode>,<feature_bit_map>,<tcp_ip_feature_ bit_map>,<custom_feature_bitmap><ext_custom_feature_bit_map><bt_custom_feature_bit_map><ext_tcp_ip_feature_bit_map><ble_custom_feature_bit_map>,<ble_custom_ext_feature_bit_map>

If BIT(31) is set to 1 in both tcp_ip_feature_bit_map and ext_tcp_ip_feature_bit_map

at+rsi_opermode=<oper_mode>,<feature_bit_map>,<tcp_ip_feature_bit_map>,<custom_feature_bitmap><ext_custom_feature_bit_map><bt_custom_feature_bit_map><ext_tcp_ip_feature_bit_map><ble_custom_feature_bit_map>,<ble_custom_ext_feature_bit_map>,<config_feature_bit_map>

Parameters #

oper_mode


Note!


custom_feature_bit_map


Note! For UART / USB-CDC in AT mode:


ext_custom_feature_bit_map

bt_feature_bit_map

config_feature_bit_map (4 bytes)

Config Feature bitmap Functionality Set to 0 Set to 1 Notes
config_feature_bit_map[0] To select wakeup indication to host.If it is disabled UULP_GPIO_3 is used as a wakeup indication to host.If it is enabled UULP_GPIO_0 is used as a wakeup indication to host. Disable Enable
config_feature_bit_map[1:15] Reserved
config_feature_bit_map[16] Active high or low interrupt mode selection for wake on wireless operationIf it is disabled active low interrupt is used in wake on wireless operation.If it is enabled active high interrupt isused in wake on wireless operation. Disable Enable
config_feature_bit_map[23:17] Reserved
config_feature_bit_map[25:24] Configurability options for 40MHz XTAL good time in μs [00 = 1000] , [01 = 2000] , [10 = 3000] , [11 = 600] These bits are used to select XTAL good time.These changes are available from Release2.3.0 onwards. Release prior to 2.3.0 these config_feature_bitmap[31:17] are reserved. Its only applicable for customers using chip not the module. Please contact Support for more details. Default value is 1000 µs.
config_feature_bit_map[31:26] Reserved for LMAC .

Note!


Response #

Result Code Description
OK Successful execution of the command
ERROR Failure

Example #

Command

at+rsi_opermode=327680,0,0,2147483648,2150629376,1073741824

Response

OK
bt_loaded

[ Go to top ]


rsi_switch_proto :: Enable BT Protocol Switch proto #

Description #

This is used to enable BT protocol in case of coex opermodes (8/9 etc). By default, BT protocol is disabled only in "opermode 8" and "opermode 9", remaining opermodes not needed to enable it explicitly as it is enable by default.

Command Format #

at+rsi_switch_proto=<enable>

Parameters #

enable

Example #

Command

at+rsi_switch_proto=1

Response

OK

[ Go to top ]


rsibt_setlocalname :: Set Local Name #

DescriptionThis is used to set name to the local device. #

Command Format #

at+rsibt_setlocalname=<NameLength>,<Name>

Parameters #

NameLength

Name (16 bytes)

Example #

Command

at+rsibt_setlocalname=6,silabs

Response

OK

[ Go to top ]


rsibt_getlocalname :: Query Local Name #

Description #

This is used to query the name of the local device.

Command Format #

at+rsibt_getlocalname?

Response #

Result Code Description
OK <name_length>,<local_device_name> Command Success.
ERROR <Error_code> Command Fail.

where ...

name_length

local_device_name (16 bytes)

Example #

Command

at+rsibt_getlocalname?

Response

OK 8,silabs

[ Go to top ]


rsibt_setlocalcod :: Set Local COD #

Description #

This command indicates the capabilities of local device to other devices. It is a parameter received during the device discovery procedure on the BR/EDR physical transport, indicating the type of device. The Class of Device parameter is only used on BR/EDR and BR/EDR/LE devices using BR/EDR physical transport. It is defined in the following link Bluetooth Assigned Numbers .

Command Format #

at+rsibt_setlocalcod=<local_device_class>

Parameters #

local_device_class

Example #

Command

at+rsibt_setlocalcod=7A020C

Response

OK

[ Go to top ]


rsibt_getlocalcod :: Query Local COD #

Description #

This is used to query Class of Device of the local device.

Command Format #

at+rsibt_getlocalcod?

Response #

Result Code Description
OK <local_device_class> Command Success.
ERROR <Error_code> Command Fail.

where ...

local_device_class - Class of the Device of the local device

Example #

Command

at+rsibt_getlocalcod?

Response

OK 7A020C

[ Go to top ]


rsibt_getrssi :: Query RSSI #

Description #

This is used to query RSSI of the connected remote BT Device.

Command Format #

at+rsibt_getrssi=<bd_addr>?

Parameters #

bd_addr (6 bytes)

Response #

Result Code Description
OK <rssi_value> Command Success.
ERROR <Error_code> Command Fail.

where ...

rssi_value (1 byte)

Example #

Command

at+rsibt_getrssi=AA-BB-CC-DD-EE-FF?

Response

OK -70

[ Go to top ]


rsibt_getlocalbdaddr :: Query Local BD Address #

Description #

This is used to query BD address of the local device.

Command Format #

at+rsibt_getlocalbdaddr?

Response #

Result Code Description
OK <bd_addr> Command Success with valid response.
ERROR <Error_code> Command Fail.

where ...

bd_addr (6 bytes)

Example #

Command

at+rsibt_getlocalbdaddr?

Response

OK AA-BB-CC-DD-EE-FF

[ Go to top ]


rsibt_getbtstackversion :: Query BT Stack Version #

Description #

This is used to query Current BT Stack Version.

Command Format #

at+rsibt_getbtstackversion?

Response #

Result Code Description
OK Command Success with valid response.
ERROR <Error_code> Command Fail.

where ...

*stack version (1 byte)

Example #

Command

at+rsibt_getbtstackversion?

Response

OK 2.1.0

[ Go to top ]


rsibt_btinit :: Initialize BT Module #

Description #

This is used to initialize the BT module.

Command Format #

at+rsibt_btinit

Example #

Command

at+rsibt_btinit

Response

OK

[ Go to top ]


rsibt_btdeinit :: Deinitialize BT Module #

Description #

This is used to de-initialize the BT module. To again initialize the module Initialize BT module command can be used.

Command Format #

at+rsibt_btdeinit

Example #

Command

at+rsibt_btdeinit

Response

OK

[ Go to top ]


rsibt_btantennaselect :: BT Antenna Select #

Description #

This is used to select internal or external antenna of the BT module.

Command Format #

at+rsibt_btantennaselect=<antenna_val>

Parameters #

antenna_val (1 byte)

Example #

Command

at+rsibt_btantennaselect=1

Response

OK

[ Go to top ]


rsibt_setfeaturebitmap :: Set Feature Bitmap #

DescriptionSets the feature bitmap of module. But at present this command is used to enable/disable the BT Security. #

If BT Security gets Enabled, then Stack sends IOCapablity Request positive Reply with the IOCapability data updated via Set SSP Mode command. Else, IOCapability Request Negative Reply will be called from stack.

Command Format #

at+rsibt_setfeaturebitmap=<featurebitmap>

Parameters #

featurebitmap (2 bytes)

Example #

at+rsibt_setfeaturebitmap=1

Response

OK

[ Go to top ]


rsibt_setantennatxpowerlevel :: Set Antenna Tx Power Level #

Description #

This is used to set the Bluetooth antenna transmit power level.This command serves for selecting the maximum power to be used for the device.

Command Format #

at+rsibt_setantennatxpowerlevel=<protocol_mode>,<power_level>

Parameters #

protocol_mode (1 byte)

power_level (1 byte)

Tx Power Index Tx Power Value
64 1dBm
65 2dBm
66 3dBm
67 4dBm
68 5dBm
69 6dBm
70 7dBm
71 8dBm
72 9dBm
73 10dBm
74 11dBm
75 12dBm

Example #

at+rsibt_setantennatxpowerlevel=1,10

Response

OK

[ Go to top ]

rsibt_updategaintableoffsetMaxpower :: Update Gain Table Offset and MaxPower #

Description #

This command is used to configure region based gain table the module from user. This method is used for overwriting default region based gain tables that are present in firmware.

There are two types of gain tables for BT and BLE protocols


Note!


Command Format #

at+rsibt_updategaintableoffsetMaxpower=<node_id>,<update_gain_table_type>,<payloadlength>,<payload>

Parameters #

node_id

update_gain_table_type

payloadlength

payload

Response #

Result Code Description
OK <stack_version> Command Success with valid response.
ERROR <Error_code> Command Fail.

where ...

error_code

Example 1 - Update BT Maxpower #

Command

at+rsibt_updategaintableoffsetMaxpower= 1,0,10,0,17,1,10,2,14,3,20,4,12

Example 2 - Update BT Offset #

Command

at+rsibt_updategaintableoffsetMaxpower= 1,1,55,5,0,4,255,0,0,0,39,0,78,2,1,4,255,0,0,0,39,0,78,0,2,4,255,3,12,0,15,5,26,1,3,6,255,0,0,0,3,0,39,1,75,2,78,0,4,4,255,3,2,2,5,5,7,1\r\n

Note! Here...


Response

OK

[ Go to top ]


rsibt_bredrtransmit :: BR EDR PER Transmit #

Description #

This command can be given to start br -edr transmission.

Command Format #

at+rsibt_bredrtransmit=<enable>,<device_address>,<pkt_len>,<pkt_type>,<BR/EDR_mode>,<rx_channel_num>,<tx_channel_num>,<link_type>,<scrambler_seed>,<hopping_type>,<antenna_sel>,<pll_mode>,<rf_type>,<rf_chain>,<payload_type>,<tx_power_index>,<tx_mode>,<inter_packet_gap>,<num_of_packets>

Parameters #

enable

device_address

pkt_len

pkt_type

Packet Type BR EDR Mode Packet length Link Type
DM1 3 1 0-17 1
DH1 4 1 0-27 1
DH3 11 1 0-183 1
DM3 10 1 0-121 1
DH5 15 1 0-339 1
DM5 14 1 0-224 1
2-DH1 4 2 0-54 1
2-DH3 10 2 0-367 1
2-DH5 14 2 0-679 1
3-DH1 8 3 0-83 1
3-DH3 11 3 0-552 1
3-DH5 15 3 0-1021 1
HV1 5 1 10 0
HV2 6 1 20 0
HV3 7 1 30 0
DV 8 1 10+(0-9)D 0
EV3 7 1 1-30 2
EV4 12 1 1-120 (See note) 2
EV5 13 1 1-180 (See note) 2
2-EV3 6 2 1-60 2
2-EV5 12 2 1-360 (See note) 2
3-EV3 7 3 1-90 2
3-EV5 13 3 1-540 (See note) 2

Note! In eSCO (link type = 3), having capability of maximum 90 bytes (Packet Length) only.


BR/EDR_mode

rx_channel_num

Channel Number Centre Frequency (MHz)
0 2402
1 2403
2 2404
3 2405
4 2406
5 2407
6 2408
7 2409
8 2410
9 2411
10 2412
11 2413
12 2414
13 2415
14 2416
15 2417
16 2418
17 2419
18 2420
19 2421
20 2422
21 2423
22 2424
23 2425
24 2426
25 2427
26 2428
27 2429
28 2430
29 2431
30 2432
31 2433
32 2434
33 2435
34 2436
35 2437
36 2438
37 2439
38 2440
39 2441
40 2442
41 2443
42 2444
43 2445
44 2446
45 2447
46 2448
47 2449
48 2450
49 2451
50 2452
51 2453
52 2454
53 2455
54 2456
55 2457
56 2458
57 2459
58 2460
59 2461
60 2462
61 2463
62 2464
63 2465
64 2466
65 2467
66 2468
67 2469
68 2470
69 2471
70 2472
71 2473
72 2474
73 2475
74 2476
75 2477
76 2478
77 2479
78 2480

tx_channel_num

link_type

scrambler_seed

hopping_type

antenna_sel

pll_mode

rf_type

rf_chain

payload_type

tx_power_index

tx_mode

inter_pkt_gap

num_of_packets

Example #

Command

at+rsibt_bredrtransmit= 1,11-11-11-11-11-11,339,15,1,10,10,1,0,0,2,0,1,2,0,10,0,0,0

Response

OK

[ Go to top ]


rsibt_bredrreceive :: BR EDR PER Receive #

Description #

This command can be given to start the br -edr reception.

Command Format #

at+rsibt_bredrreceive=<enable>,<device_address>,<pkt_len>,<pkt_type>,<BR/EDR_mode>,<rx_channel_num>,<tx_channel_num>,<link_type>,<scrambler_seed>,<hopping_type>,<antenna_sel>,<pll_mode>,<rf_type>,<rf_chain>,<loop_back_mode>

Parameters #

Variables Description

enable/disable (1 byte)

device_address (6 bytes)

pkt_len (1 byte)

pkt_type (1 byte)

BR/EDR_mode (1 byte)

rx_channel_num (1 byte)

tx_channel_num (1 byte)

link_type (1 byte)

scrambler_seed (1 byte)

hopping_type (1 byte)

antenna_sel (1 byte)

pll_mode (1 byte)

rf_type (1 byte)

rf_chain (1 byte)

loop_back_mode (1 byte)

Example #

Command

at+rsibt_bredrreceive= 1,11-11-11-11-11-11,339,15,1,10,10,1,0,0,2,0,1,2,0

Response

OK

[ Go to top ]


rsibt_perstats :: PER Stats #

Description #

The following PER statistics are returned. This command may be used for BTC and BLE.

Command Format #

at+rsibt_perstats

Response #

OK <crc_fail_count>,<crc_pass_count>,<tx_abort_count>,<rx_drop_count>,<rx_cca_idle_count>,<rx_start_idle_count>,<rx_abrt_count>,<tx_dones>,<rssi>,<id_pkts_rcvd>,<dummy> 

where ...

crc_fail_count (2 bytes)

crc_pass_count (2 bytes)

tx_abort_count (2 bytes)

rx_drop_count (2 bytes)

rx_cca_idle_count (2 bytes)

rx_start_idle_count (2 bytes)

rx_abrt_count (2 bytes)

tx_dones (2 bytes)

rssi (1 byte integer)

id_pkts_rcvd (2 bytes)

dummy (2 bytes)

Example #

The following is an example response

OK 000a 00a0 000F 0000 0000 0000 0000 00b0 001f 0000 0000  

[ Go to top ]


rsibt_setprofilemode :: Set Profile Mode #

Description #

This is used to initialize the particular profiles in Bluetooth embedded host stack. At present, only SPP and HID profiles are supported.

Command Format #

at+rsibt_setprofilemode=<ProfileMode>

Parameters #

ProfileMode (1 byte)

Bit No Description
0 SPP Profile
1 A2DP Profile
2 AVRCP Profile
3 HFP Profile
4 PBAP Profile
5 IAP Profile
6 HID Profile

Example #

Command

at+rsibt_setprofilemode=1

Response

OK

[ Go to top ]


rsibt_setdiscvmode :: Set Device Discovery Mode #

Description #

This is used to set the BT module in any of the three Discovery modes. Timeout can be used for only limited discovering.

Command Format #

at+rsibt_setdiscvmode=<mode>,<timeout>

Parameters #

Mode (1 byte)

TimeOut (4 bytes)

Example #

Command

at+rsibt_setdiscvmode=2,10000

Response

OK

[ Go to top ]


rsibt_getdiscvmode :: Get Device Discovery Mode #

Description #

This is used to get the discovery mode of the BT module, currently the BT module was set.

Command Format #

at+rsibt_getdiscvmode?

Response #

Result Code Description
OK Command Success with valid response.
ERROR <Error_code> Command Fail.

where ...

mode (1 byte)

Example #

Command

at+rsibt_getdiscvmode?

Response

OK 1

[ Go to top ]


rsibt_setconnmode :: Set Connectability Mode #

Description #

This is used to set the BT module in one of the two Connectability modes.

Command Format #

at+rsibt_setconnmode=<ConnMode>

Parameters #

ConnMode (1 byte)

Example #

Command

at+rsibt_setconnmode=1

Response

OK

[ Go to top ]


rsibt_getconnmode :: Get Connectablility Mode #

Description #

This is used to get the connectable mode, currently the BT module was set.

Command Format #

at+rsibt_getconnmode? 

Response #

Result Code Description
OK Command Success with valid response.
ERROR <Error_code> Command Fail.

where ...

ConnMode (1 byte)

Example #

Command

at+rsibt_getconnmode?

Response

OK 1

[ Go to top ]


rsibt_rmtnamereq :: Remote Name Request #

Description #

This is used to know the name of the remote BT device, using its BD address. The response to this command containing the remote BT device name will be sent to the host through "RMTDEVNAME" event.

Command Format #

at+rsibt_rmtnamereq=<bd_addr>

Parameters #

bd_addr (6 bytes)

Example #

Command

at+rsibt_rmtnamereqcancel=AA-BB-CC-DD-EE-FF

Response

OK

[ Go to top ]


rsibt_rmtnamereqcancel :: Remote Name Request Cancel #

Description #

This will cancel the request served by "Remote Name Request" command. The cancellation is confirmed through "Remote Name Request Cancelled" event.

Command Format #

at+rsibt_rmtnamereqcancel=<bd_addr>

Parameters #

bd_addr (6 bytes)

Example #

Command

at+rsibt_rmtnamereqcancel=AA-BB-CC-DD-EE-FF

Response

OK

[ Go to top ]


Inquiry #

Description #

This performs an inquiry to find any BT devices in the vicinity. The response is sent using "INQRESP" event.

Command Format #

at+rsibt_inquiry=<InquiryType>,<Duration>,<MaxNbrdev>

Parameters #

inquiryType (1 byte)

Duration (4 bytes)

MaxNbrdev (1 byte)

Example #

Command

at+rsibt_inquiry=1,10000,10

Response

OK

[ Go to top ]


rsibt_inquirycancel :: Inquiry Cancel #

Description #

This will cancel the inquiry scan which was already in the process, served by "Inquiry" command.

Command Format #

at+rsibt_inquirycancel

Example #

Command

at+rsibt_inquirycancel

Response

OK

[ Go to top ]


rsibt_seteir :: Extended Inquiry Response Data #

Description #

This command is used to set the Extended Inquiry Response data.

Command Format #

at+rsibt_seteir=<DataLen>,<Data>

Parameters #

Length (1 byte)

Data (200 bytes)

Example #

Command

at+rsibt_seteir=8,2,1,0,4,9,72,72,72

Response

OK

Extended Inquiry Response

[ Go to top ]


rsibt_bond :: Bond or Create Connection #

Description #

This will create bonding (connection) between the BT module and the remote BT device based on BD address along with security.

Command Format #

at+rsibt_bond=<bd_addr>

Parameters #

bd_addr (6 bytes)

Example #

Command

at+rsibt_bond=AA-BB-CC-DD-EE-FF

Response

OK

[ Go to top ]


rsibt_bondcancel :: Bond Cancel Or Create Connection Cancel #

Description #

This will disconnect the connection between the BT module and the remote BT device only while the bonding is in progress.

Command Format #

at+rsibt_bondcancel=<bd_addr>

Parameters #

bd_addr (6 bytes)

Example #

Command

at+rsibt_bondcancel=AA-BB-CC-DD-EE-FF

Response

OK

[ Go to top ]


rsibt_unbond :: UnBond Or Disconnect #

Description #

This un-bonds the device which was already bonded based on BD address of the remote BT device.

Command Format #

at+rsibt_unbond=<bd_addr>

Parameters #

bd_addr (6 bytes)

Example #

at+rsibt_unbond=AA-BB-CC-DD-EE-FF

Response

OK

[ Go to top ]


rsibt_usrconfirmation :: User Confirmation #

Description #

This gives the confirmation for the values sent by remote BT devices at the time of bonding.

Command Format #

at+rsibt_usrconfirmation=<bd_addr>,<Confirmation>

Parameters #

bd_addr (6 bytes)

confirmation (1 byte)

Example #

Command

at+rsibt_usrconfirmation=AA-BB-CC-DD-EE-FF,1

Response

OK

[ Go to top ]


rsibt_usrpasskey :: Pass Key Request Reply #

Description #

The user passkey entry is used to respond on a User Passkey Entry Request (UPER).

Command Format #

at+rsibt_usrpasskey=<bd_addr>,<ReplyType>,<Passkey>

Parameters #

bd_addr (6 bytes)

ReplyType (1 byte)

Passkey (4 bytes)

Example #

Command

at+rsibt_usrpasskey=AA-BB-CC-DD-EE-FF,1,123456

Response

OK

[ Go to top ]


rsibt_usrpincode :: Pincode Request Reply #

Description #

The user pincode entry is used to respond on a user pin code entry request (UPER). To make connection with remote device then need to respond with positive reply, otherwise send a negative reply.

Command Format #

at+rsibt_usrpincode=<bd_addr>,<ReplyType>,<Pincode>

Parameters #

bd_addr (6 bytes)

ReplyType (1 byte)

Reserved

Pincode (16 bytes)

Response #

Result Code Description
OK Command Success with valid response.
ERROR <Error_code> Command Fail

Example #

Command

at+rsibt_usrpincode=AA-BB-CC-DD-EE-FF,1,1234

Response

OK

[ Go to top ]


rsibt_getmasterslaverole :: Get Local Device Role #

Description #

This gets the role of the local BT module when connected with a particular remote BT device, based on BD address of the remote BT device.

Command Format #

at+rsibt_getmasterslaverole=<bd_addr>?

Parameters #

bd_addr (6 bytes)

Response #

Result Code Description
OK Command Success with valid response.
ERROR <Error_code> Command Fail.

where ...

role (1 byte)

Example #

Command

at+rsibt_getmasterslaverole=AA-BB-CC-DD-EE-FF?

Response

OK 1

[ Go to top ]


rsibt_setmasterslaverole :: Set Local Device Role Or Switch The Role #

Description #

This is used to change the current role of the local BT module with respect to the remote BT device.

Command Format #

at+rsibt_setmasterslaverole=<bd_addr>,<Role>

Parameters #

bd_addr (6 bytes)

Role (1 byte)

Example #

Command

at+rsibt_setmasterslaverole=AA-BB-CC-DD-EE-FF,1

Response

OK

[ Go to top ]


rsibt_getsrvs :: Get Service List #

Description #

This is used to search for the services supported by the remote BT device.

Command Format #

at+rsibt_getsrvs=<bd_addr>

Parameters #

bd_addr (1 byte)

Response #

Result Code Description
OK<bd_addr>,<nbr_srvs_found>,<srv_uuid_1>,<srv_uuid_2>, ... Command Success with valid response.
ERROR <Error_code> Command Fail.

where ...

nbr_srvs_found (1 byte)

ServiceUUIDs (4 bytes)

Example #

Command

at+rsibt_getsrvs=AA-BB-CC-DD-EE-FF

Response

OK <1800>,<1801>....

[ Go to top ]


rsibt_searchsrv :: Search Service #

Description #

This is used to find whether a particular service is supported by the remote BT device.

Command Format #

at+rsibt_searchsrv=<bd_addr>,<ServiceUUID> 

Parameters #

bd_addr (6 bytes)

Response #

Result Code Description
OK <search_result> Command Success with valid response.
ERROR <Error_code> Command Fail.

where ...

search_result (1 byte)

Example #

Command

at+rsibt_searchsrv=AA-BB-CC-DD-EE-FF,1105

Response

OK 1

[ Go to top ]


rsibt_usrlinkkey :: Linkkey Reply #

Description #

The link key reply is used to respond on a link key request event. If previous link key of connecting device available then need to respond with positive reply,else send negative reply.

Command Format #

at+rsibt_usrlinkkey=<bd_addr>,<ReplyType>,<LinkKey>

Parameters #

bd_addr (6 bytes)

ReplyType (1 byte)

LinkKey (16 bytes)

Example 1 - Positive reply with linkkey #

Command

at+rsibt_usrlinkkey=AA-BB-CC-DD-EE-FF,1,3C,A5,50,25,DC,D0,B0,AB,B7,C3,4F,4D,9,79,2C,5C

Example 2 - Negative reply without linkkey #

Command

at+rsibt_usrlinkkey=AA-BB-CC-DD-EE-FF,0

Response

OK

Note! When a negative reply is given, the remote device may either initiate a re-pairing process or disconnect. In disconnection case, remove the pair info on the remote device side and initate a new connection process.


[ Go to top ]


rsibt_setsspmode :: Set SSP Mode #

Description #

Set SSP mode is used to enable Simple Secure Pair mode and also used to select the IO Capability for SSP mode.

Command Format #

at+rsibt_setsspmode=<PairMode>,<IOCapability>

Parameters #

PairMode (1 byte)

IOCapability (1 byte)

Example #

at+rsibt_setsspmode=1,1

Response

OK

[ Go to top ]


rsibt_sniffmode :: Sniff Mode #

Description #

Enables the Host to support a low-power policy and allows the devices to enter Inquiry Scan, Page Scan, and a number of other possible actions.

The local device will return the actual sniff interval in the Interval parameter of the Mode Change event, if the command is successful.

Command Format #

at+rsibt_sniffmode=<bd_addr>,<SniffMaxIntr>,<SniffMinIntr>,<SniffAttempt>,<sniffTimeout>

Parameters #

bd_addr(6 bytes)

SniffMaxIntr (2 bytes)

SniffMinIntrv (2 bytes)

SniffAttempt (2 bytes)

SniffTimeout (2 bytes)

Example #

at+rsibt_sniffmode=AA-BB-CC-DD-EE-FF,192,160,4,2

Response

OK

[ Go to top ]


rsibt_sniffexit :: Sniff Exit #

Description #

To end the Sniff mode.

Command Format #

at+rsibt_sniffexit=<bd_addr>

Parameters #

bd_addr (6 bytes)

Example #

at+rsibt_sniffexit=AA-BB-CC-DD-EE-FF

Response

OK

[ Go to top ]


rsibt_adddeviceid :: Add Device ID #

Description #

Add device Identification in SDP protocol.

Command Format #

at+rsibt_adddeviceid=<SpecificationID>,<VendorID>,<ProductID>,<Version>,<PrimaryRecord>,<VendorIDSource>

Parameters #

SpecificationID (2 bytes)

VendorID (2 bytes)

ProductID (2 bytes)

Version (2 bytes)

PrimaryRecord

VendorIDSource (2 bytes)

Example #

at+rsibt_adddeviceid=512,513,514,515,1,2

Response

OK

[ Go to top ]


rsibt_sppconn :: SPP Connect #

Description #

This is used to establish SPP connection with the remote BT device specified by the BD address. Note that the SPP profile will not connect without completing the pair process or authentication.

Command Format #

at+rsibt_sppconn=<bd_addr>

Parameters #

bd_addr (6 bytes)

Example #

Command

at+rsibt_sppconn=AA-BB-CC-DD-EE-FF

Response

OK

[ Go to top ]


rsibt_sppdisconn :: SPP Disconnect #

Description #

This is used to disconnect the SPP connection with the remote BT device.

Command Format #

at+rsibt_sppdisconn=<bd_addr>

Parameters #

bd_addr (6 bytes)

Example #

Command

at+rsibt_sppdisconn=AA-BB-CC-DD-EE-FF

Response

OK

[ Go to top ]


rsibt_spptx :: SPP Transfer #

Description #

This is used to send data to the remote BT device using SPP profile. This command contains a data length field which tells the BT module about the length of data in bytes user wants to send from the application.

Command Format #

at+rsibt_spptx=<DataLength>,<Data>

Parameters #

DataLength (1 byte)

Data (200 bytes)

Example #

at+rsibt_spptx=5,iiiii

Response

OK

[ Go to top ]


rsibt_afhmap :: AFH_MAP #

Description #

This command mode is used to configure the following parameters..

Command #

at+rsibt_afhmap=<startingchannel>,<endingchannel>

Parameters #

startchannel

endchannel

Example #

Command

at+rsibt_afhmap=12,30

Response

OK

[ Go to top ]


RSIBT_ROLECHANGED : Role Change Status Event #

Description #

This event describes the status of the command "Change Master Slave Role".

Event Format #

AT+RSIBT_ROLECHANGED <bd_addr>,<Changed_Role>,<RoleChangeStatus>

where ...

bd_addr

Changed_Role

RoleChangeStatus

Example #

AT+RSIBT_ ROLECHANGED AA-BB-CC-DD-EE-FF,1,0

[ Go to top ]


RSIBT_UNBONDRESP :: Unbond Or Disconnect Status Event #

Description #

This event describes the status of unbonding between the BT module and remote BT device.

Event Format #

AT+RSIBT_UNBONDRESP <bd_addr>,<unbond_status>

where ...

bd_addr

bond_status

Example #

AT+RSIBT_UNBONDRESP AA-BB-CC-DD-EE-FF,1

[ Go to top ]


RSIBT_BONDRESP :: Bond Response Event #

Description #

This event will be sent to the host, containing the status for "Bond" command.

Event Format #

AT+RSIBT_BONDRESP <bd_addr>,<bond_status>

where ...

bd_addr

bond_status

Example #

AT+RSIBT_BONDRESP AA-BB-CC-DD-EE-FF,0

[ Go to top ]


RSIBT_INQRESP :: Inquiry Response Event #

Description #

This event will be sent in response to the "Inquiry" command. This event contains the details of BT device (like device name, BD address, COD, RSSI value) in the vicinity of the BT module.

Event Format #

Standard Inquiry

AT+RSIBT_INQRESP <InquiryType>,<bd_addr>.

Inquiry with RSSI

AT+RSIBT_INQRESP<InquiryType>,<bd_addr>,<NameLength>,<RemoteDeviceName>,<Rssi>,<cod>

where ...

InquiryType

bd_addr

NameLength

RemoteDeviceName

cod

rssi

Example #

Standard Inquiry

AT+RSIBT_INQRESP 0,AA-BB-CC-DD-EE-FF

Inquiry with RSSI

AT+RSIBT_INQRESP 1,AA-BB-CC-DD-EE-FF,7,silabs,-59,7a020c

[ Go to top ]


RSIBT_RMTDEVNAME :: Remote Device Name Event #

Description #

This event will be sent to the host in response to the "Remote Name Request" command. This event contains the name of the remote BT device, which was requested by the host.

Event Format #

AT+RSIBT_RMTDEVNAME <bd_addr>,<NameLength>,<RemoteDeviceName>

where ...

bd_addr

NameLength

RemoteDeviceName

Example #

AT+RSIBT_RMTDEVNAME AA-BB-CC-DD-EE-FF,7,silabs

[ Go to top ]


RSIBT_USRCONFIRMREQ :: User Confirmation Request Event #

Description #

This event is raised when User Confirmation Request comes from the remote BT Device.

Event Format #

AT+RSIBT_USRCONFIRMREQ <bd_addr>,<confirmation_value>

where ...

bd_addr

confirmation_value

Example #

AT+RSIBT_USRCONFIRMREQ AA-BB-CC-DD-EE-FF,1234

[ Go to top ]


RSIBT_USRPASSKEYDISP :: User Passkey Display Event #

Description #

This event is raised when User Passkey comes from the module.

Event Format #

AT+RSIBT_USRPASSKEYDISP <bd_addr>,<Passkey>

where ...

bd_addr

passkey

Example #

AT+RSIBT_USRPASSKEYDISP AA-BB-CC-DD-EE-FF,12345

[ Go to top ]


RSIBT_USRPINCODEREQ :: User Pincode Request Event #

Description #

This event is raised when User Pincode is invoked by the remote BT Device. In such a case, user shall respond with Pincode Reply Command.

Event Format #

AT+RSIBT_USRPINCODEREQ <bd_addr>

where ...

bd_addr

Example #

AT+RSIBT_USRPINCODEREQ AA-BB-CC-DD-EE-FF

[ Go to top ]


RSIBT_USRPASSKEYREQ :: User Passkey Request Event #

Description #

This event is raised when User passkey request comes from the remote BT Device.

Event Format #

AT+RSIBT_USRPASSKEYREQ <bd_addr>

where ...

bd_addr

[ Go to top ]


RSIBT_INQCOMPLETE :: Inquiry Complete Event #

Description #

This event is raised after the Inquiry is completed.

Event Format #

AT+RSIBT_INQCOMPLETE

[ Go to top ]


RSIBT_USRLNKKEYREQ :: User Linkkey Request #

Description #

This event is raised when user linkkey request comes from the remote BT Device.

Event Format #

AT+RSIBT_USRLNKKEYREQ <bd_addr>

where ...

bd_addr

Example #

AT+RSIBT_USRLINKKEYREQ AA-BB-CC-DD-EE-FF

[ Go to top ]


RSIBT_SIMPLEPAIRINGCOMPLETED :: SSP Enable Event #

Description #

This event is raised when a device pairing mode set to Simple Secure pairing mechanism.

Event Format #

AT+RSIBT_SIMPLEPAIRINGCOMPLETED <bd_addr>,<status>

where ...

bd_addr

Status

Example #

AT+RSIBT_SIMPLEPAIRINGCOMPLETED AA-BB-CC-DD-EE-FF,0

[ Go to top ]


RSIBT_USRLINKKEYSAVE :: User Linkkey Save Event #

Description #

This event is raised when a device is paired and linkkey for remote BT Device is given to host.

Event Format #

AT+RSIBT_USRLINKKEYSAVE <bd_addr>,<LinkKey>

where ...

bd_addr

LinkKey

Example #

AT+RSIBT_USRLINKKEYSAVE AA-BB-CC-DD-EE-FF,3C,A5,50,25,DC,D0,B0,AB,B7,C3,4F,4D,9,79,2C,5C

[ Go to top ]


RSIBT_AUTHENTICATION_STATUS :: Auth Complete Event #

Description #

This event describes the status of authentication process.

Event Format #

AT+RSIBT_AUTHENTICATION_STATUS <bd_addr>,<STATUS/ERROR>

where ...

bd_addr

[ Go to top ]


RSIBT_MODECHANGED :: Mode Change #

Description #

This event occurs when sniff mode is enabled by either remote device or local device and it is raised to indicate whenever the device changes between Active mode and Sniff mode.

Event Format #

AT+RSIBT_MODECHANGED <bd_addr>,<current mode>,<ModeInterval>

where ...

bd_addr

current_mode

Mode Interval

Example #

AT+RSIBT_MODECHANGED AA-BB-CC-DD-EE-FF,1,192

[ Go to top ]


Disconnected Event #

RSIBT_DISCONNECTED :: Description #

This event is raised when disconnection happens between the local BT device and the remote device.

Event Format #

AT+RSIBT_DISCONNECTED <bd_addr>,<reason>

where ...

bd_addr

Example #

AT+RSIBT_CLASSIC_DISCONNECTED AA-BB-CC-DD-EE-FF,0

[ Go to top ]


RSIBT_SPPRX :: SPP Receive Event #

Description #

This event is sent to the host when data is received from remote BT device through SPP. This data_len field contains the length of data to be send to the host.

Event Format #

AT+RSIBT_SPPRX <DataLength>,<Data>

where ...

Datalength

Example #

AT+RSIBT_SPPRX 4,rtrt

[ Go to top ]


RSIBT_SPPCONNECTED :: SPP Connected Event #

Description #

This event will be sent to the host, when the connection is established between BT Module and the remote BT device based on SPP profile.

Event Format #

AT+RSIBT_SPPCONNECTED <bd_addr>

where ...

bd_addr

Example #

AT+RSIBT_SPPCONNECTED AA-BB-CC-DD-EE-FF

[ Go to top ]


RSIBT_SPPDISCONNECTED :: SPP Disconnected Event #

Description #

This event will be sent to the host, when the existing SPP connection of the BT Module with the remote BT device is disconnected.

Event Format #

AT+RSIBT_SPPDISCONNECTED <bd_addr>

where ...

bd_addr

Example #

AT+RSIBT_SPPDISCONNECTED AA-BB-CC-DD-EE-FF

[ Go to top ]


RSIBT_IAP_CONNECTED :: IAP Connected Event #

Description #

This event indicates that the connection was established between an Apple device and accessory.

Event Format #

AT+RSIBT_IAP_CONNECTED <bd_addr>,<IAP_Protocol_Ver>

where ...

bd_addr

IAP_Protocol_Version

Example #

AT+RSIBT_IAP_CONNECTED AA-BB-CC-DD-EE-FF,1

[ Go to top ]


RSIBT_IAP_DISCONNECTED :: IAP Disconnected Event #

Description #

This event will be sent to the host when the connection between accessory and an Apple device get disconnected.

Event Format #

AT+RSIBT_IAP_DISCONNECTED <bd_addr>,<IAP_Protocol_Ver>

where ...

bd_addr

IAP_Protocol_Version

Example #

AT+RSIBT_IAP_DISCONNECTED AA-BB-CC-DD-EE-FF,1

[ Go to top ]


RSIBT_IAP1_ACCESSORY_AUTH_STARTED :: IAP1 Accessory Authentication Started Event #

Description #

This indicates the start of the Accessory Authentication procedure by the Apple device.

Event Format #

AT+RSIBT_IAP1_ACCESSORY_AUTH_STARTED

where ...

None

Example #

AT+RSIBT_IAP1_ACCESSORY_AUTH_STARTED

[ Go to top ]


RSIBT_IAP1_ACCESSORY_AUTH_FAILED :: IAP1 Accessory Authentication Failed Event #

Description #

When the Accessory Authentication gets failed, it will be indicated by this event. The reason for failure is indicated by the error code.

Event Format #

AT+RSIBT_IAP1_ACCESSORY_AUTH_FAILED <error_code>

where ...

error_code

Example #

AT+RSIBT_IAP1_ACCESSORY_AUTH_FAILED 0x8002

[ Go to top ]


RSIBT_IAP1_ACCESSORY_AUTH_COMPLETED :: IAP1 Accessory Authentication Completed Event #

Description #

This event indicates the completion of the Authentication procedure by the Apple device.

Event Format #

AT+RSIBT_IAP1_ACCESSORY_AUTH_COMPLETED

where ...

None

Example #

AT+RSIBT_IAP1_ACCESSORY_AUTH_COMPLETED

[ Go to top ]


RSIBT_IAP1_CURR_APP_BUNDLE_NAME :: IAP1 Now Playing App Bundle Name Event #

Description #

This event contains the current playing application bundle name. This event will be generated when the music player starts playing, or when voice memo starts recording etc.

Event Format #

AT+RSIBT_IAP1_CURR_APP_BUNDLE_NAME <name>

where ...

name

Example #

AT+RSIBT_IAP1_CURR_APP_BUNDLE_NAME com.apple.mobileipod

[ Go to top ]


RSIBT_IAP1_CURR_APP_DISPLAY_NAME :: IAP1 Now Playing Application Display Name Event #

Description #

This event contains the current playing application Display name. This event will be generated when the music player starts playing, when the voice memo starts recording etc.

Event Format #

AT+RSIBT_IAP1_CURR_APP_DISPLAY_NAME <name>

where ...

name

Example #

AT+RSIBT_IAP1_CURR_APP_DISPLAY_NAME Music

[ Go to top ]


RSIBT_IAP1_ASSISTIVE_TOUCH :: IAP1 Assistive Touch Status Event #

Description #

This event indicates a change in the status of the Assistive Touch. This event will be sent to the host, whenever there is a change (ON/OFF) in the status of Assistive Touch.

Event Format #

AT+RSIBT_IAP1_ASSISTIVE_TOUCH <status>

where ...

status

Example #

AT+RSIBT_IAP1_ASSISTIVE_TOUCH 1

[ Go to top ]


RSIBT_IAP1_IPODOUT :: IAP1 iPod Out Status Event #

Description #

This event denotes the status of iPod out.

Event Format #

AT+RSIBT_IAP1_IPODOUT <status>

where ...

status

Example #

AT+RSIBT_IAP1IPODOUT 0

[ Go to top ]


RSIBT_IAP1_FLOW_CONTROL :: IAP1 Flow Control Status Event #

Description #

This event will be sent to the host when the connection is established between BT Module and the remote BT device based on SPP profile.

Event Format #

AT+RSIBT_IAP1_FLOW_CONTROL <IAP_Protocol_Ver>

where ...

IAP_Protocol_Version

Example #

AT+RSIBT_IAP1_FLOW_CONTROL

[ Go to top ]


RSIBT_IAP1_RADIO_TAGGING :: IAP1 Radio Tagging Status Event #

Description #

This event indicates the radio tagging status.

Event Format #

AT+RSIBT_IAP1_RADIO_TAGGING <status>

where ...

Status

Example #

AT+RSIBT_IAP1_RADIO_TAGGING 0

[ Go to top ]


RSIBT_IAP1_CAMERA : IAP1 Camera Status Event #

Description #

This event indicates the camera status.

Event Format #

AT+RSIBT_IAP1_CAMERA <status>

where ...

Status

Example #

AT+RSIBT_IAP1_CAMERA 3

[ Go to top ]


RSIBT_IAP1_DATABASE_CHANGED :: IAP1 Database Changed Status Event #

Description #

This event will be raised when there is a change in the Apple device database.

Event Format #

AT+RSIBT_IAP1_DATABASE_CHANGED

Example #


AT+RSIBT_IAP1_DATABASE_CHANGED

[ Go to top ]


RSIBT_IAP1_SESSION_SPACE_AVAILABLE :: IAP1 Session Space Available Event #

Description #

This event will be sent to the host, when the connection is established between BT Module and the remote BT device based on SPP profile.

Event Format #

AT+RSIBT_IAP1_SESSION_SPACE_AVAILABLE

Example #

AT+RSIBT_IAP1_SESSION_SPACE_AVAILABLE

[ Go to top ]


IAP1 Bluetooth Status #

Description #

This event will be sent to the host, when the connection is established between BT Module and the remote BT device based on SPP profile.

Event Format #

AT+RSIBT_IAP1_BLUETOOTH_STATUS <IAP_Protocol_Ver>

where ...

IAP_Protocol_Version

Example #

AT+RSIBT_IAP1_BLUETOOTH_STATUS

[ Go to top ]


RSIBT_IAP1_VOICEOVER_PARAM_CHANGED :: IAP1 Voiceover Parameter Changed Event #

Description #

This event occurs whenever there is a change in any of the voiceover parameter like voiceover volume, speech rate.

Event Format #

AT+RSIBT_IAP1_VOICEOVER_PARAM_CHANGED <param_type>,<changed_value>

where ...

param_type

changed_value

Example #

AT+RSIBT_IAP1_VOICEOVER_PARAM_CHANGED 0,150

[ Go to top ]


RSIBT_IAP1_OPEN_DATA_SESSION :: IAP1 Application Data Session Opened Event #

Description #

This event indicates that a session is opened by an Apple device. The details of the session are denoted by session id and protocol index which is assigned through the EAProtocolToken at the time of Identification Procedure. If the data session is accepted by the user, this must be acknowledgment by "" command.

Event Format #

AT+RSIBT_IAP1_OPEN_DATA_SESSION? <session_id>,<protocol_index>

where ...

session_id

protocol index

Example #

AT+RSIBT_IAP1_OPEN_DATA_SESSION? 25,1

[ Go to top ]


RSIBT_IAP1_CLOSE_DATA_SESSION :: IAP1 Application Data Session Closed Event #

Description #

This event indicates the closure of the data session by the Apple device. This must be acknowledged by "" command.

Event Format #

AT+RSIBT_IAP1_CLOSE_DATA_SESSION? <session_id>

where ...

session_id

Example #

AT+RSIBT_IAP1_CLOSE_DATA_SESSION? 25

[ Go to top ]


RSIBT_IAP1_IPOD_DATA_RECEIVED :: IAP1 iPod Data Received Event #

Description #

This event indicates the data received from the Apple device. If the data is received correctly, an acknowledgment is sent to the Apple device.

Event Format #

AT+RSIBT_IAP1_IPOD_DATA_RECEIVED <session_id>,<data_len>,<data>

where ...

session_id

data_len

data

Example #

AT+RSIBT_IAP1_IPOD_DATA_RECEIVED 25,7,welcome

[ Go to top ]


RSIBT_IAP1_IPOD_DATA_RECEIVED :: IAP1 Accessory HID Report #

Description #

This event indicates the accessory HID report sent by the Apple device. For example an LED report sent to the keyboard accessory.

Event Format #

AT+RSIBT_IAP1_IPOD_DATA_RECEIVED <desc_index>,<report_type>,<len>,<report>

where ...

desc_index

report_type

len

report

Example #

AT+RSIBT_IAP1_ACCESSORY_HID_REPORT 0,1,3, 01 00 00

[ Go to top ]


rsibt_afhchannelclassification :: AFH Channel Classification #

Description #

This is used to read and write the channel assessment modes and to set the AFH channel classification.

Command Format #

at+rsibt_afhchannelclassification=<ChannelAssessmentMode>,<enable>,<channel_map>

where ...

ChannelAssessmentMode (1 byte)

Enable (1 byte)

channel_map (10 bytes)

- 0 - ChannelAssessmentMode is Disabled
- 1 - ChannelAssessmentMode is Enabled
- Other - Reserved for future use. 

Example #

Command

at+rsibt_afhchannelclassification=1,1,ff,ff,ff,ff,0,0,0,0,0,7f

Response

OK

[ Go to top ]


RSIBT_HID_CONNECTED :: HID Connected Event #

Description #

This event will be sent to the host, when the HID profile level connection between the device and Host is successful.

Event Format #

AT+RSIBT_HID_CONNECTED <bd_addr>,<MTU size>

where ...

bd_addr

MTU Size

Example #

AT+RSIBT_HID_CONNECTED AA-BB-CC-DD-EE-FF,3EA

[ Go to top ]


RSIBT_HID_DISCONNECTED :: HID Disconnected Event #

Description #

This event will be sent to the host when the HID profile level connection between the device and Host is closed.

Event Format #

AT+RSIBT_HID_DISCONNECTED <bd_addr>,<Reason Code>

where ...

bd_addr

Reason Code

Example #

AT+RSIBT_HID_DISCONNECTED AA-BB-CC-DD-EE-FF,13

[ Go to top ]


RSIBT_HID_HANDSHAKE_MSG_EVENT :: HID Handshake Message Event #

Description #

This event will be sent to the host when HID profile handshake message is received.

Event Format #

AT+RSIBT_HID_HANDSHAKE_MSG_EVENT <bd_addr>,<result_code>

where ...

bd_addr

result_code

Example #

AT+RSIBT_HID_HANDSHAKE_MSG_EVENT AA-BB-CC-DD-EE-FF,0

[ Go to top ]


RSIBT_HID_CONTROL_MSG_EVENT :: HID Control Message Event #

Description #

This event will be sent to the host when HID profile control message is received.

Event Format #

AT+RSIBT_HID_CONTROL_MSG_EVENT <bd_addr>,<Control Operation>

where ...

bd_addr

Control Operation

Example #

AT+RSIBT_HID_CONTROL_MSG_EVENT AA-BB-CC-DD-EE-FF,5

[ Go to top ]


HID Get Report Event #

Description #

This event will be sent to the host, when HID profile Get Report is received.

Event Format #

AT+RSIBT_HID_GET_REPORT_EVENT <bd_addr>,<Report Type>,<Buffer Size Field status>,<Report ID>,<Buffer Size>

where ...

bd_addr

**Report Type

Buffer Size Field Status

Report Id

Buffer Size

Example #

AT+RSIBT_HID_GET_REPORT_EVENT AA-BB-CC-DD-EE-FF,1,0,1

[ Go to top ]


RSIBT_HID_SET_REPORT_EVENT :: HID Set Report Event #

Description #

This event will be sent to the host when HID profile Set Report is received.

Event Format #

AT+RSIBT_HID_SET_REPORT_EVENT <bd_addr>,<Report Type>,<Length of Data>,<data>

where ...

bd_addr

Report Type

Length of Data

data

Example #

AT+RSIBT_HID_SET_REPORT_EVENT AA-BB-CC-DD-EE-FF,1,5,1,2,3,4,5

[ Go to top ]


RSIBT_HID_GET_PROTOCOL_EVENT :: HID Get Protocol Event #

Description #

This event will be sent to the host when HID profile Get Protocol is received.

Event Format #

AT+RSIBT_HID_GET_PROTOCOL_EVENT <bd_addr>

where ...

bd_addr

Example #

AT+RSIBT_HID_GET_PROTOCOL_EVENT AA-BB-CC-DD-EE-FF

[ Go to top ]


RSIBT_HID_SET_PROTOCOL_EVENT :: HID Set Protocol Event #

Description #

This event will be sent to the host when HID profile Set Protocol is received.

Event Format #

AT+RSIBT_HID_SET_PROTOCOL_EVENT <bd_addr>,<Protocol Mode>

where ...

bd_addr

Protocol Mode

Example #

AT+RSIBT_HID_SET_PROTOCOL_EVENT AA-BB-CC-DD-EE-FF,1

[ Go to top ]


RSIBT_HID_RX_CONTROL_DATA :: HID Control Data Received Event #

Description #

This event will be sent to the host, when the HID profile receives data on control channel.

Event Format #

AT+RSIBT_HID_RX_CONTROL_DATA <bd_addr >,<Report Type>,<Length of Data>,<data>

where ...

bd_addr

Report Type

Length of Data

data

Example #

AT+RSIBT_HID_RX_CONTROL_DATA AA-BB-CC-DD-EE-FF,2,2,1,1

[ Go to top ]


RSIBT_HID_RX_INTR_DATA :: HID Interrupt Data Received Event #

Description #

This event will be sent to the host, when HID profile receives data on interrupt channel.

Event Format #

AT+RSIBT_HID_RX_INTR_DATA <bd_addr>,<Report Type>,<Length of Data>,<data>

where ...

bd_addr

Report Type

Length of Data

data

Example #

AT+RSIBT_HID_RX_INTR_DATA AA-BB-CC-DD-EE-FF,2,2,1,1

[ Go to top ]


rsibt_hidsendinterruptdata :: HID Send Interrupt Data #

Description #

The data is sent to the remote HID device using Interrupt channel.

Command Format #

at+rsibt_hidsendinterruptdata=<bd_addr>,<Report Type>,<Length of Data>,<data>

Parameters #

bd_addr

Report Type

Length of Data

data

Example #

Command

at+rsibt_hidsendinterruptdata=AA-BB-CC-DD-EE-FF,1,9,1,2,3,4,5,6,7,8,9

Response

OK

[ Go to top ]


HID Send Control Data #

Description #

The data is sent to the remote HID device using Control channel.

Command Format #

at+rsibt_hidsendcontroldata=<bd_addr>,<Report Type>,<Length of Data>,<data>

Parameters #

bd_addr

Report Type

Length of Data

data

Example #

Command

at+rsibt_hidsendcontroldata=AA-BB-CC-DD-EE-FF,1,9,1,2,3,4,5,6,7,8,9

Response

OK

[ Go to top ]


rsibt_hidsendhandshakemsg :: HID Send Handshake Message #

Description #

The result of a received control message is sent to the remote HID device using Control channel.

Command Format #

at+rsibt_hidsendhandshakemsg=<bd_addr>,<result_code>

Parameters #

bd_addr

result_code

Example #

at+rsibt_hidsendhandshakemsg=AA-BB-CC-DD-EE-FF,0

Response

OK

[ Go to top ]


rsibt_hidsendcontrolmsg :: HID Send Control Message #

Description #

The control operation is sent to the remote HID device using Control channel.

Command Format #

at+rsibt_hidsendcontrolmsg=<bd_addr>,<Control Operation>

Parameters #

bd_addr

Control Operation

Example #

Command

at+rsibt_hidsendcontrolmsg=AA-BB-CC-DD-EE-FF,5

Response

OK

[ Go to top ]


rsibt_hidsendsdpconfig :: HID Send SDP Configuration Data #

Description #

Configures the SDP records attributes of the HID service with Service Name, Country Code, SDP Report Desc Data. This command must be executed after setting the profile mode to HID_PROFILE and is one time configurable.

Command Format #

at+rsibt_hidsendsdpconfig=<Service Name>,<Country Code>,<Desc len>,<Desc Data>

Parameters #

Service Name

Country Code

Desc len

Desc Data

Example #

at+rsibt_hidsendsdpconfig=KeyboardService,33,160,35,9e,35,9c,08,22,25,98,05,01,09,06,a1,01,85,01,75,01,95,08,05,07,19,e0,29,e7,15,00,25,01,81,02,95,01,75,08,81,03,95,05,75,01,05,08,19,01,29,05,91,02,95,01,75,03,91,03,95,06,75,08,15,00,26,ff,00,05,07,19,00,29,ff,81,00,c0,05,0c,09,01,a1,01,85,03,15,00,25,01,75,01,95,0d,0a,23,02,0a,21,02,0a,83,01,09,b6,09,b5,09,e9,09,ea,09,cd,09,b7,09,e2,0a,8a,01,09,30,09,b8,81,02,95,01,75,0b,81,03,c0,05,01,09,80,a1,01,85,04,15,00,25,01,75,01,95,03,09,81,09,82,09,83,81,02,95,01,75,05,81,03,c0

Response

OK

[ Go to top ]


rsibt_hidreconnect :: HID Reconnect #

Description #

HID Reconnect command is used to connect to a device with HID profile.

This command needs prior exchange of SDP records with the master device during initial connection for profile level exchanges.

Command Format #

at+rsibt_hidreconnect=<BD Address>

Parameters #

BD Address

Example #

at+rsibt_hidreconnect=AA-BB-CC-DD-EE-FF

Response

OK

[ Go to top ]


rsibt_enabledevicetestmode :: Enable Device Under TestMode #

Description #

This is used to request the local device to enable test mode. This command should only be called after the commands:

Command Format #

at+rsibt_enabledevicetestmode

Example #

Command

at+rsibt_enabledevicetestmode

Response

OK