bluetooth.send_HCI_HC_Change_Local_Name("TINI BLUE");
bluetooth.send_HCI_HC_Write_Scan_Enable((byte)0x03);
bluetooth.send_HCI_HC_Write_Event_Filter_Connection_Setup((byte)0x02);
bluetooth.send_HCI_HC_Write_Event_Filter_Inquiry_Result();
SDPServer sddb = SDPServer.getSDPServer();
LocalDevice localDev = LocalDevice.getLocalDevice();
//System.out.println("Local Bluetooth Name is "+localDev.getFriendlyName());
//System.out.println("IAC is "+localDev.getDiscoverable());
//System.out.println("set Discoverable "+localDev.setDiscoverable(DiscoveryAgent.GIAC));
//System.out.println("IAC is "+localDev.getDiscoverable());
DiscoveryAgent discovery = localDev.getDiscoveryAgent();
System.out.println("Inquiry:" + discovery.startInquiry(DiscoveryAgent.GIAC, this));
}