5.3.1.3 Get Remote Device Name (GNR[,<hex16>])
Format: GNR
This command, without any parameter, finds the peer device name of the last connected device for a single link. If there are multiple links, the command with a connection handle parameter finds the peer device name of the dedicated connection. This command is recommended for use only after a successful connection exists with a peer device. The command responds with an error message if it is issued before an active connection link.
Example: | GNR | // Get the remote device name of the last connected device // For single link |
GNR,0071 | // Get the remote device name of the dedicated connected device for multiple links | |
Response: | <Remote Device Name> | // If connected |
Err | // Not connected yet | |
Note: This command is only for the client role. |