
502
Function #21 .fcBTGetSvc
Read service discovery results
Syntax: CALL "BT.FN3" .fcBTGetSvc NUM%,SCLASS%[()],SNAME$[()]
Description: This function reads results from service discovery with an OPEN
"COM4:M,SDAP" statement.
Parameters: (None)
Returned value: NUM% Number of services found
SCLASS%[()]
Service classes found
SCLASS%
Service Class
0 UNKNOWN_SERVICE_CLASSES
1 SERIAL_PORT
2 LAN_ACCESS_USING_PPP
3 DIALUP_NETWORKING
4 IRMC_SYNC
5 OBEX_OBJECT_PUSH
6 OBEX_FILE_TRANSFER
7 IRMC_SYNC_COMMAND
8 HEADSET
9 CORDLESS_TELEPHONY
10 INTERCOM
11 FAX
12 HEADSET_AUDIO_GATEWAY
SNAME$[()]
Service names found
NUM% gives the number of valid entries in the arrays SCLASS% and
SNAME$.
If
NUM% is greater than 1, treat SCLASS% and SNAME$ as array
variables.
If the number of services found exceeds the number of SCLASS% and
Comentarios a estos manuales