Users Manual Instruction Manual
88
CATC BTTRAINER 2.20 APPENDIX A
User’s Manual
A.3.30 Set_Event_Mask
Set_Event_Mask is used to control which events are generated by the HCI for the Host.
A.3.31 Write_Authentication_Enable
This command will write the value for the Authentication_Enable parameter, which controls
whether BTTrainer will require authentication for each connection with other Bluetooth
devices.
Command Parameters Examples Comments
Event_Mask NO_EVENTS 0x0000
INQUIRY_RESULT 0x0001
INQUIRY_COMPLETE 0x0002
INQUIRY_CANCELED 0x0004
LINK_CONNECT_IND 0x0008
SCO_CONNECT_IND 0x0010
LINK_DISCONNECT 0x0020
LINK_CONNECT_CNF 0x0040
LINK_CON_RESTRICT 0x0080
MODE_CHANGE 0x0100
ACCESSIBLE_CHANGE 0x0200
AUTHENTICATED 0x0400
ENCRYPTION_CHANGE 0x0800
SECURITY_CHANGE 0x1000
ROLE_CHANGE 0x2000
SCO_DISCONNECT 0x4000
SCO_CONNECT_CNF 0x8000
ALL_EVENTS 0xffff
Return Events
Set_Event_Mask_Complete
Set_Event_Mask_Error
Command Parameters Examples Comments
Authentication_Enable 0x0 0x00=Authentication disabled.
Default
0x01=Authentication enabled
for all connection
Return Events
Write_Authentication_Enable_Complete
Write_Authentication_Enable_Error