微波EDA网,见证研发工程师的成长!
首页 > 射频和无线通信 > 射频无线通信文库 > Bluetooth to 1-Wire communication using the DS9097U

Bluetooth to 1-Wire communication using the DS9097U

时间:02-28 来源:互联网 点击:

    1. ry from 60 seconds to infinity. The adapter responds with AOK>.
    2. To launch, the newly created HyperTerminal connection can be found at: Start Programs Accessories Communications HyperTerminal BlueSnap.ht.
    3. The device is now configured to stay in discovery mode once power is applied without any timeout.

    Windows Mobile pairing procedure

    1. Use the Connection Wizard to search for the BlueSnap Bluetooth adapter.



    2. Select the BlueSnap device.



    3. Select the SPP service.



    4. Enter the device pin number (0000 or 1234) and press the green checkmark.



    5. When prompted to register a Bluetooth serial port, select Yes.



    6. Select Bluetooth serial-port name BTS from the Name dropdown box. Input an index number of zero. The index is similar to a COM port. Press the green check to accept changes. If an index number other than zero is used, the example code will need this portion of code modified in order to open the appropriate port.



    7. The Bluetooth Manager confirms that the port successfully registered.



    8. The available COM ports are listed in the manager.



    9. The BlueSnap adapter has successfully paired. Upon opening the BTS0 port, a connection between the mobile device and the BlueSnap device is established.

    Windows application

    Because the BlueSnap adapter cannot toggle the RTS and DTR lines, the OneWireLinkLayer.dll is not used in this example. Instead, the DS9097U 1-Wire COM Port Adapter (see Figure 1) is accessed directly with serial commands.

    Download (ZIP) the sample project. Figure 2 shows the application running on a Windows Mobile device. The project contains a simple class with calls to commonly-used functions (including Search ROM).


    Figure 2. Application running on Windows Mobile.

Copyright © 2017-2020 微波EDA网 版权所有

网站地图

Top