RN4677 Bluetooth
®
4.0 Dual Mode Module User’s Guide
DS50002377A-page 20 2015 Microchip Technology Inc.
2.3.16 ST,<H16>,<H16>,<H16>
This command only applies to BLE Transparent UART connections.
This command sets the connection parameters for BLE connection. These connection
parameters are used for establishing connection when RN4677 acts as a master.
Connection parameters can be modified after connection is established by Action
command T.
This command expects three 16-bit hexadecimal parameters: minimum connection
interval, slave latency and supervision timeout, respectively. The unit for the first
parameter is 1.25 ms. The unit for the last parameter is 10 ms.
Default:
0008,0000,0200
Example:
2.3.17 SU,<value>
The Set UART Baud Rate command sets the baud rate where <value> is 1200, 2400,
4800, 9600, 19.2, 28.8, 38.4, 57.6, 115K, 230K, 460K, or 921K. Only the first two
characters for the desired baud rate must be specified.
Default:
115,200
Example:
2.3.18 SW,<value>
This command only applies to Bluetooth Classic.
This command enables low-power Sniff mode, which enables extremely low-power
operation. In this mode, the device goes into a deep sleep and wakes up every
625 µs x <value> to send/receive data. For example, the SW,0050 setting (0x50 = 80,
80 x 625 µs = 50 ms) causes the module to enter low-power sleep and wake once
every 50 ms to check for RF activity.
This setting is useful for applications in which the device is connected and sending
data. Data is not lost, however, some delay may occur.
Default:
Example:
2.3.19 SY,<0-4>
This command sets the transmit power of the module .
Default:
3
Example:
ST,0010,0000,0100 // Set minimum connection to be 20 ms, slave
// latency to be 0 and supervision timeout to be
// 2.56 seconds
SU,57 // Set the UART baud rate to 57,600
0000 // Disable Sniff mode
SW,0050 // Enable Sniff mode with interval time of 50 ms
SY,1 // Change max RF power output to be 1