-
Notifications
You must be signed in to change notification settings - Fork 161
Description
Currently I am implementing voice talk using bluetooth mesh network based on batphone.
For bluetooth mesh network I made it.
This is my code.
server = ServalD.getServer(null, this);
server.start();
But serer.start() crashes.
This is logcat
07-11 22:14:15.185 3981-4035/com.example.lcs.bluetoothmeshchat E/AndroidRuntime: FATAL EXCEPTION: Servald
Process: com.example.lcs.bluetoothmeshchat, PID: 3981
java.lang.IllegalStateException: Failed to bind sockets
at org.servalproject.servaldna.ServalDCommand.server(Native Method)
at org.servalproject.servald.ServalD$4.run(ServalD.java:368)
at java.lang.Thread.run(Thread.java:776)
ServalDCommand.server(ServalD.this, "", null);
I think there is a problem in there.
But this method calls native method server(IJniServer callback, String keyringPin, String[] entryPins)
So Now I can not know reason.
Looking forward to your reply
Thanks