Examples of HCIDriver


Examples of org.javabluetooth.stack.hci.HCIDriver

/** @author Christian Lorenz */
public class BluetoothServer {
    public static final void main(String[] args) throws Exception {
        HCIDriver.init(new UARTTransport("serial0"));
        HCIDriver hciDriver = HCIDriver.getHCIDriver();
        hciDriver.send_HCI_HC_Reset();
        //SDPServer sddb = SDPServer.getSDPServer(); 
        //byte[] dummyHandle={(byte) 0x00,(byte) 0x01,(byte)0x00,(byte)0x00};
        //UUID browseUUID=new UUID(0x1002);
        //UUID socketUUID=new UUID(0x1101);
        //sddb.registerServiceHandle(browseUUID,dummyHandle);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.