JSR-82 Sample : SPP Server and Client

This article will teach you how to develop bluetooth server and client application and communicate each other using it. We will learn how to develop an SPP Server and an SPP client using JSR 82 API.

SPP Server

Any Java Bluetooth service initialization consists of the following steps

  • Constructing the connection URL.
  • The connection URL consists of the protocol identifier, the UUID of the the service, and other optional attributes. Since we are creating an SPP service, the protocol identifier will be "btspp". The UUID for the SPP service is defined to be 1101. This step is realized by the following code

    1. //Create a UUID for SPP
    2. UUID uuid = new UUID("1101", true);
    3. //Create the servicve url
    4. String connectionString = "btspp://localhost:" + uuid +";name=Sample SPP Server";

  • Registering service and Waiting for Client connection.
  • The next step is to register for the service and to wait for client connection. This step is achieved by the following codes

    1. //open server url
    2. StreamConnectionNotifier streamConnNotifier = (StreamConnectionNotifier)Connector.open( connectionString );
    3. //Wait for client connection
    4. StreamConnection connection=streamConnNotifier.acceptAndOpen ();

    The acceptAndOpen method waits until a client is connected.

  • Communicate with the client
  • Once a client is connected, use the returned 'Connection' object to open the input and output streams with the client. Now we have a stream connection with a remote bluetooth device, that can be used to develop your application.

SPP Client

Writing a client in JSR 82 is very easy. It consists of the following steps

  • Finding the connection URL to the service.
  • If you already knew the direct url to the server, this step can be skipped. This consist of searching for a service, and getting its connection URL. More details about this can be learned from the article about bluetooth service search

  • Connect to server
  • Once we know the connection url, simply connect with the server using the "Connector.open" and open the input/output streams from the created 'Connection' object. The rest is up to your logic to build your applpication based on this connection

    The complete code for a simple SPP Server that accepts an SPP connection and reads a single line and writes a single line back is given below. The source code for an SPP client that connects with the server and sends a single line is also given. For this sample to work, you need a JSR-82 Implmentation (Java Bluetooth Stack) like ElectricBlue in the class path

SPP Server Source Code

  1. import java.io.BufferedReader;
  2. import java.io.IOException;
  3. import java.io.InputStream;
  4. import java.io.InputStreamReader;
  5. import java.io.OutputStream;
  6. import java.io.OutputStreamWriter;
  7. import java.io.PrintWriter;
  9. import javax.bluetooth.*;
  10. import javax.microedition.io.*;
  12. /**
  13. * Class that implements an SPP Server which accepts single line of
  14. * message from an SPP client and sends a single line of response to the client.
  15. */
  16. public class SampleSPPServer {
  18.     //start server
  19.     private void startServer() throws IOException{
  21.         //Create a UUID for SPP
  22.         UUID uuid = new UUID("1101", true);
  23.         //Create the servicve url
  24.         String connectionString = "btspp://localhost:" + uuid +";name=Sample SPP Server";
  26.         //open server url
  27.         StreamConnectionNotifier streamConnNotifier = (StreamConnectionNotifier)Connector.open( connectionString );
  29.         //Wait for client connection
  30.         System.out.println("\nServer Started. Waiting for clients to connect...");
  31.         StreamConnection connection=streamConnNotifier.acceptAndOpen();
  33.         RemoteDevice dev = RemoteDevice.getRemoteDevice(connection);
  34.         System.out.println("Remote device address: "+dev.getBluetoothAddress());
  35.         System.out.println("Remote device name: "+dev.getFriendlyName(true));
  37.         //read string from spp client
  38.         InputStream inStream=connection.openInputStream();
  39.         BufferedReader bReader=new BufferedReader(new InputStreamReader(inStream));
  40.         String lineRead=bReader.readLine();
  41.         System.out.println(lineRead);
  43.         //send response to spp client
  44.         OutputStream outStream=connection.openOutputStream();
  45.         PrintWriter pWriter=new PrintWriter(new OutputStreamWriter(outStream));
  46.         pWriter.write("Response String from SPP Server\r\n");
  47.         pWriter.flush();
  49.         pWriter.close();
  50.         streamConnNotifier.close();
  52.     }
  55.     public static void main(String[] args) throws IOException {
  57.         //display local device address and name
  58.         LocalDevice localDevice = LocalDevice.getLocalDevice();
  59.         System.out.println("Address: "+localDevice.getBluetoothAddress());
  60.         System.out.println("Name: "+localDevice.getFriendlyName());
  62.         SampleSPPServer sampleSPPServer=new SampleSPPServer();
  63.         sampleSPPServer.startServer();
  65.     }
  66. }

