beautypg.com

Appendix c: s-register, C.1. s1: force to reconnect (default 1), C.2. s3: stream uart policy (default 0) – SENA Parani-SD1100 User Manual

Page 46: C.3. s4: enable remote name query (default 1), C.4. s6: enable low power mode (default 0), C.5. s10: enable response message (default 1)

background image

46

Appendix C: S-Register


S-registers contain 52 parameters for the Parani-SD Series. These are stored in flash memory and the
values will be saved unless hardware reset is executed. The value of S-register can be accessed and
changed with ATS command. Some S-registers not shown below are set to maximize the performance
of Parani-SD Series. Thus it is not recommended to change these S-registers.
Changing the values of S-register can only be done in the Standby mode. It is not recommended to
change S-registers other than ones listed here. Turn Parani-SD off and on to apply the change of S-
register.

C.1. S1: Force to Reconnect (default 1)


S1=0, Parani-SD in Mode1 does not try to reconnect when disconnected.
S1=1, Parani-SD in Mode1 keeps trying to reconnect when disconnected.

C.2. S3: Stream UART Policy (default 0)


S3=0, the priority of UART streaming is throughput.
S3=1, the priority is latency, which minimizes the delay of data transmission. This is useful in case of

transmitting very small data quickly.

When this value is 1, in order to minimize latency, Parani-SD sends the received data immediately.
When this value is 0, the Parani-SD maximizes throughput, the Parani-SD stores received data for a
short time and sends a large data packet. If the packet length is less than 100 bytes, having latency
being the priority is recommended. If the packet length is more than 100 bytes, having throughput as
the priority is recommended. Also, if you want to use high baudrate, throughput priority will be more
effective. Just for reference, the buffer length for receiving data is 2 Kbytes.

C.3. S4: Enable Remote Name Query (default 1)


S4=0, Parani-SD will query only the BD address. This speeds up the inquiry process.
S4=1, Parani-SD will query the BD address, device name and class of device.
When this value is 1, Parani-SD finds not only BD address but also friendly name. When this value is
0, Parani-SD finds only BD address. When set to 0 this will make queries much faster. When using the
pairing button, finding friendly name will be omitted automatically.

C.4. S6: Enable Low Power Mode (default 0)


S6=0, deactivate Low Power Mode.
S6=1, activate Low Power Mode.
This value decides whether Parani-SD works in Low Power Mode or not. When this value is 0, Parani-
SD works only in active power mode. When Parani-SD works in Low Power mode, delay in
transferring data may occur.

C.5. S10: Enable Response Message (default 1)


S10=0, Parani-SD does not send response messages to the host system.
S10=1, Parani-SD sends response messages to host system.
This value decides whether Parani-SD sends response messages such as OK, ERROR, CONNECT,
DISCONNECT or not. When this value is 0, Parani-SD will not send any response messages. If the
response messages conflicts with your host programs or devices that is connected to Parani-SD,
change this value to 0.