
490
Function #9 .fcBTRmtNam
Get remote device name
Syntax: CALL "BT.FN3" .fcBTRmtNam BDADDR$,BDNAME$
Description: This function gets the Bluetooth device name for the remote device at the
specified Bluetooth address.
Parameters: BDADDR$ Bluetooth device address (string of 12 hexadecimal digits)
Returned value: BDNAME$ Device name (character string, Max. 248 bytes)
If the name is longer than the string length of
BDADDR$, the interface
discards the excess bytes.
Note: The function should be executed after execution of OPEN "COM4:"
statement.
The operation aborts with run-time error 621h if the specified device does
not exist or it is not able to accept the connection. Check the remote
device's status and try again.
Kommentare zu diesen Handbüchern