Is it compulsory to have same Baudrate on central & Preipheral side when using the NUS..?
I'm using Central @ 115200 & Peripheral @ 9600 [No flow control on either].
The data receive on the peripheral is not always correct...
Is it compulsory to have same Baudrate on central & Preipheral side when using the NUS..?
I'm using Central @ 115200 & Peripheral @ 9600 [No flow control on either].
The data receive on the peripheral is not always correct...
No.
The interface to the hardware UART (including baud rate) is entirely independent of the Bluetooth service.
However, of course, if the baud rates are different, then your application is going to have to provide with buffering - possibly also flow control - to cope with the difference...
I do not think is entirely correct. If there are two devices connected together, they need to use the same baudrate to communicate. If they are different, the receiver will measure too fast (leading to the same bit being counted twice) or too slow (leading to missed bits).
I do not think is entirely correct. If there are two devices connected together, they need to use the same baudrate to communicate. If they are different, the receiver will measure too fast (leading to the same bit being counted twice) or too slow (leading to missed bits).