I am using the Atinav stack to host a RFCOMM server. I encountered problems because the JVM says the stack is not initialized. The solution in not in the BCC class and methods such as setPort() or setBaudRate(), which are in it, like some of the web sites suggest.
These methods are depricated in the newer version of the class and one is supposed to use bcc.properties to set the properties instead. However i find that even if i dont include the file in my class path it makes no difference.
This was not the case when i hosted an OBEX service. If i didnt include the classpath to the bcc.properties file the JVM complained. So how am i supposed to initialize the stack for RFCOMM services if bcc.properties is not the way to go about it ? Have any of you tried this out ?
The Avetana stack on the other hand looks like its hosting this service but no phone is able to detect the service. Please help.