User guide
EZURiO devices do not map to any predefined Major Service Class or Major Device Class
and so the default devclass as shipped is 001F00, which means no Major Service Class and
“Unclassified” Major Device class.
Other examples of device class codes are follows:-
Code
(Hexadecimal)
Name Major Service Major Device Minor Device
001F00 Unclassified None Unclassified n/a
200404 Headset Audio Audio Headset
Response: <cr,lf>OK<cr,lf>
Or for an invalid <devclass> value (usually a value which is not 6 hexadecimal characters
long).
Response: <cr,lf>ERROR 08<cr,lf>
2.2.24 AT+BTC? {Read Device Class Code}
This command is used to read the current device class code.
Response: <cr,lf>123456
<cr,lf>OK<cr,lf>
2.2.25 AT+BTD<bd_addr> {Remove Trusted Device}
This command is used to remove the specified device from the list of trusted devices in the
non-volatile database. If the device is not in the database then the response will still be an
OK.
Response: <cr,lf>OK<cr,lf>
2.2.26 AT+BTD* {Remove All Trusted Devices}
This command is used to remove all devices from the list of trusted devices in the non-
volatile database. No confirmation will be asked for. So beware!!!
WARNING: If you make an authenticated connection, the link key gets cached in the
underlying stack. So if you subsequently delete the key using AT+BTD* and immediately
request an authenticated connection to the same device, then the connection will be
established. To ensure this does not happen, either send ATZ after the AT+BTD* OR send
AT+BTD<bd_addr> for each item in the trusted device database.
Response: <cr,lf>OK<cr,lf>
2.2.27 AT+BTF=<string> {Set Friendly Name}
This sets the friendly name of this device as seen by other devices
Response: <cr,lf>OK<cr,lf>
2.2.28 AT+BTF<bd_addr> {Get Remote Friendly Name}
This command gets the remote friendly name of the peer specified.
Response: <cr,lf><bd_addr>,”Friendly Name”
<cr,lf>OK<cr,lf>
2.2.29 AT+BTG<bd_addr> {Enable Cautious Page Scanning ONLY}
Enable page scanning and wait for a connection from device with Bluetooth address
<bd_addr>. If the specified address is 000000000000 then incoming connections are
accepted from any device, is as per AT+BTP without an address. Inquiry Scans are
disabled.
DSH_50003_v1v3 AT Command Reference 19 of 33