Oki BISM2 manual Modem signalling over Bluetooth, Pure Cable Replacement Mode, At&F, At&W

Page 19

www.ezurio.com

3.PIO3 (DCD) will be de-asserted when the device is in the unconnected state. Asserted when a connection is active. See S Registers 552 and 553 for more details.

4.PIO5 is either used as GPIO or driven as UART_DTR. When the unit is configured in pure host mode, this pin is forced into UART_DTR and is asserted when there is a Bluetooth connection.

GPIO Pins 1 to 8 are available for general purpose use.

9.2Modem signalling over Bluetooth

The RFCOMM protocol used in Bluetooth for implementing the serial port profile allows for the exchange of four modem signals. This information is contained in a special transparent message which contains bits identified as RTR, RTC, DV and IC which depending on the type of serial device being emulated maps to DTR or DSR, RTS, DCD and RI respectively. In addition, this message also includes the ability to convey a BREAK input from one end to the other.

To allow for the greatest flexibility and variability in how the modem control signals are used out in the real world, S Registers 551, 552 and 553 have been provided which allow for any of RTR,RTC,DV and IC to be mapped to any modem control/status line.

BREAK signal on RX line

If the host sends a break signal of duration greater than 100ms, then the blu2i module is configured to treat that as a signal to perform a hardware reset.

This being the case it is not possible to convey a BREAK over Bluetooth to the peer device.

Reset

The module can be reset by the host without the need of any I/O using a BREAK signal. The module has been configured to reset when the RX line detects a break condition for durations greater than 100 milliseconds.

The Reset line has a fixed pull down resistor of 10kOhm

9.3Pure Cable Replacement Mode

The module has the capability of being preset into a pure 5-wire data cable replacement mode. The 5 wires being RX, TX, CTS, RTS and GND. This mode requires no changes to a host application since the Bluetooth connection is automatically set up on power up. If the connection is lost the BISM2 module will constantly retry until the connection is reinstated.

By implication, two devices are needed to replace a cable. One device is pre-configured to always be a master and the other, a slave.

Assuming the Bluetooth address of the master to be <bdaddr_m> and that of the slave to be <bdaddr_s>, the master module is configured by sending it the following AT commands:

AT&F*

ATS512=1

ATS504=1

ATS507=2

ATS530=2000

AT&W

AT+BTR<bdaddr_s>

The ATS507=2 setting puts the device in DSR drop mode only. This means that when the device needs to be reconfigured, deasserting the DSR line will ensure that the module responds quickly to AT

Image 19
Contents Applications General DescriptionGpio FeaturesConnection Diagram Functional Block DiagramPin Descriptions Recommended Operating Parameters Electrical SpecificationsPower Supply Absolute Maximum ratingsSpimiso SPI BusUartdtr SpimosiUSB D PCM InterfaceGeneral Purpose I/O and ADC MiscellaneousAT+BTP O CharacteristicsPower Consumption Typical Current Consumption in mARF Performance DC CharacteristicsRange Data Transfer Rate / Distance Temperature PerformanceInterfaces Functional DescriptionUart interface 5 ADC SPI busGpio Port PCM Codec InterfaceAT Overview Integrated FirmwareGeneral ProfilesUart AT features at a glanceGeneral AudioPower Management OTA Over the Air ConfigurationBoot modes BluetoothLow Power Modes using Sniff Low Power ModesHigh Power Consumption Application Examples RS232 Modem SignalsAT&W Modem signalling over BluetoothPure Cable Replacement Mode AT&FAudio Cable voice Oscillator Output Modem Control and Status SignalsAntenna Position Application InformationMounting the Module onto the application platform Power Supply ConsiderationsPower-On-Reset Power Cycling and Brown Out considerations RF ShieldFixing Pillars Hirose Connector general specification Board to Board ConnectorStacking Height Qualifications Bluetooth Qualification ProcessSafety Information QualificationEurope EU Declaration of Conformity Safety and Regulatory StatementsReliability Operating temperaturesStorage temperature EnvironmentalMechanical Dimensions Physical DimensionsStandard Module External Antennae BISM2 Module without antenna special orderBISM1 Compatible Module special order Ordering Information LabellingDifferences from previous modules Related DocumentsDisclaimers Warranty Data Sheet Status