I am a new user of Arduino (I have a Arduino Due) and also I am a new user of BLE112 (Bluegiga module 112)
My teacher told me to make the BLE112 advertisable and furthermore he told me to look for information about UART@115K. (The Ble112 he gave me came with wires already soldered to the selected pins: I'm assuming I only need to use those.)
PIN NUMBER [PIN NAME] for BLE112 2 AVDD (Supply voltage 2-3.6V) 3 AVDD (Supply voltage 2-3.6V) 4 [P2_2] DC- Debug clock (DIGITAL I/O) 5 [P2_1] DD- Debug data (DIGITAL I/O) 9 VDD_USB (Supply voltage 2-3.6V) 20 DVDD (Supply voltage 2-3.6V) 23 [P0_5] RXD(Rx) (DIGITAL I/O) 24 [P0_4] TXD(TX) (DIGITAL I/O) 25 [P0_3] RTS (DIGITAL I/O) 26 [P0_2] CTS (DIGITAL I/O) 29 RESET 30 GND
BLE pins [2,3,9,20] to 3.3v pin of Arduino BLE pin  to GND pin of Arduino
Then I found a picture (attached at the bottom of this post) that describes that I should put CTS of BLE on RTS of Arduino and vice versa. Where is the CTS on an Arduino board? I think I have to program one of the Digital pins.
I tried some other connections. I put:
BLE pin 26(CTS) to Arduino random digital pin 32, and BLE pin 25(RTS) Arduino random digital pin 34. BLE pin 24(TX) Arduino RX pin 0 BLE pin 23(RX) Arduino TX pin 1
I didn't connect
DD(Debug data) and
Reset on the BLE112.
So then I found some more info on the web that if I use USART than I should use a wake up pin which is by the default
P0_0(??) more about that in this PDF. (Search
Now I should mention sleep mode Ble112 (there are three kinds of it) and I believe that the one I am after is MODE 3 (that means that it consumes the minimum (power) of them all)
I found some example named UART@115K
UART@115k This example configures the BLE112 or BLE113 Bluetooth Smart module to expose the BGAPI protocol over UART interface with the following settings: 115200 bps, 8n1 and hardware flow control enabled. The power mode 3 is enabled in this example and the wake-up pin is configured to P0_0 pin (P0_0 button on DKBLE112 and DKBLE113). When the power mode 3 is enabled the device will not be able to receive commands or data over UART unless the wake-up pin is asserted.
The example uses UART in the pin configuration channel 1 and alternate 1, which is the configuration used in the DKBLE112 and DKBLE113 development kits. If you try this example with DKBLE112 or DKBLE113 make sure the UART interface is enabled and the device is NOT powered with a CR2032 battery as it’s not able to power up the level shifter or UART to USB converter.
This is also the factory default configuration for BLE112 and BLE113 Bluetooth Smart Modules.