Download Accessing RFCOMM Using RFCLI and TCL Application
Transcript
Contents 6.7.7 Change Local Name Message ................................................................................................... 59 6.7.8 Load Packet in Transmit Buffer .................................................................................................. 60 7 Document References ................................................................................................................................. 61 Appendix A RFCLI Section 5 Example Script Source Files....................................................................... 62 Appendix B RFCLI Section 6 Example Script Source Files....................................................................... 64 Acronyms and Definitions.................................................................................................................................. 75 Record of Changes ............................................................................................................................................. 77 Figure 1.1: Bluetooth Protocol Stack....................................................................................................................... 4 Figure 2.1: Type 1 and Type 2 RFCOMM Devices ................................................................................................. 5 Figure 2.2: Bluetooth Profiles .................................................................................................................................. 7 Figure 2.3: Null Modem Pin Out .............................................................................................................................. 8 Figure 2.4: Format of the Address Field.................................................................................................................. 8 Figure 2.5: Multiplexor and Server Channels .......................................................................................................... 9 Figure 2.6: Multiple Emulated Serial Ports Between Two Bluetooth Devices.......................................................... 9 Figure 2.7: Multiple Emulated Serial Ports with Multiple Multiplexor Sessions...................................................... 10 Figure 2.8: RFCOMM Service Definition Model .................................................................................................... 10 Figure 3.1: Credit Based Flow Control Negotiations ............................................................................................. 12 Figure 3.2: Updating Flow Control Credits ............................................................................................................ 14 Figure 3.3: Flow Control Layer .............................................................................................................................. 16 Figure 5.1: RFCOMM Channel Set Up Between Local and Remote Bluetooth Device........................................ 21 Figure 5.2: System Set Up with Configuration One and Configuration Two.......................................................... 22 Figure 5.3: Message Sequence Chart For RFCOMM Data Link Set Up Between Two BlueCore Devices ........... 24 Figure 5.4: Message Sequence Chart to Place Remote Device in Listening Mode .............................................. 27 Figure 6.1: Set Up for Example ............................................................................................................................. 41 Figure 6.2: Initialisation of RFCOMM Layer .......................................................................................................... 42 Figure 6.3: Initialisation of the RFCOMM Layer of The Remote Device................................................................ 46 Figure 6.4: Main Control Loop............................................................................................................................... 49 List of Tables Table 2.1: RS-232 Circuits Emulated by RFCOMM ................................................................................................ 6 Table 2.2: ETSI GSM Specification Serial Port Control Signals .............................................................................. 7 Table 5.1: RFCOMM Packets Extracted from Over Air Sniifer .............................................................................. 38 Table 6.1: Main Control Loop State Transitions .................................................................................................... 50 bcore-an-006Pa © Copyright CSR 2002 This material is subject to CSR’s non-disclosure agreement. Page 3 of 77 _äìÉ`çêÉ Accessing RFCOMM Using RFCLI and TCL List of Figures