SENA Promi-MSP User Guide User Manual
Page 46
![background image](/manuals/292734/46/background.png)
46
Copyright © 2006 Sena Technologies, Inc. All rights reserved.
connected to Promi-MSP, port number will be assigned automatically by
Promi-MSP. Users may check the port numbers used by LIST command.
Ex.:
PORT
+OK PORT 5000
PORT 6000
+OK PORT 6000
BIND
:
A static port number may be assigned to a designated Bluetooth device
using BIND command. A Bluetooth device can be specified by either
friendly name or Bluetooth address.
Response:
+OK index|name|bdaddr|port
Ex.:
BIND 00:0B:53:00:00:01 8000
+OK
BIND Promi-SD 8001
+OK
BIND
0||00:0B:53:00:00:01|8000
1|Promi-SD||8000
+OK
RELE
:
If users do not need to use a bound port number, RELE command can be
used to release the port number.
Ex.:
RELE 8000
+OK
PRSV
:
A TCP data port is opened as a Bluetooth connection is made. So, when
Bluetooth connection is closed, the corresponding TCP port is also closed.
If this behavior interferes with your usage scenario, this option will help.
When this option is enabled, TCP connection remains regardless of
Bluetooth connection. Users do not need to make TCP connection each
time whenever Bluetooth connection is closed for a while.
Ex.:
PRSV on
+OK