Hi,
I am sending data via UART from a pic to a Bluetooth device.
the PIC is from the pic16f family and the BT is RN42SM.
The default configuration for the Bluetooth module is:
" When the module receives data, it strips the Bluetooth headers and trailers and passes the user data to the UART port. When data is written to the UART port, the module constructs the Bluetooth packet and sends it out over the Bluetooth wireless connection." (data sheet)
because the BT is transmitting all the time I would
want to stop the UART transmission when the data has been all transmitted.
1. Can I do this by changing the UART RTS or CTS bit of the BT?
is that the purpose of one of these bits in the first place?
if not, do these bits need to be wired anywhere?
2. Can that be done by changing somehow any of the IO bit? (see page 5 in BT data sheet attachment)
what information can be sent to the PIC from the IO bits?
Thanks, Amitai