User's Manual Part 2

11.3: Service Search Commands Chapter 11: AT Commands Reference
39
cB-OEMSPA332
11.3 Service Search Commands
Service_Search (AT*ARSS=)
AT Command Description
AT*ARSS=<bd_addr>,<role_and_profile>,
<max_nbr_of_results><CR>
Search for services on a remote device.
Command
Parameters
Type Value
bd_addr Bd_Addr Bluetooth device address of the device on
which to search for services.
role_and_profile enumerator 0: DevB role, Serial Port Profile
1: Gateway role, Dial-Up Networking Profile
2: LAN Access Point role, LAN Access Profile
max_nbr_of_results integer The maximum number of services to be
collected.
Responses Description
<CR><LF>*ARSS:<matching_service_records><CR
><LF>OK<LR><CR>
Successful response
*ARSRSP:<bd_addr>, <rfcomm_server_chan>, <
service_name_valid >, <service_name><CR><LF>
This response is the result of a device B
serial port profile service search.
*ARSRDUN:<bd_addr>, <rfcomm_server_chan>,
<service_name_valid >, <service_name>, <au-
dio_feedback_support_valid>, <au-
dio_feedback_support><CR><LF>
This response is the result of a GW dial-
up networking profile service search.
*ARSRLAN:<bd_addr>, <rfcomm_server_chan>, <
service_name_valid>, <service_name>, <ser-
vice_description_valid>, <service_description>,
<service_availability_valid> <service_availability>,
<ip_subnet_valid>, <ip_subnet><CR><LF>
This response is the result of a LAP LAN
access profile service search.
<CR><LF>ERROR<CR><LF> Error message.
Response Pa-
rameters
Type Value
bd_addr Bd_Addr Bluetooth device address of the device on
which to search for services.
matching_service_records integer The number of matching service records.
Range 0 to 255.
rfcomm_server_chan integer RFCOMM server channel number on
which this service can be found. It is used
when connecting to a profile. Range 1 to
30.
service_name_valid enumerator 0: The service_name parameter could not
be retrieved from the remote device and
the value is not valid.
1: The service_name parameter could be
retrieved from the remote device and the
value is valid.