Цитата(AlexXYZ @ Jul 19 2006, 06:48)

Проблема следующая:
приобретены BT модули WT12 (BC4), но стандартный ряд скоростей UART не устрайивает.
Как написано в datasheet скорость можно изменить с помощью PSTool переменной PSKEY_UART_BAUD_RATE.
Я имел дело только с BC2 и там с помошью PSTool можно задать скорость следующим образом:
Set the chip's UART baud rate at boot time to:
baud_rate = ps_value/0.004096
Some common baud_rate values:
38k4 baud - 157 (0x009d)
115k2 baud - 472 (0x01d8)
A BCCMD command allows the baud rate to be changed instantly but this
presents the problem that if the command succeeds then notification
of the command's behaviour will be sent at the new rate, and if it
fails it will be sent at the old rate. The preferred method is to
change this pskey then to reboot the chip.
Although this key can be set higher, the maximum rated speed for
the UART hardware is 1.5 Mbaud.