PAN1322Application Note 35 Revision 1.2, 2013-12-18Design Guide2 1 2 0 Pass key is shown on phone. Bonding is accepted by pass key input on eUniStone2 1 2 1 Pass key is shown by both eUniStone and phone. Bonding is accepted on both eUniStoneand phone.1) Inside an App the bonding and connection setup might not be possible with input, output set to 0, 0or 1, 0. The reason for that is that the App is requesting a “secure RFCOMM socket” with man-in-the-middle protection. To be able to use the input, output combinations 0, 0 and 1, 0 on eUniStone theApp should request an “insecure RFCOMM socket”.When doing Secure Simple Pairing a bonding procedure is performed and link keys are made betweenthe two devices. Next time the devices connect, the connecting procedure will be easier and quicker,since there are already valid link keys to be use by the two devices (Smart Phone and eUniStone).With the above information and other supporting references it should be possible to in a fast andsecure manner develop a Bluetooth accessory, using eUniStone, and thus being compatible withAndroid Smart Phone application.5.2.1.3 Android market and Developing Apps for Android Smart PhonesTo publish or download Android Apps the following sites are normally used.https://play.google.com/store and https://play.google.com/apps/publish. However, it is possible todownload Android Apps directly from other sources as well.Developing applications for Android phones can be done using e.g. Eclipse [11]. Information on howto download and install the Android SDK is found on http://developer.android.com. The mainprograming language used is Java, C and C++ can also be used. This chapter describes the mostcommon classes and methods for settings up and managing a Bluetooth connection in Android. Moreabout Android App development is available in the Demo Specification [15].5.2.2 Windows phoneDeveloping Accessories supporting Bluetooth communication for Windows Phone Apps resembles verymuch with the Android compatibility procedures. However, the random UUID concept is not used andinformation and examples are available but rare in this community yet.5.2.2.1 Registering service for Windows PhoneWindows phone will require that the UUID contains the Serial Port Profile to connect with Accessories(eUniStone). Either the short 0x1101 or the long 0x0000110100001000800000805F9B34FB. Registering the short: AT+JRLS=04,11,1101,Serial port,01,240704 Registering the long: AT+JRLS=32,11,0000110100001000800000805F9B34FB,Serialport,01,240704