User's Manual Part 2

11.2: GAP Commands Chapter 11: AT Commands Reference
28
Read_Security_Mode (AT*AGSM?)
AT Command Description
AT*AGSM?<CR> Reads the GAP security mode.
Responses Description
<CR><LF>*AGSM:<security_mode><CR><LF>OK<CR><LF> Successful response.
<CR><LF>ERROR<CR><LF> Error response.
Result Pa-
rameters
Type Value
security_mode enumerator 1: Link level authentication and encryption dis-
abled (GAP security mode 1 with encryption
disabled). (Default value)
2: Link level authentication and encryption en-
abled (GAP security mode 3 with encryption
enabled).
Write_Security_Mode (AT*AGSM=)
AT Command Description
AT*AGSM=<security_mode>,<store_in_startup_database><CR> Writes the GAP security
mode.
Command
Parameters
Type Value
security_mode enumerator 1: Link level authentication and encryption dis-
abled (GAP security mode 1 with encryption
disabled). (Default value)
2: Link level authentication and encryption en-
abled (GAP security mode 3 with encryption
enabled).
store_in_startup_database enumerator 0: The setting will only be valid for the current
power cycle.
1: The Serial Port Adapter will remember the
setting between power cycles. The settings
database in the Serial Port Adapter will be up-
dated.
Responses Description
<CR><LF>OK<CR><LF> Successful response.
<CR><LF>ERROR<CR><LF> Error response.
Name_Discovery (AT*AGND=)
AT Command Description
AT*AGND=<bd_addr><CR>
Retrieves the device name of a remote device given its