we are designing a two way communication interface which will be using bluetooth for communication between a server and mobile devices in proximity. we will send a jar file to mobile from our server using OBEX and then the user will select some option and we want to get that option on server so that we can send the desired output to the user . we want only that flgs value which user has selected and we think that it is possible by rfcomm client and server but we are not able to do it.