SPP Client Source Code

  1. import java.io.BufferedReader;
  2. import java.io.IOException;
  3. import java.io.InputStream;
  4. import java.io.InputStreamReader;
  5. import java.io.OutputStream;
  6. import java.io.OutputStreamWriter;
  7. import java.io.PrintWriter;
  8. import java.util.Vector;
  10. import javax.bluetooth.DeviceClass;
  11. import javax.bluetooth.DiscoveryAgent;
  12. import javax.bluetooth.DiscoveryListener;
  13. import javax.bluetooth.LocalDevice;
  14. import javax.bluetooth.RemoteDevice;
  15. import javax.bluetooth.ServiceRecord;
  16. import javax.bluetooth.UUID;
  17. import javax.microedition.io.Connector;
  18. import javax.microedition.io.StreamConnection;
  20. /**
  21. * A simple SPP client that connects with an SPP server
  22. */
  23. public class SampleSPPClient implements DiscoveryListener{
  25.     //object used for waiting
  26.     private static Object lock=new Object();
  28.     //vector containing the devices discovered
  29.     private static Vector vecDevices=new Vector();
  31.     private static String connectionURL=null;
  33.     public static void main(String[] args) throws IOException {
  35.         SampleSPPClient client=new SampleSPPClient();
  37.         //display local device address and name
  38.         LocalDevice localDevice = LocalDevice.getLocalDevice();
  39.         System.out.println("Address: "+localDevice.getBluetoothAddress());
  40.         System.out.println("Name: "+localDevice.getFriendlyName());
  42.         //find devices
  43.         DiscoveryAgent agent = localDevice.getDiscoveryAgent();
  45.         System.out.println("Starting device inquiry...");
  46.         agent.startInquiry(DiscoveryAgent.GIAC, client);
  48.         try {
  49.             synchronized(lock){
  50.                 lock.wait();
  51.             }
  52.         }
  53.         catch (InterruptedException e) {
  54.             e.printStackTrace();
  55.         }
  58.         System.out.println("Device Inquiry Completed. ");
  60.         //print all devices in vecDevices
  61.         int deviceCount=vecDevices.size();
  63.         if(deviceCount <= 0){
  64.             System.out.println("No Devices Found .");
  65.             System.exit(0);
  66.         }
  67.         else{
  68.             //print bluetooth device addresses and names in the format [ No. address (name) ]
  69.             System.out.println("Bluetooth Devices: ");
  70.             for (int i = 0; i <deviceCount; i++) {
  71.                 RemoteDevice remoteDevice=(RemoteDevice)vecDevices.elementAt(i);
  72.                 System.out.println((i+1)+". "+remoteDevice.getBluetoothAddress()+" ("+remoteDevice.getFriendlyName(true)+")");
  73.             }
  74.         }
  76.         System.out.print("Choose Device index: ");
  77.         BufferedReader bReader=new BufferedReader(new InputStreamReader(System.in));
  79.         String chosenIndex=bReader.readLine();
  80.         int index=Integer.parseInt(chosenIndex.trim());
  82.         //check for spp service
  83.         RemoteDevice remoteDevice=(RemoteDevice)vecDevices.elementAt(index-1);
  84.         UUID[] uuidSet = new UUID[1];
  85.         uuidSet[0]=new UUID("1101",false);
  87.         System.out.println("\nSearching for service...");
  88.         agent.searchServices(null,uuidSet,remoteDevice,client);
  90.         try {
  91.             synchronized(lock){
  92.                 lock.wait();
  93.             }
  94.         }
  95.         catch (InterruptedException e) {
  96.             e.printStackTrace();
  97.         }
  99.         if(connectionURL==null){
  100.             System.out.println("Device does not support Simple SPP Service.");
  101.             System.exit(0);
  102.         }
  104.         //connect to the server and send a line of text
  105.         StreamConnection streamConnection=(StreamConnection)Connector.open(connectionURL);
  107.         //send string
  108.         OutputStream outStream=streamConnection.openOutputStream();
  109.         PrintWriter pWriter=new PrintWriter(new OutputStreamWriter(outStream));
  110.         pWriter.write("Test String from SPP Client\r\n");
  111.         pWriter.flush();
  114.         //read response
  115.         InputStream inStream=streamConnection.openInputStream();
  116.         BufferedReader bReader2=new BufferedReader(new InputStreamReader(inStream));
  117.         String lineRead=bReader2.readLine();
  118.         System.out.println(lineRead);
  121.     }//main
  123.     //methods of DiscoveryListener
  124.     public void deviceDiscovered(RemoteDevice btDevice, DeviceClass cod) {
  125.         //add the device to the vector
  126.         if(!vecDevices.contains(btDevice)){
  127.             vecDevices.addElement(btDevice);
  128.         }
  129.     }
  131.     //implement this method since services are not being discovered
  132.     public void servicesDiscovered(int transID, ServiceRecord[] servRecord) {
  133.         if(servRecord!=null && servRecord.length>0){
  134.             connectionURL=servRecord[0].getConnectionURL(0,false);
  135.         }
  136.         synchronized(lock){
  137.             lock.notify();
  138.         }
  139.     }
  141.     //implement this method since services are not being discovered
  142.     public void serviceSearchCompleted(int transID, int respCode) {
  143.         synchronized(lock){
  144.             lock.notify();
  145.         }
  146.     }
  149.     public void inquiryCompleted(int discType) {
  150.         synchronized(lock){
  151.             lock.notify();
  152.         }
  154.     }//end method
  158. }

