Product Info

Bluetooth Serial Module
AT Command Set
Date : 3 Feb 03 Issue No : 1.9 Doc No : XRBLU020-001SW-0 Page 10 of 38
© TDK Systems Europe Ltd 2003
If Sreg 525=1, then the max baudrate is limited to 115200
521 115200 300.. 921600 Change baudrate. The effect is immediate and in fact the OK will be sent at the new
baudrate. Due to the integer arithmetic involved, the actual baudrate is different. To
inspect the actual baudrate, do ATS521?
If Sreg 525=1, then the max baudrate is limited to 115200
522 1 1 1 = CTS/RTS hardware handshaking enabled
523 1 1..2 Number of StopBits
524 0 0..2 Parity. 0=None, 1=Odd, 2=Even
525 See
Comment
0..1 Apply multiplier of 8 to baudrate internally. This is set to 0 (disabled) by default for the
serial module, and set to 1 (enabled) by default for the pc card variant.
It is required in the pc card because the UART chip on the pc card is driven by a
14.7456MHZ crystal instead of 1.8432MHz. This means that when a host asks for a
baudrate, in reality it gets a baudrate which is 8 times faster.
If S Reg 520 > 115200 then this register cannot be set to 1.
530 1000 100.. 15000 Reconnect delay when configured as master in pure-cable-replacement mode. This value
is rounded down to the nearest 100ms
531 0 0..1 If Set to 1 then on connection, remain in Command Mode.
532 0 0..3 If non zero then on every connection, and SCO channel (audio) will be initiated. If value
=1 then HV1, if =2 then HV2 and finally if =3 then HV3
533 1 0..2 If set to 1 then left LED follows RI state, if set to 2 then it follows the state of DSR and if 0
then neither and GPIO5 is available as a user i/o.
This register will not necessarily be effective immediately after changing the value. It must
be saved to non-volatile store using AT&W and will operate as expected after an ATZ or a
power cycle.
534 1 0..1 If set to 1 then right LED follows DCD state, otherwise GPIO4 is available as user i/o.
This register will not necessarily be effective immediately after changing the value. It must
be saved to non-volatile store using AT&W and will operate as expected after an ATZ or a
power cycle.
535 20 0..41 Link Supervision Timeout. If units go out of range, then a NO CARRIER message will be
sent to the host after the time specified here
540 0 0 48-127 Sets the MTU in L2CAP configuration negotiations. The value of 0 is a special value
which is taken to mean that the current value should remain.
1001 to
1010
0.. 2^32 10 General Purpose 32 bit Registers for use by host. These are stored in non-volatile
memory.
610 0 0..31 Set direction of digital i/o lines
620 n/a 0..31 Read/Write to all 8 Digital lines in one atomic step. The value is returned as a 4 digit hex
value wth trailing 0s.
621 n/a 0..1 Read/Write to GPIO1
622 n/a 0..1 Read/Write to GPIO2
623 n/a 0..1 Read/Write to GPIO3
624 n/a 0..1 Read/Write to GPIO4
625 n/a 0..1 Read/Write to GPIO5
626 n/a 0 Read/Write to GPIO6 - Not Available so 0 always returned
627 n/a 0 Read/Write to GPIO7 - Not Available so 0 always returned
628 n/a 0 Read/Write to GPIO8 - Not Available so 0 always returned
2.2.6 Future S Registers
The following registers are planned for the future.
Register Default Range Comment
601 n/a TBD Read/Write to Analogue Line 1
602 n/a TBD Read/Write to Analogue Line 2
603 0 0..1 Set direction of Analogue Line 1
604 0 0..1 Set direction of Analogue Line 2
Response: <cr,lf>OK<cr,lf>
If the register is not recognised or the value specified is out of range then
Response: <cr,lf>ERROR nn<cr,lf>