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

Page 41: 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), C.6. s11: enable escape (default 1)

Advertising
background image

41

Appendix C: S-Register

S-registers contains 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. Turn Parani-SD off and on.

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

transmiting 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.

C.6. S11: Enable Escape (default 1)

S11=0, Parani-SD does not allow escape sequence characters. The operation status of Connect

cannot be changed to Standby. Since the Parani-SD skips the process of detecting escape
sequence characters, more efficient data transmission can be had.

S11=1, Parani-SD allows for the escape sequence charactesr. Whenever it is needed, the Connect

status can be changed to Standby.

Advertising