AddThis Social Bookmark Button AddThis Feed Button

59 Responses to “JSR-82 Sample : SPP Server and Client”

  1. BooH Says:

    I tryied it on netbeans, it says it cannot find BufferedReader and PrintWriter....
    Do I have to add any library or jar file??

  2. Bruse Says:

    Yes, the sample shows a JavaSE code as an example. Just remove/replace those codes that reads the input from the user (PrintWriter/BufferedReader), and the code will work with J2ME

  3. Yoni Says:

    Is it a problem to develop the server so it support multi clients?
    (to make each connection in different thread)

  4. Lee Says:

    I got an exception when I run the code of server, Exception Occured:javax.bluetooth.BluetoothStateException
    It seems that it does not find the bluetooth device on my laptop, what kind of this problem? Actually My laptop is built with bluetooth chip.

  5. Piki Says:

    I'm not too comfortable with line 133 of the client (condition of the if statement). Because:
    1.) servRecord can never be null
    2.) if servRecord were ever null, the servRecord.length would cause a NullPointerException

    Please fix. Bye.

  6. Piki Says:

    Oh, and by the way, your web site help me very much in my project. Thanks ;)

  7. david Says:

    i am trying to create a aplication so that i can send images and text from my pc to cell phones, so i have to use my pc as a client for cell phone services?can i use the client you wrote here in my pc?

  8. zyberas Says:

    anyone can tell me more about this code. it can connection between pc(server) to pc (client).
    i want to sent text message from pc to another pc.this code can use for my purpose?

  9. Alice Says:

    I want comlete this code for chating to person with each other ..can you complete the code for me if i want to put some method in this code for runing this code ??

  10. Henrik Says:

    "Just remove/replace those codes that reads the input from the user (PrintWriter/BufferedReader), and the code will work with J2ME"

    What do you replace them with? Can you give a bit more detail please? I'm new to Java J2ME

  11. Vineet Billorey Says:

    Can any one tell me how I can test this example code in WTK 2.5.2? Thanks in advance.

  12. alex Says:

    BY what kind of methods can we replace PrintWriter/BufferedReader
    with J2ME???

  13. anas Says:

    hello.. i want to develop mobile learning using bluetooth connection.. mobile phone-clients and laptop-server.. what type interfaces that i must use in client site and server site?? can i know??

  14. nexus Says:

    I'm running the client and server code that you posted but I have this two problems:

    1)Neither of the two programms will terminate they keep on running

    2)The server prints null as for the friendly device name
    -Remote device name: null

    I'm using blueSim for both client and server

    Also for the client to run I had to change: uuidSet[0]=new UUID("1101",false);

    to true otherwise I get:
    Searching for service...
    Device does not support Simple SPP Service.


  15. Anonymous Says:

    so how are we supposed to remove the (PrintWriter/BufferedReader) so that the code still works? what do we replace it with?

  16. Poc Says:

    I´ve tray it but when I start the client always say that the dispositive does not support SPP I saw that is bcause the string connectionURL is always on NULL could somebody tellme how to fix this ???

  17. Mark Says:

    does this work?

  18. Mark Says:

    Client works fine, however in order to connect to the Server what will i make the connectionURL?

    Because at the moment the Server just waits for an incoming connection.

  19. bnm Says:

    please write about communicating over bluetooth between HP-PC and otherwise. send text,image or sound. i'm waiting your release.. ;-)

  20. Emanuel Says:

    Is it possible get more than one client connected to the server?

  21. Lola Says:

    Excuse me ,How can I add the:


  22. mxyzptlk2063 Says:


    can someone provide me with help? I'm trying to implement a simple app like in the example, but at the line:

    StreamConnectionNotifier streamConnNotifier = (StreamConnectionNotifier)Connector.open( connectionString );

    I'm getting an exception:

    Exception in thread "main" java.lang.UnsatisfiedLinkError: com.sun.midp.Configuration.getProperty0(Ljava/lang/String;)Ljava/lang/String;
    at com.sun.midp.Configuration.getProperty0(Native Method)
    at com.sun.midp.Configuration.getProperty(Configuration.java:34)
    at com.sun.midp.io.InternalConnector.(InternalConnector.java:91)
    at javax.microedition.io.Connector.open(Connector.java:158)
    at javax.microedition.io.Connector.open(Connector.java:138)
    at javax.microedition.io.Connector.open(Connector.java:120)
    at darkblueremoteserver.Server.run(Server.java:27)
    at java.lang.Thread.run(Unknown Source)
    at darkblueremoteserver.Main.main(Main.java:22)

    My environment:

    OS: Windows XP SP2
    Java: jdk1.6.0_02
    IDE: NetBeans 6.0.1

    From WTK22 "lib" and "wtklib" folders, the following JARs are added to my project's compile and run time:


  23. Gage Says:

    I am running this program on two laptops. The server on one, and the client on the other. I run the server, and it says waiting for incoming connections. Then, I run the client, it shows the bluetooth devices, and asks me to select an index. I choose the laptop that has the server running, and then it says "Device does not support Simple SPP Service". I don't understand because I didn't change anything in the code, so why is it not working?

  24. b0c1 Says:

    I want to create a simple app, All app client and server on same time. (One thread create a server and waiting the client, and another try to find servers). I this case in the emulator work correctly but in two SE v640i no (the inquiry not found the devices etc...). How can I solve this problem?

  25. Nazrul Amin Says:

    Hello mate

    I am trying to run your codes on J2SE but i am getting a problem on line 84 of the client code (uuidSet[0]=new UUID("1101",false);) i keep getting the following exception when i select a device index heres the output:

    --------------------Configuration: --------------------
    avetanaBluetooth version 1.3.18a
    Address: 000B0D09F952
    Starting device inquiry...
    Device Inquiry Completed.
    Bluetooth Devices:
    1. 00066E1005E4 (COMPUTER)
    2. 0017E871DD39 (saddaf)
    3. 001E3A1E9FE3 (Fazza)
    4. 0022FCB36728 (Nazruls phone)
    Choose Device index: 4
    index is = 4
    Got to line 84 [Ljavax.bluetooth.UUID;@1ccb029
    Exception in thread "main" java.lang.IllegalArgumentException: A 128-bits UUID must be a 32 character long String!!
    at javax.bluetooth.UUID.(UUID.java:170)
    at SampleSPPClient.main(SampleSPPClient.java:85)
    Local Name NAZLAPTOP
    Local Address 00:0B:0D:09:F9:52
    Local Device class 20104
    Valid until 05.01.2009
    LicenseID 9694
    Possibilities 3f

    Process completed.

    Can you please help me with this.



  26. basant Says:

    hi all,

    i tried similar code.when i run client and server on emulator then it runs fine...
    but when i run server on emulator and client on a nokia 7610, it does not work...please help me out...

    thanks in advance

  27. jose Says:

    Hello, how can I connect multiples client to server?

  28. jerome Says:


    I already edited my localDevice attribute value for 0x0100... as...

    record.setAttributeValue(0x0101, new DataElement(DataElement.STRING, attributeValue));

    but I cannot retrieve this values from a remotedevice... how can I retrieve it?


  29. alibi Says:

    how to run this code?

  30. alibi Says:

    I mean the client code

  31. snc_dev Says:

    I think there is a mistake in client code example. Replace "false" with "true" in line 85. Now Client and Server have the same UUID, so they are able to connect.

    But thank you a lot for publishing this code. It was the most helpful example I have found.

  32. Adham Says:

    I am also running this program on two laptops as Gage. The server on one, and the client on the other. I run the server, and it says waiting for incoming connections. Then, I run the client, it shows the bluetooth devices, and asks me to select an index. I choose the laptop that has the server running, and then it says "Device does not support Simple SPP Service". I don't understand because I didn't change anything in the code, so why is it not working?

    I also want to ask about the required environment for this code to work in such a perfect way!!

  33. cookdav Says:

    Gage: (23rd post):

    Yes, I get exactly the same

    My suspicion is that the 'localhost:' that is part of the server's URL might be a problem, since that seems to imply that we're only gonna allow connections from
    the local-machine.

    Not yet sure what the fix for that would be: e.g. just remove that?

    Does anyone have it working
    between two separate PCs?

  34. ravi Says:

    Same error as 23rd and 32rd post.
    @cookdav:'localhost' cannot be the problem because it is needed to identify the service as a host.Without it, it would become a client service.

    However, i doubt whether the service is successfully getting registered in the server.The following modification in the client fails to discover the above mentioned service in the server:

    line 131:
    //implement this method since services are not being discovered
    public void servicesDiscovered(int transID, ServiceRecord[] servRecord) {
    if(servRecord!=null && servRecord.length>0){
    for(int i=0;i<servRecord.length;i++){

  35. kristoffer Says:

    anyone made this multithreaded to connect to multiple mobiles?

  36. Udi Says:

    The client code always selects the first service to connect to:

    However - what should I do if I have two spp services? I'm using Motorola i876 and I have two spp services and I must select one of them.

    I thought that the connectionUrl found in the client will be the same as published by the server, but they are completely different. In particular, there is no "Sample SPP Server" name in the connection string.

    What should I do?

  37. Douglas Says:

    Im developing a apps for communicate with a Bluetooth Module, i dont know how to get connect with him, because i cant programm the module with Java, the apps is for a cellphone. Any Help???

  38. Veena Says:

    Thank u so much for publishing this code, it was very much useful to me.

    To this I have implemented Thread to get multiple request. But, for java client it is working fine.
    But I am facing problem in Window Mobile. If i increase thread.sleep(5000), it is working fine.
    Can anyone please tell, where the issue is.


  39. Sudha Says:

    hi all

    Is there is any need to make thread.sleep(4000) after sending response to client or flushing the stream.

    For Windows client if i implement the thread.sleep(4000) after sending response, application is working but not working for Java Client.

    If i remove thread.sleep, application running fine in java client.

    Please help me


    System.out.println("After send to Client -->" + slimResponse.trim());



  40. PUCH Says:

    line 85 uuidSet[0]=new UUID("1101",false);


    uuidSet[0]=new UUID(0x1101);

  41. emem Says:

    hi all,
    im trying to run the code ..but as i found that it does not work in j2me.. how to make it work?

    can anyone help me? what to replace . I was trying to trace the reply for this but no one had replied to...


    "Just remove/replace those codes that reads the input from the user (PrintWriter/BufferedReader), and the code will work with J2ME"

  42. Rustam Says:

    Hello! Can you help me with making connection between a PC (with J2SE) and a mobile phone (with J2ME)?
    I can't understand how the method getLocalDevice works (it always causes an exception on PC). Would be great if you explained me how to work with PC's bluetooth adapter, because it's turned on, but getLocalDevice still do not work

  43. jonathan Says:

    For those whoc cannot run correctly the client ( Device doesn't support Simple SPP Service), change uudiSet[0] to uuidSet[0]= new UUID("1101",true) (mistake if not) and if it still doesn't work, add this line:
    int[] attrSet={0x1101};
    and when call for agent.searchServices, replace the first arg "null" to attrSet mentioned above.

  44. Naveed Says:

    Hye I am working on a project which requires me reading a sensor data from a bluetooth chip embedded with it. So should I use Serial Port profile and how do I find out UUID of the connection. Please help urgently required! Is it necessary to use a client server configuration?

  45. chie Says:

    ahmm i just want to ask if any one here know how to connect bluetooth server to My document..plz pm me..

  46. Siddiqi Says:

    plz help me
    my code is given below. and i am stuck at that point to search the services of a bluetooth device.
    i dont know y it is going fail to search the services.
    here is my code and after this u can see the console output

    try {



    } catch (BluetoothStateException e) {}

    Console out put



    RemoteDevice[address=0000000DECAF, name=null, encrypted=false, authenticated=false]


    at com.sun.kvem.jsr082.bluetooth.DataL2CAPReaderWriter.(+41)

    at com.sun.kvem.jsr082.bluetooth.SDPClient$SDPTransport.start(+100)

    at com.sun.kvem.jsr082.bluetooth.SDPClient.openTransport(+94)

    at com.sun.kvem.jsr082.bluetooth.SDPClient.open(+41)

    at com.sun.kvem.jsr082.bluetooth.SDPClient.(+9)

    at com.sun.kvem.jsr082.bluetooth.ServiceSearcher.start(+110)

    at com.sun.kvem.jsr082.bluetooth.DiscoveryAgentImpl.searchServices(+19)

    at javax.bluetooth.DiscoveryAgent.searchServices(+12)

    at YourMIDlet.doServiceSearch(+72)

    at YourMIDlet.deviceDiscovered(+61)

    at com.sun.kvem.jsr082.impl.bluetooth.BTDeviceDiscoverer.run(+268)

    Inquiry Completed

  47. Tosin Says:

    Pls if I want to send multiple messages between the server and Client, how do I do that.


  48. ahmed Says:

    I modify this code so i can chat between client and server , but they can exchange messages for one time only i don't know why ?? any one can help please

  49. ahmed Says:

    Pls if I want to send multiple messages between the server and Client, how do I do that.

    (now just i can send a single message between client and server)

  50. mm Says:

    when i run this code i got error in PrintWriter and BufferedWriter it shows-it can not be resolved to a type.

    Now what can ido to remove this error??java.io.PrintWriter and java.io.BufferedReader are not present in java.io.Plz solve my problem as it is my project.
    Thanking you.

  51. mm Says:

    i tried this code in j2me but get errors: bufferedreader and printwriter can not be resolved to a type. how can i solve this problem?plz help me .

  52. ram kapoor Says:

    plz tell me how to send image from server to client??through bluetooth??

  53. Meko Says:

    hi I want to create app that it will use Mylaptop bluetooh and it will search the others like pohnes and other laptops bluetooth mac addresses.is this project works only on J2ME ? cant i run it on my computer as a API?

  54. protectedmember Says:


    I have been sat at my desk for almost 4 hours trying to solve the NullPointerException problem when searching for services. I was *just* about to give up when I tried changing the platform (emulator) that was executing my code. I am using NetBeans 6.7.1 and was originally using the "Default colour phone" platform. I switched to the "Qwerty device" platform and the issue was instantly resolved. I know the posts on here are somewhat old but there's such a lack of information regarding JSR-82 on the net I thought I'd do my part.

    Happy coding everyone :)

  55. gabriele Says:

    hi to all, how can I set a path for ElectricBlue?

    my project give me this error:
    Include ElectricBlue library in the path at com.jsrsoft.eb.nw.NW.

  56. wipo Says:

    I have a problem that after sending the text from the client to an other device (line 111 in the client code) the program crashed with the error:
    Invalid memory access of location 0x5fbfd41c rip=0x11454803a
    Java Result: 139

    The text has been transmitted correctly to the other device.

    OS: Mac OSX 10.6.2
    Java: 1.6.0_17
    IDE: Netbeans 6.8

    Has anybody else seen this issue or know of a workaround?


  57. Rajesh Parmar Says:

    is his possible to to make a pair of two client???

    one client is pc(J2SE) and another Client is mobile(J2ME)....
    Both will Connect with Each Other...
    Is this Possible????

    Rajesh Parmar

  58. senthil Says:

    hi.. i tried this code server client where not connect? i'm using bluetooth dongle for connection? client could not detect server? please help me?

  59. mido Says:

    I ve just changed UUID("1101",false)to UUID("1101",true) and then it works for me very well :)

Leave a Comment