.parent = "Camera",
.apptype = TBT_APP_CAMERA_CAPTURE,
.icon_name = "dummy",
- .info = "Capture and show image from camera",
+ .info = "1. Press <b>Capture</b> to capture a picture.<br/>"
+ "2. Check the captured picture which is shown automatically.",
.result = 0,
.required_features_count = 1,
.features_required = { 0 }
.apptype = TBT_APP_CAMERA_RECORD,
.icon_name = "dummy",
.file_name = "video/sampleMPEG4.mp4",
- .info = "Record and play<br/> a video",
+ .info = "1. Press <b>Record</b> button to record the video.<br/>"
+ "2. Press <b>Stop</b> to stop the recording.<br/>"
+ "3. Check the recorded video clip which is shown automatically.",
.result = 0,
.required_features_count = 1,
.features_required = {0 }
.parent = "Camera",
.apptype = TBT_APP_CAMERA_FACE_DETECT,
.icon_name = "dummy",
- .info = "Detect face from<br/> camera preview",
+ .info = "1. Camera preview starts automatically.<br/>"
+ "2. camera can detect face and “zoom in” and “zoom out” is performed automatically",
.result = 0,
.required_features_count = 2,
.features_required = {0, 3}
.parent = "Camera",
.apptype = TBT_APP_CAMERA_HDR_CAPTURE,
.icon_name = "dummy",
- .info = "Capture HDR image and<br/> show from Camera",
+ .info = "1. Press <b>Capture</b> to capture a picture.<br/>"
+ "2. Check the captured picture which is shown automatically.",
.result = 0,
.required_features_count = 2,
.features_required = {0, 3}
.apptype = TBT_APP_SOUND_AUDIO,
.icon_name = "dummy",
.file_name = "sounds/SampleMP3.mp3",
- .info = "Play mp3 audio file",
+ .info = "1. Press <b>Play</b> to start music.<br/>"
+ "2. Check the sound output to the speaker.<br/>"
+ "3. Press <b>Stop</b> to stop the music.<br/>"
+ "4. Press <b>Pause</b> to pause the music",
.result = 0
},
#endif
.apptype = TBT_APP_SOUND_VOLUME,
.icon_name = "dummy",
.file_name = "sounds/SampleMP3.mp3",
- .info = "Play mp3 audio file and change volume",
+ .info = "1. Press <b>Play</b> to start music.<br/>"
+ "2. Check the sound output to the speaker.<br/>"
+ "3. Press <b>Stop</b> to stop the music.<br/>"
+ "4. Press <b>Pause</b> to pause the music"
+ "5. Slide the <b>Slider</b> to change the volume level.",
.result = 0
},
#endif
.parent = "GPS",
.apptype = TBT_APP_GPS_GPS,
.icon_name = "dummy",
- .info = "Show GPS coordinate data",
+ .info = "Shows GPS coordinate data",
.result = 0,
.required_features_count = 1,
.features_required = {11}
#endif
#endif
-
#ifdef TBT_MODULE_BLE
#ifdef TBT_MODULE_BLE_GATT_CLIENT
//Bluetooth LE Gatt Client
.parent = "Bluetooth LE",
.apptype = TBT_APP_BLE_GATT_CLIENT,
.icon_name = "dummy",
- .info = "Bluetooth LE Gatt Cleint",
+ .info = "1. Press Discover Button to Start discovering Gatt Server.<br/>"
+ "2. Select Gatt server ID from discovered list to connect it.<br/>"
+ "3. After successfully connected, two services <b>Link loss service</b> and <b>Battery service</b> will be shown.<br/>"
+ "4. select Link loss service, a characteristic will be shown<br/>"
+ "5. select characteristic, then press <b>Read</b> button. Get value will be shown and Read request will be shown in <b>Gatt Server</b> end.<br/>"
+ "6. Press <b>Write</b> button, value written to Gatt Server and it will be shown there.<br/>"
+ "7. Press hardware back button, services list will be shown again<br/>"
+ "8. Select <b>Battery service</b>, a characteristic will be shown<br/>"
+ "9. Select characteristic, then press <b>Read</b> button. Get value will be shown and Read request will be shown in <b>Gatt Server</b> end.<br/>"
+ "10. Press <b>Expand</b> button, Descriptor list will be shown under battery characteristic.<br/>"
+ "11. Select descriptor then press <b>Read</b> button, Get value will be shown and Read request will be shown in <b>Gatt Server</b> end.<br/>"
+ "12. Press <b>Write</b> button, value written to Gatt Server and it will be shown there.<br/>"
+ "13. Press <b>HW Back</b> button, services list will be shown again<br/>"
+ "14. Select <b>Battery service</b>, a characteristic will be shown<br/>"
+ "15. Press <b>Notify</b> button at Gatt Server end, changed value will be shown in Gatt Client end.<br/>"
+ "16. Press Disconnect button to Disconnect from Server.<br/>",
.result = 0,
- .required_features_count = 2,
- .features_required = {16,65}
+ .required_features_count = 1,
+ .features_required = {16}
},
#endif
#ifdef TBT_MODULE_BLE_GATT_SERVER
.parent = "Bluetooth LE",
.apptype = TBT_APP_BLE_GATT_SERVER,
.icon_name = "dummy",
- .info = "Bluetooth LE Gatt Cleint",
+ .info = "1. Press <b>Start Server</b> button to Start Gatt Server.<br/>"
+ "2. Follow the Steps in Gatt Client module.<br/>",
.result = 0,
- .required_features_count = 2,
- .features_required = {16,65}
+ .required_features_count = 1,
+ .features_required = {16}
},
#endif
#endif
-
#ifdef TBT_MODULE_BT
#ifdef TBT_MODULE_APP_BT_CLIENT_PAIRED
.parent = "Bluetooth",
.apptype = TBT_APP_BT_CLIENT_PAIRED,
.icon_name = "dummy",
- .info = "Pair with bluetooth server",
+ .info = "1. If Bluetooth is off, turn on manually.<br/>"
+ "2. Run <b>Server Paired</b> module.<br/>"
+ "3. Press <b>Discover</b> and a list of available device will be shown.<br/>"
+ "4. Select the <b>Server Paired</b> device<br/>"
+ "5. A Connection popup will be shown.<br/>"
+ "6. Press <b>Confirm</b> to make pair <br/>",
.result = 0,
.required_features_count = 1,
.features_required = {16}
.parent = "Bluetooth",
.apptype = TBT_APP_BT_SERVER_PAIRED,
.icon_name = "dummy",
- .info = "Pair with bluetooth client",
+ .info = "1. If Bluetooth is off, turn on manually.<br/>"
+ "2. press <b>Set Visible</b>.<br/>"
+ "3. device will be shown in Client end.<br/>"
+ "4. Connect from client end.<br/>"
+ "5. A connection popup will be shown, press <b>OK</b>",
.result = 0,
.required_features_count = 1,
.features_required = {16}
.parent = "Bluetooth",
.apptype = TBT_APP_BT_OPP_SERVER,
.icon_name = "dummy",
- .info = "Pair with bluetooth OPP client",
+ .info = "1. Press <b>Bluetooth On</b> to activate Bluetooth on the device and the Bluetooth application of the device will be opened. Turn on Bluetooth from there Select the desired device and the devices will be paired.<br/>"
+ "2. Press <b>Set Visible</b> and wait for the connection pop-up message.<br/>"
+ "3. Press <b>Confirm</b> button to accept connection from client.<br/>"
+ "4. When client is trying to send a file press <b>Accept/Reject</b> button to accept/reject file sending request.",
.result = 0,
.required_features_count = 2,
.features_required = {16,73}
.parent = "Bluetooth",
.apptype = TBT_APP_BT_OPP_CLIENT,
.icon_name = "dummy",
- .info = "Transfer data using bluetooth OPP",
+ .info = "1. Press <b>Bluetooth On</b> to activate Bluetooth on the device and the Bluetooth application of the device will be opened. Turn on Bluetooth from there Select the desired device and the devices will be paired.<br/>"
+ "2. Press button <b>Discover</b> to see the list of Bluetooth devices.<br/>"
+ "3. Select the desired device from the list.<br/>"
+ "4. Press button <b>Send File.</b><br/>"
+ "5. If you want to cancel file sending after pressing <b>Send File</b> just press <b>Cancel Transfer</b> button.<br/>"
+ "6. Check if any image file is pushed to the other device.",
.result = 0,
.file_name = "images/giraffe_800_1179.jpg",
.required_features_count = 2,
.apptype = TBT_APP_BT_AUDIO_CONNECT_HANDSFREE,
.icon_name = "dummy",
.file_name = "sounds/SampleMP3.mp3",
- .info = "Connect to a bluetooth<br/>audio profile using handsfree service.",
+ .info = "1. If Bluetooth is off, turn on manually <br/>"
+ "2. Press button <b>Discover</b> to see the list of Bluetooth Audio devices.<br/>"
+ "3. Select the desired device from the list.<br/>"
+ "4. Press <b>Connect Audio.</b> button<br/>"
+ "5. Now make a call and test if sound is heard in the audio device",
.result = 0,
.required_features_count = 2,
.features_required = {16, 69}
.apptype = TBT_APP_BT_AUDIO_CONNECT,
.icon_name = "dummy",
.file_name = "sounds/SampleMP3.mp3",
- .info = "Connect to a bluetooth<br/>audio profile using a2dp service.",
+ .info = "1. If Bluetooth is off, turn on manually.<br/>"
+ "2. Press <b>Discover</b> button to see the list of Bluetooth Audio devices.<br/>"
+ "3. Select the desired device from the list.<br/>"
+ "4. Press <b>Connect Audio.</b> button<br/>"
+ "5. Now you can hear the key pressing sound in Headset.",
.result = 0,
.required_features_count = 2,
.features_required = {16, 67}
.parent = "Bluetooth",
.apptype = TBT_APP_BT_AUTHORIZATION,
.icon_name = "dummy",
- .info = "Authorize a paired<br/>bluetooth device",
+ .info = "1. If Bluetooth is off, turn on manually.<br/>"
+ "2. Press <b>Discover</b> to see the list of Bluetooth devices.<br/>"
+ "3. Select the desired device from the list.<br/>"
+ "4. Press <b>Authorize</b> button and the desired device will be Authorized.",
.result = 0,
.required_features_count = 1,
.features_required = {16}
.parent = "Bluetooth",
.apptype = TBT_APP_BT_PROFILES,
.icon_name = "dummy",
- .info = "Find profile of an audio <br/>connected paired device",
+ .info = "1. If Bluetooth is off, turn on manually.<br/>"
+ "2. Press <b>Discover</b> to see the list of Bluetooth Audio devices.<br/>"
+ "3. Select an audio profile enabled device like, Bluetooth Headset from the list for pairing.<br/>"
+ "4. After successful pairing, connected profiles will be shown.",
.file_name = "sounds/SampleMP3.mp3",
.result = 0,
.required_features_count = 1,
.parent = "Bluetooth",
.apptype = TBT_APP_BT_SDP,
.icon_name = "dummy",
- .info = "Find Service provided by bluetooth device",
+ .info = "1. If Bluetooth is off, turn on manually.<br/>"
+ "2. Press button <b>Discover</b> to see the list of Bluetooth devices.<br/>"
+ "3. Select the desire device to make pair with that device.<br/>"
+ "4. After paring is completed press <b>Connected Services</b>, Bluetooth services will be shown in a list.",
.result = 0,
.required_features_count = 1,
.features_required = {16}
.parent = "Bluetooth",
.apptype = TBT_APP_BT_CLIENT_SOCKET,
.icon_name = "dummy",
- .info = "Pair with bluetooth socket server",
+ .info = "1. If Bluetooth is off, turn on manually.<br/>"
+ "2. Press <b>Discover</b> to see the list of Bluetooth devices.<br/>"
+ "3. Select the desired device from the list.<br/>"
+ "4. press <b>Send Data</b> button.<br/>"
+ "5. check the data is sent to <b>Server Socket</b> end",
.result = 0,
.required_features_count = 1,
.features_required = {16}
.parent = "Bluetooth",
.apptype = TBT_APP_BT_SERVER_SOCKET,
.icon_name = "dummy",
- .info = "Pair with bluetooth socket client",
+ .info = "1. If Bluetooth is off, turn on manually.<br/>"
+ "2. Press Set Visible if bluetooth is not visible.<br/>"
+ "3. Run <b>Client Socket</b> module. <br/>"
+ "4. <b>Hello this is TBT</b> message will be shown",
.result = 0,
.required_features_count = 1,
.features_required = {16}
.parent = "Bluetooth",
.apptype = TBT_APP_BT_HID_CONNECT,
.icon_name = "dummy",
- .info = "Connect with HID device",
+ .info = "1. If Bluetooth is off, turn on manually.<br/>"
+ "2. Press <b>Discover</b> to see the list of Bluetooth HID devices.<br/>"
+ "3. Select the desired device from the list and device will be paired.<br/>"
+ "4. Press <b>Connect HID</b> button.<br/>"
+ "5. If you are trying to connect a keyboard a pop-up will appear, press the same code on the keyboard and press enter.<br/>"
+ "6. <b>HID connected</b> will be written on the label, just above the device list<br/>"
+ "7. Go to Default <b>Messaging Application</b> and try to write message from the HID keyboard.<br/>"
+ "8. Input from keyboard will be shown.",
.result = 0,
.required_features_count = 2,
.features_required = {16,72},
.parent = "Bluetooth",
.apptype = TBT_APP_BT_HDP,
.icon_name = "dummy",
- .info = "Bluetooth HDP",
+ .info = "1. If Bluetooth is off, turn on manually.<br/>"
+ "2. Press <b>Discover</b> to see the list of devices.<br/>"
+ "3. Select the desired device from the list.<br/>"
+ "4. After pairing press <b>Connect HDP</b> to connect to health device.<br/>"
+ "5. Press <b>Get Data</b> and received data will be shown",
.result = 0,
.required_features_count = 2,
.features_required = {16, 85}
},
#endif
- #ifdef TBT_MODULE_APP_BT_PBAP_ALL_VCARDS
-
- // PBAP All Vcards
- {
- .name = "PBAP All Vcards",
- .parent = "Bluetooth",
- .apptype = TBT_APP_BT_PBAP_ALL_VCARDS,
- .icon_name = "dummy",
- .info = "Get All Phonebook vcards from PBAP Server",
- .result = 0,
- .required_features_count = 2,
- .features_required = {16, 67}
-
- },
- #endif
#endif
.parent = "Bluetooth Callback Test",
.apptype = TBT_APP_BT_CALLBACK_CREATE_BOND_TEST,
.icon_name = "dummy",
- .info = "Instructions:<br/>Test Type One<br/>1.Bluetooth On<br/>2. Create Bonding callback Invoked<br/><br/>Test Type Two<br/>1. Bluetooth Off<br/>2. Correct Error Message Displayed<br/>",
+ .info = "Test Type One<br/>1.Bluetooth On<br/>"
+ "2. Create Bonding callback Invoked<br/>"
+ "<br/>Test Type Two<br/>"
+ "1. Bluetooth Off<br/>"
+ "2. Correct Error Message Displayed<br/>",
.result = 0,
.required_features_count = 1,
.features_required = {16}
.parent = "Bluetooth Callback Test",
.apptype = TBT_APP_BT_CALLBACK_DESTROY_BOND_TEST,
.icon_name = "dummy",
- .info = "Instructions:<br/>Test Type One<br/>1.Bluetooth On<br/>2. Destroy Bonding callback Invoked<br/><br/>Test Type Two<br/>1. Bluetooth Off<br/>2. Correct Error Message Displayed",
+ .info = "Test Type One<br/>"
+ "1.Bluetooth On<br/>"
+ "2. Destroy Bonding callback Invoked<br/>"
+ "<br/>Test Type Two<br/>"
+ "1. Bluetooth Off<br/>"
+ "2. Correct Error Message Displayed",
.result = 0,
.required_features_count = 1,
.features_required = {16}
.parent = "Bluetooth Callback Test",
.apptype = TBT_APP_BT_CALLBACK_DISCOVER_DEVICES_TEST,
.icon_name = "dummy",
- .info = "Instructions:<br/>Test Type One<br/>1.Bluetooth On<br/>2. Device Discovery callback Invoked<br/><br/>Test Type Two<br/>1. Bluetooth Off<br/>2. Correct Error Message Displayed",
+ .info = "Test Type One<br/>"
+ "1.Bluetooth On<br/>"
+ "2. Device Discovery callback Invoked<br/>"
+ "<br/>Test Type Two<br/>"
+ "1. Bluetooth Off<br/>"
+ "2. Correct Error Message Displayed",
.result = 0,
.required_features_count = 1,
.features_required = {16}
.parent = "Bluetooth Callback Test",
.apptype = TBT_APP_BT_CALLBACK_GET_DEVICE_TEST,
.icon_name = "dummy",
- .info = "Instructions:<br/>Test Type One<br/>1.Bluetooth On<br/>2. Scanned callback Invoked<br/><br/>Test Type Two<br/>1. Bluetooth Off<br/>2. Correct Error Message Displayed",
+ .info = "Test Type One<br/>"
+ "1.Bluetooth On<br/>"
+ "2. Scanned callback Invoked<br/>"
+ "<br/>Test Type Two<br/>"
+ "1. Bluetooth Off<br/>"
+ "2. Correct Error Message Displayed",
.result = 0,
.required_features_count = 1,
.features_required = {16}
.parent = "Bluetooth Callback Test",
.apptype = TBT_APP_BT_CALLBACK_SET_NAME_TEST,
.icon_name = "dummy",
- .info = "Instructions:<br/>Test Type One<br/>1.Bluetooth On<br/>2. Name Changed callback Invoked<br/><br/>Test Type Two<br/>1. Bluetooth Off<br/>2. Correct Error Message Displayed",
+ .info = "Test Type One<br/>"
+ "1.Bluetooth On<br/>"
+ "2. Name Changed callback Invoked<br/>"
+ "<br/>Test Type Two<br/>"
+ "1. Bluetooth Off<br/>"
+ "2. Correct Error Message Displayed",
.result = 0,
.required_features_count = 1,
.features_required = {16}
.parent = "Bluetooth Callback Test",
.apptype = TBT_APP_BT_CALLBACK_ADD_ADVERTISING_SERVICE_UUID_TEST,
.icon_name = "dummy",
- .info = "Instructions:<br/>Correct Error Message Displayed<br/><br/>NOTE: SEE INFO",
+ .info = "Correct Error Message Displayed<br/>",
.result = 0,
.required_features_count = 1,
.features_required = {16}
.parent = "Wifi",
.apptype = TBT_APP_WIFI_WIFI,
.icon_name = "dummy",
- .info = "Switch wifi On and Off",
+ .info = "1. Press <b>Wifi On</b> to enable Wifi<br/>"
+ "2. Press <b>Wifi Off</b> to disable Wifi",
.result = 0,
.required_features_count = 1,
.features_required = {24}
.parent = "NFC",
.apptype = TBT_APP_NFC_TAG,
.icon_name = "dummy",
- .info = "Test NFC tag",
+ .info = "1. Take the device to a NFC tag<br/>"
+ "2. A list will appear showing information about tag type, NDEF support, NDEF message size, maximum size of NDEF message, key, value, record type, record etc.<br/>"
+ "3. Select the tab <b>Write</b> and take the device to a NFC tag<br/>"
+ "4. Then a string of Text type will be written in the NFC tag and a success message will be shown with written message.<br/>"
+ "5. If device is removed from tag then <b>Device Detached</b> will be shown",
.result = 0,
.required_features_count = 2,
.features_required = {17,77}
.parent = "NFC",
.apptype = TBT_APP_NFC_P2P,
.icon_name = "dummy",
- .info = "Test NFC P2P",
+ .info = "1. Take two NFC supported devices and switch on NFC in both<br/>"
+ "2. Select NFC P2P from the test case in two devices and click Server in one device and Client in other device<br/>"
+ "3. Touch the back of two devices, Server TC will output Data Received Successfully along with received data and Client TC will output Data Sent successfully.<br/>"
+ "4. If you detach devices it'll show Device Detached",
.result = 0,
.required_features_count = 2,
.features_required = {17,76}
.features_required = {17,81}
},
#endif
- #ifdef TBT_MODULE_APP_NFC_ESE
- // NFC ESE Test
- {
- .name = "NFC ESE",
- .parent = "NFC",
- .apptype = TBT_APP_NFC_ESE,
- .icon_name = "dummy",
- .info = "Test NFC HCE ESE card emulation",
- .result = 0,
- .required_features_count = 2,
- .features_required = {17,81}
- },
- #endif
#endif
#ifdef TBT_MODULE_DISPLAY
.parent = "Input Device",
.apptype = TBT_APP_IDEV_NUM_KEYPAD,
.icon_name = "dummy",
- .info = "Input using number<br/> keyboard",
+ .info = "Input using number keyboard",
.result = 0
},
#endif
.parent = "Input Device",
.apptype = TBT_APP_IDEV_PH_NUM_KEYPAD,
.icon_name = "dummy",
- .info = "Input using phone<br/> number keyboard",
+ .info = "Input using phone number keyboard",
.result = 0
},
#endif
.parent = "Input Device",
.apptype = TBT_APP_IDEV_IP_KEYPAD,
.icon_name = "dummy",
- .info = "Input using IP<br/> keyboard",
+ .info = "Input using IP keyboard",
.result = 0
},
#endif
.apptype = TBT_APP_LOCAL_MPEG4,
.icon_name = "dummy",
.file_name = "video/sampleMPEG4.mp4",
- .info = "Play mpeg4 video<br/> file format",
+ .info = "1. Press <b>Play</b> button to Play Mpeg4 video file"
+ "2. Press Pause to pause the video."
+ "3. Press Stop to stop the video.",
.result = 0
},
#endif
.apptype = TBT_APP_LOCAL_H263,
.icon_name = "dummy",
.file_name = "video/sampleH263.3gp",
- .info = "Play H263 video<br/> file format",
+ .info = "1. Press <b>Play</b> button to Play H263 video file"
+ "2. Press Pause to pause the video."
+ "3. Press Stop to stop the video.",
.result = 0
},
#endif
.apptype = TBT_APP_LOCAL_H264,
.icon_name = "dummy",
.file_name = "video/sampleH264.mp4",
- .info = "Play H264 video<br/> file format",
+ .info = "1. Press <b>Play</b> button to Play H264 video file"
+ "2. Press Pause to pause the video."
+ "3. Press Stop to stop the video.",
.result = 0
},
#endif
.parent = "Data Control",
.apptype = TBT_APP_DC_INSERT,
.icon_name = "dummy",
- .info = "Insert data in SQLite",
+ .info = "1. Press <b>Start</b> button.<br/>"
+ "2. Data Insertion Information will be shown.",
.result = 0
},
#endif
.parent = "Data Control",
.apptype = TBT_APP_DC_DELETE,
.icon_name = "dummy",
- .info = "Delete data from SQLite",
+ .info = "1. Press <b>Start</b> button.<br/>"
+ "2. Data deletion information will be shown.",
.result = 0
},
#endif
.parent = "Data Control",
.apptype = TBT_APP_DC_UPDATE,
.icon_name = "dummy",
- .info = "Update data in SQLite",
+ .info = "1. Press <b>Start</b> button.<br/>"
+ "2. Data update information will be shown.",
.result = 0
},
#endif
.parent = "Data Control",
.apptype = TBT_APP_DC_SELECT,
.icon_name = "dummy",
- .info = "Select data from SQLite",
+ .info = "1. Press <b>Start</b> button.<br/>"
+ "2. Data selection information will be shown.",
.result = 0
},
#endif
.icon_name = "dummy",
.layout_file = "",
.layout_group = "",
- .info = "Insert/Update/Delete using <br/>SQLite",
+ .info = "1. Press <b>Start</b> button.<br/>"
+ "2. It will show the list of row id of the selected items.<br/>"
+ "3. Press <b>First</b> to get the row id of the first selected item.<br/>"
+ "4. Press <b>Last</b> to get data t the row id of the last selected item.<br/>"
+ "6. Press <b>Next</b> and <b>Prev</b> to navigate between the selected items.",
.result = 0
},
#endif
.parent = "Data Control",
.apptype = TBT_APP_DC_MAP,
.icon_name = "dummy",
- .info = "Select data from SQLite<br/>into map data structure",
+ .info = "1. Press <b>Start</b> button<br/>"
+ "2. Map data value will be shown.",
.result = 0
},
#endif
.parent = "Pick/View",
.apptype = TBT_APP_PICK_VIEW_APP,
.icon_name = "dummy",
- .info = "Launch other application<br/> in view mode",
+ .info = "1. Press <b>View UI</b> button.<br/>"
+ "2. If UI is shown, Click item and press <b>Return</b> button.<br/>"
+ "3. Then press <b>View Service</b> button.<br/>"
+ "4. App launched successfully Message will be shown.",
.result = 0
},
#endif
.parent = "Pick/View",
.apptype = TBT_APP_PICK_PICK_APP,
.icon_name = "dummy",
- .info = "Launch other application<br/> in pick mode",
+ .info = "1. Press <b>Single</b> and select single item and press <b>Select Single</b>.<br/>"
+ "2. Single data will be shown.<br/>"
+ "3. Press <b>Multiple</b> and select multiple items and press <b>Select Multiple</b>.<br/>"
+ "4. Multiple data will be shown.",
.result = 0
},
#endif
.parent = "Sensor",
.apptype = TBT_APP_SENSOR_ACCELEROMETER,
.icon_name = "dummy",
- .info = "Test accelerometer sensor",
+ .info = "1. Place device in a flat surface <b>facing upside</b>, <b>Z axis</b> value will be <b>~9.8</b> other axis value will be <b>~0</b>.<br/>"
+ "2. Rotate device <b>upside down</b>, <b>Z</b> axis value will be <b>~-9.8</b> other axis value will be <b>~0</b>.<br/>"
+ "3. Place device on <b>Left edge</b>, <b>X</b> axis value will be <b>~9.8</b> other axis value will be <b>~0</b>.<br/>"
+ "4. Place device on <b>Right edge</b>, <b>X</b> axis value will be <b>~-9.8</b> other axis value will be <b>~0</b>.<br/>"
+ "5. Place device on <b>top edge</b>, <b>Y</b> axis value will be <b>~-9.8</b> other axis value will be <b>~0</b>.<br/>"
+ "6. Place device on bottom edge, Y axis value will be ~9.8 other axis value will be ~0.<br/>"
+ "7. with the rotation of device Cube will rotate in same orientation.<br/>"
+ "7. Min-Max Value range will be shown in top of axis info",
.result = 0,
.sensortype = SENSOR_ACCELEROMETER,
.units = SENSOR_UNIT_METRE_PER_SECOND_SQUARED,
.parent = "Sensor",
.apptype = TBT_APP_SENSOR_GYROSCOPE,
.icon_name = "dummy",
- .info = "Test gyroscope sensor",
+ .info = "1. If the device is stable, then the background of the cube is black."
+ "2. <b>Move</b> the device to the <b>direction</b> of the cube movement and background color will be <b>blue</b>."
+ "3. <b>Move</b> the device to the <b>opposite direction</b> of the cube movement and background color will be <b>red</b>."
+ "4. Press <b>Next</b> button to change direction of cube movement and do the previous steps accordingly.",
.result = 0,
.sensortype = SENSOR_GYROSCOPE,
.units = SENSOR_UNIT_DEGREE_PER_SECOND,
.parent = "Sensor",
.apptype = TBT_APP_SENSOR_PROXIMITY,
.icon_name = "dummy",
- .info = "Test proximity sensor",
+ .info = "1. A non glowing bulb will be shown.<br/>"
+ "2. Cover the upper portion of the device with hand and an image showing a glowing bulb will appear.<br/>"
+ "3. If the hand is moved away, the previous image will appear again.",
.result = -1,
.file_name = "images/lighton.png",
.extra_file_name = "images/lightoff.png",
.parent = "Sensor",
.apptype = TBT_APP_SENSOR_LIGHT,
.icon_name = "dummy",
- .info = "Test light sensor",
+ .info = "1. <b>Move</b> the device near to the light source.<br/>"
+ "2. The color of the object turns into more intense red according to the intensity of light.<br/>"
+ "3. Information of Light intensity will be shown in top.",
.result = -1,
.file_name = "images/lighton.png",
.extra_file_name = "images/lightoff.png",
.parent = "Sensor",
.apptype = TBT_APP_SENSOR_ULTRA_VIOLET,
.icon_name = "dummy",
- .info = "Test ultraviolet sensor",
+ .info = "1. <b>Move</b> the device to the ultraviolet light source.<br/>"
+ "2. The color of the object turns into more intense violet according to the intensity of ultraviolet light.",
.result = -1,
.sensor_response_interval = 100,
.sensortype = SENSOR_ULTRAVIOLET,
.parent = "Sensor",
.apptype = TBT_APP_SENSOR_PRESSURE,
.icon_name = "dummy",
- .info = "Test pressure sensor",
+ .info = "1. Supported Air pressure range will be shown<br/>"
+ "2. Current Air pressure will be shown",
.result = -1,
.sensor_response_interval = 100,
.sensortype = SENSOR_PRESSURE,
.parent = "Sensor",
.apptype = TBT_APP_SENSOR_MAGNATOMETER,
.icon_name = "dummy",
- .info = "Test magnatic sensor",
+ .info = "1. Move device in all possible direction.<br/>"
+ "2. The value of X, Y, and Z component of earth magnetic field's change will be shown.",
.value_names = axes,
.value_count = 3,
.result = -1,
.parent = "UI Test",
.apptype = TBT_APP_UI_ALPHA,
.icon_name = "dummy",
- .info = "Change alpha value",
+ .info = "A rectangle with Changing alpha value will be shown",
.result = 0
},
#endif
.parent = "EFL/Event",
.apptype = TBT_APP_TOUCH_TOUCH,
.icon_name = "dummy",
- .info = "Test touch performance<br/> and callbacks.",
+ .info = "1. Touch and drag to draw random curves on the screen.<br/>"
+ "2. Check that the first press is green.<br/>"
+ "3. Check that the touch-drag is blue.<br/>"
+ "4. Check that the release location is red.<br/>"
+ "5. Check the touch point coordinate will be shown in top.<br/>",
.result = 0
},
#endif
.parent = "EFL/Event",
.apptype = TBT_APP_EVENT_VIEW,
.icon_name = "dummy",
- .info = "Check Tizen event <br/>callbacks for orientation,<br/>locale and lanuage change.",
+ .info = "1. Change <b>device language</b> from <b>Settings</b>, Language and region change information will be shown.<br/>"
+ "2. Change <b>device orientation</b>, Information of changed orientation will be shown.",
.result = 0
},
#endif
.parent = "EFL/Event",
.apptype = TBT_APP_EFL_CALLBACK,
.icon_name = "dummy",
- .info = "Check callback add/delete.<br/>Press HW Back button<br/>to check whether it works<br/>or not.",
+ .info = "1. Press the <b>Hardware Back</b> Button and check whether the back button callback is detected.<br/>"
+ "2. Press <b>Delete Callback</b> button and the callback will be deleted.<br/>"
+ "3. Press the <b>Hardware Back</b> Button and check, there is no back button callback is detected.<br/>"
+ "4. Then press button <b>Add Callback</b> to add a new callback.<br/>"
+ "5. Then again press the <b>Hardware Back</b> Button and check whether the back button callback is detected.<br/>"
+ "4. You must press <b>Pass</b> or <b>Fail</b> button to exit from the test.",
.result = 0,
.required_features_count = 0
},
.parent = "IME",
.apptype = TBT_APP_IME_ALPHABATIC,
.icon_name = "dummy",
- .info = "Check custom IME for TBT.",
+ .info = "1. Set Default keyboard to TBT keyboard from Settings.<br/>"
+ "2. An Alphabetic keyboard will be shown and <b>ELM_INPUT_PANEL_LANG_AUTOMATIC</b> will be shown at the bottom key.<br/>"
+ "3. Press Alphabetic keys then corresponding alphabets will be written in entry field.<br/>"
+ "5. Press <b>BACK</b> key to remove one character at a time from entry field.<br/>"
+ "6. Press <b>Prid</b> On key, then <b>abcd</b> will be written in entry field.<br/>"
+ "7. Press <b>Prid</b> Off to remove <b>abcd</b> from entry field.<br/>"
+ "8. Press <b>Spc</b> key to make a space character in entry field.",
.result = 0,
.required_features_count = 0
},
.parent = "IME",
.apptype = TBT_APP_IME_NUMERIC,
.icon_name = "dummy",
- .info = "Check custom IME for TBT.",
+ .info = "1. Set Default keyboard to TBT keyboard from Settings.<br/>"
+ "2. An Numeric keyboard will be shown and <b>ELM_INPUT_PANEL_LANG_AUTOMATIC</b> will be shown at the bottom key.<br/>"
+ "3. Press Numeric keys then corresponding numerics will be written in entry field.<br/>"
+ "4. Press <b>BACK</b> key to remove one character at a time from entry field.<br/>"
+ "5. Press <b>DS</b> key to delete character under cursor from entry field.<br/>"
+ "6. Press <b>Spc</b> key to make a space character in entry field.",
.result = 0,
.required_features_count = 0
},
.parent = "IME",
.apptype = TBT_APP_IME_EVENT,
.icon_name = "dummy",
- .info = "Check custom IME for TBT.",
+ .info = "1. Set Default keyboard to TBT keyboard from Settings.<br/>"
+ "2. Change Language from <b>Settings > Language and input > Display language</b>.<br/>"
+ "3. Return back to IME Events module.<br/>"
+ "4. The text of the key will be changed as the language changed.",
.result = 0,
.required_features_count = 0
},
.parent = "IME",
.apptype = TBT_APP_IME_CONTEXT_GET,
.icon_name = "dummy",
- .info = "Check custom IME for TBT.",
+ .info = "1. Set Default keyboard to TBT keyboard from Settings.<br/>"
+ "2. A keyboard with Pass text to all Keys will be shown",
.result = 0,
.required_features_count = 0
},
.parent = "WIDGET",
.apptype = TBT_APP_WIDGET,
.icon_name = "dummy",
- .info = "Check WIDGET for TBT.",
+ .info = "1. Press button View Widget UI.<br/>"
+ "2. A Widget UI written <b>Hello widget</b> will be shown",
.result = 0,
.required_features_count = 0
},
.parent = "EFL/Event",
.apptype = TBT_APP_SHORTCUT,
.icon_name = "dummy",
- .info = "Create shortcut in <br/>home screen.<br/> Check SHORTCUT API",
+ .info = "1. Press <b>Add Shortcut</b> button.<br/>"
+ "2. Check created shortcut in Homescreen.<br/>"
+ "3. Return back to module.<br/>"
+ "4. Check <b>Allow duplicate</b>, and press <b>Add Shortcut</b> button."
+ "5. A duplicate shortcut will be created in Homescreen",
.result = 0,
.required_features_count = 0
},
.parent = "Push Service",
.apptype = TBT_APP_PUSH_SERVICE,
.icon_name = "dummy",
- .info = "Test push service. <br/>Active INTERNET <br/>connection required.",
+ .info = "1. Press <b>Start</b> button to start the push service and a successful response will be displayed.<br/>"
+ "2. Then long press the Home button and clear the application instance.<br/>"
+ "3. After a few moments, there will a notification.<br/>"
+ "4. Click on the notification and the message will be shown.<br/>"
+ "5. Secondly, Press button <b>Start</b> to start the push service.<br/>"
+ "6. Press button <b>Message</b>.<br/>"
+ "7. After a few moments a message will be shown.<br/>"
+ "8. Press button Disconnect to <b>Disconnect</b> Push Service",
.result = 0,
.required_features_count = 1,
.features_required = {19}
#endif
#ifdef TBT_MODULE_RUNTIME
- #ifdef TBT_MODULE_APP_AUDIO_JACK
-
- //Runtime Info
- {
- .name = "Audio Jack Status",
- .parent = "Runtime Info",
- .apptype = TBT_APP_AUDIO_JACK,
- .icon_name = "dummy",
- .info = "View Audio Jack <br/>Insert Info",
- .result = 0
- },
- #endif
- #ifdef TBT_MODULE_APP_KEY_VIBRATION
-
- //Runtime Info
- {
- .name = "Key Vibration Status",
- .parent = "Runtime Info",
- .apptype = TBT_APP_KEY_VIBRATION,
- .icon_name = "dummy",
- .info = "View Audio Jack <br/>Insert Info",
- .result = 0
- },
- #endif
- #ifdef TBT_MODULE_APP_BATTERY
-
- //Runtime Info
- {
- .name = "Battery Status",
- .parent = "Runtime Info",
- .apptype = TBT_APP_BATTERY,
- .icon_name = "dummy",
- .info = "View Audio Jack <br/>Insert Info",
- .result = 0
- },
- #endif
- #ifdef TBT_MODULE_APP_GPS_STATUS
-
- //Runtime Info
- {
- .name = "Gps Status",
- .parent = "Runtime Info",
- .apptype = TBT_APP_GPS_STATUS,
- .icon_name = "dummy",
- .info = "View Audio Jack <br/>Insert Info",
- .result = 0,
- .required_features_count = 1,
- .features_required = {11}
- },
- #endif
- #ifdef TBT_MODULE_APP_USB_CONNECTED
+ #ifdef TBT_MODULE_APP_RUNTIME_INFO
//Runtime Info
{
- .name = "USB Status",
+ .name = "Runtime Info",
.parent = "Runtime Info",
- .apptype = TBT_APP_USB_CONNECTED,
+ .apptype = TBT_APP_RUNTIME_INFO,
.icon_name = "dummy",
- .info = "View Audio Jack <br/>Insert Info",
+ .info = "1. Initially <b>Audio Jack Not Connected</b> message will be shown.<br/>"
+ "2. Insert an only audio out headphone in audio jack.<br/>"
+ "3. Then message will show <b>Audio Jack Connected with 3 wire ear jack</b>.<br/>"
+ "4. Insert a headphone which support both audio I/O.<br/>"
+ "5. Then message will show <b>Audio Jack Connected with 4 wire ear jack</b>.<br/>"
+ "6. If Audio jack is not supported, <b>Audio Jack is not supported</b> will be shown.",
.result = 0
},
#endif
- #ifdef TBT_MODULE_APP_BLUETOOTH_ENABLED
-
- //Runtime Info
- {
- .name = "Bluetooth Status",
- .parent = "Runtime Info",
- .apptype = TBT_APP_BLUETOOTH_ENABLED,
- .icon_name = "dummy",
- .info = "View Audio Jack <br/>Insert Info",
- .result = 0,
- .required_features_count = 1,
- .features_required = {16}
- },
- #endif
- #ifdef TBT_MODULE_APP_AUTO_ROTATION_ENABLED
-
- //Runtime Info
- {
- .name = "Auto Rotate Status",
- .parent = "Runtime Info",
- .apptype = TBT_APP_AUTO_ROTATION_ENABLED,
- .icon_name = "dummy",
- .info = "View Audio Jack <br/>Insert Info",
- .result = 0,
- .required_features_count = 1,
- .features_required = {41}
- },
- #endif
- #ifdef TBT_MODULE_APP_LOCATION_SERVICE_ENABLED
-
- //Runtime Info
- {
- .name = "Location Status",
- .parent = "Runtime Info",
- .apptype = TBT_APP_LOCATION_SERVICE_ENABLED,
- .icon_name = "dummy",
- .info = "View Audio Jack <br/>Insert Info",
- .result = 0,
- .required_features_count = 1,
- .features_required = {10}
- },
- #endif
- #ifdef TBT_MODULE_APP_WIFI_HOTSPOT_ENABLED
-
- //Runtime Info
- {
- .name = "Wifi HotSpot Status",
- .parent = "Runtime Info",
- .apptype = TBT_APP_WIFI_HOTSPOT_ENABLED,
- .icon_name = "dummy",
- .info = "View Audio Jack <br/>Insert Info",
- .result = 0,
- .required_features_count = 1,
- .features_required = {24}
- },
- #endif
#endif
#ifdef TBT_MODULE_SCREEN_MIRROR
.info = "Mirrors The Screen",
.result = 0,
.required_features_count = 4,
- .features_required = {24,25, 78,79}
+ .features_required = {24,25, 87,88}
},
#endif
#endif
.parent = "Attach Panel",
.apptype = TBT_APP_ATTACH_PANEL,
.icon_name = "dummy",
- .info = "Basic Attach Panel Operation",
+ .info = "1. Take some pictures with camera so that images are available in device images folder.<br/>"
+ "2. Press “+” button in top left corner in the initial page.<br/>"
+ "3. Gallery Images will be shown using attach panel, click on a image.<br/>"
+ "4. Clicked Image will be selected and shown in the upper area.",
.result = 0
},
#endif
.parent = "Feature Summary",
.apptype = TBT_APP_FEATURE_SUMMARY,
.icon_name = "dummy",
- .info = "View HW supported <br/>feature's of the phone",
+ .info = "Show supported feature's of the device",
.result = 0
},
#endif
.parent = "MTP",
.apptype = TBT_APP_MTP,
.icon_name = "dummy",
- .info = "View MTP <br/>feature's of the phone",
+ .info = "1. Connect OTG Cable’s OTG gender (micro USB end) to Test Tizen device."
+ "2. Connect other end to another device which supports MTP ex: Android device and select connection option to Transfer Photos (PTP) in this device."
+ "3. Open Transfer Photos module again."
+ "4. Device information will be seen in bottom list and in top list JPG files list will be seen."
+ "5. Select *.jpg image name from top list. Then corresponding files information will be seen in bottom list.",
.result = 0
},
#endif
.parent = "NSD",
.apptype = TBT_APP_NSD_SSDP_LOCAL,
.icon_name = "dummy",
- .info = "Check NSD SSDP <br/>",
+ .info = "1. Connect test device to a <b>Wi-Fi network.</b><br/>"
+ "2. “dnssd initialized” will be shown in bottom list.<br/>"
+ "3. Open <b>DNS-SD Remote</b> module in another device and connect that device to <b>same Wi-Fi network</b>.<br/>"
+ "4. Press <b>Add Record</b> in DNS-SD Remote module.<br/>"
+ "5. Press <b>Browse Service</b> button. Then, corresponding service and text value in DNS-SD Remote will be seen in top list.",
.result = 0,
.required_features_count = 1,
.features_required = {84}
.parent = "NSD",
.apptype = TBT_APP_NSD_SSDP_REMOTE,
.icon_name = "dummy",
- .info = "Check NSD SSDP <br/>",
+ .info = "1. Connect test device to a <b>Wi-Fi network</b> same as <b>DNS-SD Local</b> module connected in.<br/>"
+ "2. “dnssd initialized” will be shown in bottom list.<br/>"
+ "3. Press <b>Add Record</b> button. Then, “local service registered” will be seen in bottom list and in top list added text with key value pair will be seen.",
.result = 0,
.required_features_count = 1,
.features_required = {84}
.parent = "Package Manager Status",
.apptype = TBT_APP_PACKAGE_MANAGER,
.icon_name = "dummy",
- .info = "1.Please Uninstall package from Application manager<br/>2. Please install package in device from sdb shell<br/> 3.Update is re-install same package on the device",
+ .info = "1.Uninstall package from Application manager<br/>"
+ "2. install package in device from sdb shell<br/> "
+ "3.Update is re-install same package on the device",
.result = 0
},
#endif
.parent = "Connection Status",
.apptype = TBT_APP_CONNECTION,
.icon_name = "dummy",
- .info = "1.Please Change connection status to flight mode or some other mode<br/>2.Please press back button and again open connection view<br/>3.You will see updated connection status<br/>",
+ .info = "1. Change connection status to flight mode or some other mode<br/>"
+ "2. press back button and again open connection view<br/>"
+ "3.You will see updated connection status<br/>",
.result = 0,
.required_features_count = 2,
.features_required = {24,21}
#endif
#endif
#ifdef TBT_MODULE_SYSTEMSETTINGS
- #ifdef TBT_MODULE_APP_SYSTEM_SETTINGS_FONT
+ #ifdef TBT_MODULE_APP_SYSTEM_SETTINGS
//System Settings
{
- .name = "System Settings Font",
+ .name = "System Settings",
.parent = "System Settings",
- .apptype = TBT_APP_SYSTEM_SETTINGS_FONT,
+ .apptype = TBT_APP_SYSTEM_SETTINGS,
.icon_name = "dummy",
- .info = "Instructions:<br/><br/>1.Manually change settings for each item through device Settings.<br/>2. Verify all the items' values.",
+ .info = "<br/>1.Manually change settings for each item through device Settings.<br/>"
+ "2. Verify all the items' values.",
.result = 0
},
#endif
- #ifdef TBT_MODULE_APP_SYSTEM_SETTINGS_TIMEFORMAT
+#endif
- //System Settings
+#ifdef TBT_MODULE_CONTACTS
+ #ifdef TBT_MODULE_APP_CONTACTS
+
+ //Contacts
{
- .name = "System Settings Time Format",
- .parent = "System Settings",
- .apptype = TBT_APP_SYSTEM_SETTINGS_TIMEFORMAT,
+ .name = "Contacts",
+ .parent = "Contacts",
+ .apptype = TBT_APP_CONTACTS,
.icon_name = "dummy",
- .info = "Instructions:<br/><br/>1.Manually change settings for each item through device Settings.<br/>2. Verify all the items' values.",
- .result = 0
+ .info = "1. Make a contact Test with number 12345678.<br/>"
+ "2. Call and message Test.<br/>"
+ "3. Verify the count with the number of calls and messages made to test.<br/>"
+ "4. Delete the contact Test.",
+ .result = 0,
+ .required_features_count = 1,
+ .features_required = { 21 }
},
#endif
- #ifdef TBT_MODULE_APP_SYSTEM_SETTINGS_TIMECHANGE
+#endif
- //System Settings
+#ifdef TBT_MODULE_D2D
+ #ifdef TBT_MODULE_APP_D2D_CLIENT
+
+ //NSD DNSSD
{
- .name = "System Settings Time Change",
- .parent = "System Settings",
- .apptype = TBT_APP_SYSTEM_SETTINGS_TIMECHANGE,
+ .name = "D2D Client",
+ .parent = "D2D Convergence",
+ .apptype = TBT_APP_D2D_CLIENT,
.icon_name = "dummy",
- .info = "Instructions:<br/><br/>1.Manually change settings for each item through device Settings.<br/>2. Verify all the items' values.",
+ .info = "1. Connect <b>D2D Server to Same WiFi Network.<br/>"
+ "2. Run <b>D2D server</b> module of TBT.<br/>"
+ "3. A list of two elements <b>http://192.168.43.54:8001/api/v2/</b> and <b>/tizen/remote-app-control</b> will be shown<br/>"
+ "4. Select <b>/tizen/remote-app-control</b> first. Then <b>cortbt_uiapp</b> will be launch in <b>D2D Server</b>.<br/>"
+ "5. Select<b> http://192.168.43.54:8001/api/v2/</b> then <b>Connect</b> will be shown in <b>D2D Server</b> and <b>Publish</b> will be shown in <b>D2D Client</b>.<br/>"
+ "6. Select <b>Publish</b> on <b>Client</b> side and <b>GoodNews Received</b> will be shown in <b>D2D Server</b>.",
.result = 0
},
#endif
- #ifdef TBT_MODULE_APP_SYSTEM_SETTINGS_LOCKSOUND
-
- //System Settings
+ #ifdef TBT_MODULE_APP_D2D_SERVER
{
- .name = "System Settings Lock Sound",
- .parent = "System Settings",
- .apptype = TBT_APP_SYSTEM_SETTINGS_LOCKSOUND,
+ .name = "D2D Server",
+ .parent = "D2D Convergence",
+ .apptype = TBT_APP_D2D_SERVER,
.icon_name = "dummy",
- .info = "Instructions:<br/><br/>1.Manually change settings for each item through device Settings.<br/>2. Verify all the items' values.",
+ .info = "1. Connect D2D Client to Same WiFi Network.<br/>"
+ "2. Run D2D Server Module from TBT again.<br/>"
+ "3. Server Ready Message will be shown",
.result = 0
},
#endif
- #ifdef TBT_MODULE_APP_SYSTEM_SETTINGS_SILENT
-
- //System Settings
+#endif
+#ifdef TBT_MODULE_TTS
+ #ifdef TBT_MODULE_APP_TTS
{
- .name = "System Settings Silent Mode",
- .parent = "System Settings",
- .apptype = TBT_APP_SYSTEM_SETTINGS_SILENT,
+ .name = "TTS",
+ .parent = "TTS/STT",
+ .apptype = TBT_APP_TTS,
.icon_name = "dummy",
- .info = "Instructions:<br/><br/>1.Manually change settings for each item through device Settings.<br/>2. Verify all the items' values.",
+ .info = "Text to speech <br/>",
.result = 0
},
#endif
- #ifdef TBT_MODULE_APP_SYSTEM_SETTINGS_TOUCHSOUND
-
- //System Settings
+#endif
+#ifdef TBT_MODULE_STT
+ #ifdef TBT_MODULE_APP_STT
{
- .name = "System Settings Touch Sound",
- .parent = "System Settings",
- .apptype = TBT_APP_SYSTEM_SETTINGS_TOUCHSOUND,
+ .name = "STT",
+ .parent = "TTS/STT",
+ .apptype = TBT_APP_STT,
.icon_name = "dummy",
- .info = "Instructions:<br/><br/>1.Manually change settings for each item through device Settings.<br/>2. Verify all the items' values.",
+ .info = "1. Make sure Internet is connected<br/>"
+ "2. Press Speak button and speak something in English.<br/>"
+ "3. Recognized sentence will be shown.<br/>"
+ "4. Word with recognized time stamp will also be shown.",
.result = 0
},
#endif
- #ifdef TBT_MODULE_APP_SYSTEM_SETTINGS_SCREENROTATION
-
- //System Settings
+ #ifdef TBT_MODULE_APP_STT_ERROR
{
- .name = "System Settings Screen Rotation",
- .parent = "System Settings",
- .apptype = TBT_APP_SYSTEM_SETTINGS_SCREENROTATION,
+ .name = "STT Error",
+ .parent = "TTS/STT",
+ .apptype = TBT_APP_STT_ERROR,
.icon_name = "dummy",
- .info = "Instructions:<br/><br/>1.Manually change settings for each item through device Settings.<br/>2. Verify all the items' values.",
+ .info = "1. Disconnect Internet.<br/>"
+ "2. Press Speak button.<br/>"
+ "3. An error message will be shown in top",
.result = 0
},
#endif
- #ifdef TBT_MODULE_APP_SYSTEM_SETTINGS_MOTION
+#endif
- //System Settings
+#ifdef TBT_MODULE_DALI
+ #ifdef TBT_MODULE_APP_DALI_ACTOR
+
+ //DALi Test
{
- .name = "System Settings Motion",
- .parent = "System Settings",
- .apptype = TBT_APP_SYSTEM_SETTINGS_MOTION,
+ .name = "DALi Actor",
+ .parent = "DALi",
+ .apptype = TBT_APP_DALI_ACTOR,
.icon_name = "dummy",
- .info = "Instructions:<br/><br/>1.Manually change settings for each item through device Settings.<br/>2. Verify all the items' values.",
+ .info = "DALi Actor Signals",
.result = 0
},
#endif
- #ifdef TBT_MODULE_APP_SYSTEM_SETTINGS_FILGHTMODE
+ #ifdef TBT_MODULE_APP_DALI_STAGE
- //System Settings
+ //DALi Test
{
- .name = "System Settings Flight Mode",
- .parent = "System Settings",
- .apptype = TBT_APP_SYSTEM_SETTINGS_FILGHTMODE,
+ .name = "DALi Stage",
+ .parent = "DALi",
+ .apptype = TBT_APP_DALI_STAGE,
.icon_name = "dummy",
- .info = "Instructions:<br/><br/>1.Manually change settings for each item through device Settings.<br/>2. Verify all the items' values.",
+ .info = "DALi Stage Signals",
.result = 0
},
#endif
- #ifdef TBT_MODULE_APP_SYSTEM_SETTINGS_LOCKSTATE
+ #ifdef TBT_MODULE_APP_DALI_TOUCH_DATA
- //System Settings
+ //DALi Test
{
- .name = "System Settings Lock State",
- .parent = "System Settings",
- .apptype = TBT_APP_SYSTEM_SETTINGS_LOCKSTATE,
+ .name = "DALi Touch Data",
+ .parent = "DALi",
+ .apptype = TBT_APP_DALI_TOUCH_DATA,
.icon_name = "dummy",
- .info = "Instructions:<br/><br/>1.Manually change settings for each item through device Settings.<br/>2. Verify all the items' values.",
+ .info = "DALi Controls Touch Signals",
.result = 0
},
#endif
-#endif
+ #ifdef TBT_MODULE_APP_DALI_BUTTON
-#ifdef TBT_MODULE_CONTACTS
- #ifdef TBT_MODULE_APP_CONTACTS
-
- //Contacts
+ //DALi Test
{
- .name = "Contacts",
- .parent = "Contacts",
- .apptype = TBT_APP_CONTACTS,
+ .name = "DALi Button",
+ .parent = "DALi",
+ .apptype = TBT_APP_DALI_BUTTON,
.icon_name = "dummy",
- .info = "Instructions:<br/>1. Make a contact Test with number 12345678.<br/>1. Call and message Test.<br/>3. Verify the count with the number of calls and messages made to test.<br/>4. Delete the contact Test.",
- .result = 0,
- .required_features_count = 1,
- .features_required = { 21 }
+ .info = "DALi Button Signals",
+ .result = 0
},
#endif
-#endif
-
-#ifdef TBT_MODULE_D2D
- #ifdef TBT_MODULE_APP_D2D_CLIENT
+ #ifdef TBT_MODULE_APP_DALI_SLIDER
- //NSD DNSSD
+ //DALi Test
{
- .name = "D2D Client",
- .parent = "D2D Convergence",
- .apptype = TBT_APP_D2D_CLIENT,
+ .name = "DALi Slider",
+ .parent = "DALi",
+ .apptype = TBT_APP_DALI_SLIDER,
.icon_name = "dummy",
- .info = "Check D2d client service. <br/>",
+ .info = "DALi Slider Signals",
.result = 0
},
#endif
- #ifdef TBT_MODULE_APP_D2D_SERVER
+ #ifdef TBT_MODULE_APP_DALI_TEXT_CONTROL
+
+ //DALi Test
{
- .name = "D2D Server",
- .parent = "D2D Convergence",
- .apptype = TBT_APP_D2D_SERVER,
+ .name = "DALi Text Control",
+ .parent = "DALi",
+ .apptype = TBT_APP_DALI_TEXT_CONTROL,
.icon_name = "dummy",
- .info = "Check D2d server service <br/>",
+ .info = "DALi Text Control Signals",
.result = 0
},
#endif
-#endif
+ #ifdef TBT_MODULE_APP_DALI_KEY_BOARD_FOCUS_MANAGER
-#ifdef TBT_MODULE_TTS
- #ifdef TBT_MODULE_APP_TTS
+ //DALi Test
{
- .name = "TTS",
- .parent = "TTS/STT",
- .apptype = TBT_APP_TTS,
+ .name = "DALi Keyboard Focus Manager",
+ .parent = "DALi",
+ .apptype = TBT_APP_DALI_KEY_BOARD_FOCUS_MANAGER,
.icon_name = "dummy",
- .info = "Text to speech <br/>",
+ .info = "DALi Keyboard Focus Manager Signals",
.result = 0
},
#endif
-#endif
-#ifdef TBT_MODULE_STT
- #ifdef TBT_MODULE_APP_STT
+ #ifdef TBT_MODULE_APP_DALI_ACCESSIBILITY_MANAGER
+
+ //DALi Test
{
- .name = "STT",
- .parent = "TTS/STT",
- .apptype = TBT_APP_STT,
+ .name = "DALi Accessibility Manager",
+ .parent = "DALi",
+ .apptype = TBT_APP_DALI_ACCESSIBILITY_MANAGER,
.icon_name = "dummy",
- .info = "Speech to text <br/>",
+ .info = "DALi Accessibility Manager Signals",
.result = 0
},
#endif
- #ifdef TBT_MODULE_APP_STT_ERROR
+ #ifdef TBT_MODULE_APP_DALI_GESTURE_DETECTOR
+
+ //DALi Test
{
- .name = "STT Error",
- .parent = "TTS/STT",
- .apptype = TBT_APP_STT_ERROR,
+ .name = "DALi Gesture Detector",
+ .parent = "DALi",
+ .apptype = TBT_APP_DALI_GESTURE_DETECTOR,
.icon_name = "dummy",
- .info = "Speech to text <br/> Error callback check",
+ .info = "DALi Gesture Detector Signals",
.result = 0
},
#endif
-#endif
-#ifdef TBT_MODULE_SMARTCARD
- #ifdef TBT_MODULE_APP_SMARTCARD
+ #ifdef TBT_MODULE_APP_DALI_STYLE_MANAGER
+
+ //DALi Test
{
- .name = "Smartcard",
- .parent = "Smartcard",
- .apptype = TBT_APP_SMARTCARD,
+ .name = "DALi Style Manager",
+ .parent = "DALi",
+ .apptype = TBT_APP_DALI_STYLE_MANAGER,
.icon_name = "dummy",
- .info = "Smartcard signed <br/> unsigned app check",
+ .info = "DALi Style Manager Signals",
.result = 0
},
#endif
+ #ifdef TBT_MODULE_APP_DALI_TTS
+
+ //DALi Test
+ {
+ .name = "DALi TTS",
+ .parent = "DALi",
+ .apptype = TBT_APP_DALI_TTS,
+ .icon_name = "dummy",
+ .info = "DALi TTS Functionality",
+ .result = 0,
+ .required_features_count = 1,
+ .features_required = {11}
+ },
+ #endif
+// #ifdef TBT_MODULE_APP_DALI_SCROLL_BAR
+//
+// //DALi Test
+// {
+// .name = "DALi Scroll Bar",
+// .parent = "DALi",
+// .apptype = TBT_APP_DALI_SCROLL_BAR,
+// .icon_name = "dummy",
+// .info = "DALi Scroll Bar Functionality",
+// .result = 0,
+// .required_features_count = 1,
+// .features_required = {11}
+// },
+// #endif
+ #ifdef TBT_MODULE_APP_DALI_SCROLL
+
+ //DALi Test
+ {
+ .name = "DALi Scroll View",
+ .parent = "DALi",
+ .apptype = TBT_APP_DALI_SCROLL,
+ .icon_name = "dummy",
+ .info = "DALi Scroll Functionality",
+ .result = 0,
+ .required_features_count = 1,
+ .features_required = {11}
+ }
+ #endif
#endif
+
};
#ifdef TBT_MODULE_SENSOR
#define BT_ADAPTER_DEVICE_DISCOVERY_NONE -1
+#define BATTERY_SERVICE_UUID "0000180f-0000-1000-8000-00805f9b34fb"
+#define LINK_LOSS_SERVICE_UUID "00001803-0000-1000-8000-00805f9b34fb"
+
typedef enum
{
SERVICE_LISTED,
*/
bluetoothle_view *bluetoothle_view_add(Evas_Object *navi, tbt_info *tbt_info, Elm_Object_Item *item)
{
- DBG("bluetoothle_view_add");
-
RETVM_IF(NULL == navi, NULL, "navi is null");
bluetoothle_view *this = NULL;
this = (bluetoothle_view*)user_data;
RETM_IF(NULL == this, "view is NULL");
- result = bt_gatt_connect(device_info->remote_address, false);
- RETM_IF(result != BT_ERROR_NONE, "bt_gatt_connect failed --> error: %s", get_bluetooth_error(result));
- elm_object_text_set(this->bluetoothle_label, "gatt connecting...");
+ if(this->view->tbt_info->apptype == TBT_APP_BLE_GATT_CLIENT)
+ {
+ result = bt_gatt_connect(device_info->remote_address, false);
+ RETM_IF(result != BT_ERROR_NONE, "bt_gatt_connect failed --> error: %s", get_bluetooth_error(result));
+ elm_object_text_set(this->bluetoothle_label, "gatt connecting...");
+ }
elm_object_disabled_set(this->bluetoothle_btn, EINA_TRUE);
elm_object_disabled_set(this->disconnect_btn, EINA_FALSE);
+ DBG("IS BONDED %d", device_info->is_bonded);
+ DBG("IS CONNECTED %d", device_info->is_connected);
this->is_bonded = device_info->is_bonded;
}
/**
if(this->view->tbt_info->apptype == TBT_APP_BLE_GATT_CLIENT)
{
- this->bluetoothle_btn = ui_utils_push_button_add(this, table, "Discover", _control_button_pressed_cb);
- elm_table_pack(table, this->bluetoothle_btn, 0, 0, 1, 1);
+ if(get_device_type() == DEVICE_WEARABLE_360_360)
+ {
+ elm_table_padding_set(table, 0, 0);
+
+ this->bluetoothle_btn = ui_utils_push_button_add(this, table, "Discover", _control_button_pressed_cb);
+ elm_table_pack(table, this->bluetoothle_btn, 0, 0, 1, 1);
+
+ this->disconnect_btn = ui_utils_push_button_add(this, table, "Disconnect", _disconnect_button_pressed_cb);
+ elm_table_pack(table, this->disconnect_btn, 1, 0, 1, 1);
- this->disconnect_btn = ui_utils_push_button_add(this, table, "Disconnect", _disconnect_button_pressed_cb);
- elm_table_pack(table, this->disconnect_btn, 1, 0, 1, 1);
+ elm_object_disabled_set(this->disconnect_btn, EINA_TRUE);
- elm_object_disabled_set(this->disconnect_btn, EINA_TRUE);
+ this->read_btn = ui_utils_push_button_add(this, table, "Read", _read_button_pressed_cb);
+ elm_table_pack(table, this->read_btn, 2, 0, 1, 1);
- this->read_btn = ui_utils_push_button_add(this, table, "Read", _read_button_pressed_cb);
- elm_table_pack(table, this->read_btn, 0, 1, 1, 1);
+ this->write_btn = ui_utils_push_button_add(this, table, "Write", _write_button_pressed_cb);
+ elm_table_pack(table, this->write_btn, 3, 0, 1, 1);
- this->write_btn = ui_utils_push_button_add(this, table, "Write", _write_button_pressed_cb);
- elm_table_pack(table, this->write_btn, 1, 1, 1, 1);
+ this->expand_btn = ui_utils_push_button_add(this, table, "Expand", _expand_button_pressed_cb);
+ elm_table_pack(table, this->expand_btn, 4, 0, 1, 1);
+ }
- this->expand_btn = ui_utils_push_button_add(this, table, "Expand", _expand_button_pressed_cb);
- elm_table_pack(table, this->expand_btn, 2, 1, 1, 1);
+ else
+ {
+ this->bluetoothle_btn = ui_utils_push_button_add(this, table, "Discover", _control_button_pressed_cb);
+ elm_table_pack(table, this->bluetoothle_btn, 0, 0, 1, 1);
+
+ this->disconnect_btn = ui_utils_push_button_add(this, table, "Disconnect", _disconnect_button_pressed_cb);
+ elm_table_pack(table, this->disconnect_btn, 1, 0, 1, 1);
+
+ elm_object_disabled_set(this->disconnect_btn, EINA_TRUE);
+
+ this->read_btn = ui_utils_push_button_add(this, table, "Read", _read_button_pressed_cb);
+ elm_table_pack(table, this->read_btn, 0, 1, 1, 1);
- set_control_btn_state(SERVICE_LISTED, this);
+ this->write_btn = ui_utils_push_button_add(this, table, "Write", _write_button_pressed_cb);
+ elm_table_pack(table, this->write_btn, 1, 1, 1, 1);
+
+ this->expand_btn = ui_utils_push_button_add(this, table, "Expand", _expand_button_pressed_cb);
+ elm_table_pack(table, this->expand_btn, 2, 1, 1, 1);
+
+ set_control_btn_state(SERVICE_LISTED, this);
+ }
}
else if(this->view->tbt_info->apptype == TBT_APP_BLE_GATT_SERVER)
{
//Gatt Server control layout
- this->bluetoothle_btn = ui_utils_push_button_add(this, table, "Start Server", _control_button_pressed_cb);
- elm_table_pack(table, this->bluetoothle_btn, 0, 0, 3, 1);
+ if(get_device_type() == DEVICE_WEARABLE_360_360)
+ {
+ this->bluetoothle_btn = ui_utils_push_button_add(this, table, "Start Server", _control_button_pressed_cb);
+ elm_table_pack(table, this->bluetoothle_btn, 0, 0, 1, 1);
+
+ this->notify_btn = ui_utils_push_button_add(this, table, "Notify", _notify_button_pressed_cb);
+ elm_table_pack(table, this->notify_btn, 1, 0, 1, 1);
+ }
+ else
+ {
+ this->bluetoothle_btn = ui_utils_push_button_add(this, table, "Start Server", _control_button_pressed_cb);
+ elm_table_pack(table, this->bluetoothle_btn, 0, 0, 3, 1);
- this->notify_btn = ui_utils_push_button_add(this, table, "Notify", _notify_button_pressed_cb);
- elm_table_pack(table, this->notify_btn, 0, 1, 3, 1);
+ this->notify_btn = ui_utils_push_button_add(this, table, "Notify", _notify_button_pressed_cb);
+ elm_table_pack(table, this->notify_btn, 0, 1, 3, 1);
+ }
}
if (is_new_scanned_device_found(this, info) == true)
{
- bt_adapter_le_device_scan_result_info_s * device_info;
- device_info = malloc(sizeof(bt_adapter_le_device_scan_result_info_s));
+ bt_adapter_device_discovery_info_s * device_info;
+ device_info = malloc(sizeof(bt_adapter_device_discovery_info_s));
DBG("BLE remote_address: %s", info->remote_address);
if (device_info != NULL)
{
int result;
RETVM_IF(NULL == gatt_handle,false, "gatt_handle is NULL");
- bt_gatt_write_type_e write_type;
- result = bt_gatt_characteristic_get_write_type(gatt_handle, &write_type);
- RETVM_IF(result != BT_ERROR_NONE,false, "bt_gatt_characteristic_get_write_type error: %s", get_bluetooth_error(result));
+ char* uuid;
+ result = bt_gatt_get_uuid(gatt_handle, &uuid);
+ RETVM_IF(result != BT_ERROR_NONE, false, "bt_gatt_get_uuid error: %s", get_bluetooth_error(result));
+ DBG("selected service uuid %s", uuid);
- result = bt_gatt_characteristic_set_write_type(gatt_handle, BT_GATT_WRITE_TYPE_WRITE);
- RETVM_IF(result != BT_ERROR_NONE,false, "bt_gatt_characteristic_set_write_type error: %s", get_bluetooth_error(result));
+ if(!strcmp(uuid, LINK_LOSS_SERVICE_UUID))
+ {
+ DBG("Link Loss Service");
+ bt_gatt_write_type_e write_type;
+ result = bt_gatt_characteristic_get_write_type(gatt_handle, &write_type);
+ RETVM_IF(result != BT_ERROR_NONE,false, "bt_gatt_characteristic_get_write_type error: %s", get_bluetooth_error(result));
+
+ result = bt_gatt_characteristic_set_write_type(gatt_handle, BT_GATT_WRITE_TYPE_WRITE);
+ RETVM_IF(result != BT_ERROR_NONE,false, "bt_gatt_characteristic_set_write_type error: %s", get_bluetooth_error(result));
+ }
bt_gatt_h service;
result = bt_gatt_characteristic_get_service(gatt_handle, &service);
this->n_characteristics = total;
this->all_characteristics[index] = gatt_handle;
- char* uuid;
result = bt_gatt_get_uuid(gatt_handle, &uuid);
RETVM_IF(result != BT_ERROR_NONE,false, "bt_gatt_get_uuid error: %s", get_bluetooth_error(result));
DBG("uuid: %s", uuid);
RETM_IF(result != BT_ERROR_NONE, "bt_gatt_get_uuid error: %s", get_bluetooth_error(result));
DBG("selected service uuid %s", uuid);
- if(!strcmp(uuid, "0000180f-0000-1000-8000-00805f9b34fb"))
+ if(!strcmp(uuid, BATTERY_SERVICE_UUID))
{
DBG("Battery Service");
this->is_battery_svc_selected = true;
}
- else if(!strcmp(uuid, "00001803-0000-1000-8000-00805f9b34fb"))
+ else if(!strcmp(uuid, LINK_LOSS_SERVICE_UUID))
{
DBG("Link Loss Service");
this->is_link_loss_svc_selected = true;
int result;
+ bt_device_unset_bond_destroyed_cb();
if(view->view->tbt_info->apptype == TBT_APP_BLE_GATT_CLIENT)
{
bt_adapter_le_stop_scan();
+
}
else if(view->view->tbt_info->apptype == TBT_APP_BLE_GATT_SERVER)
{
static Evas_Object *app_comm_menu_list;
static bool is_app_control_tested;
-#ifdef USE_GENLIST
-typedef struct
-{
- int index;
- Elm_Object_Item *item;
- char* text;
-}item_data;
-
-static void _gl_del_cb(void *data, Evas_Object *obj EINA_UNUSED);
-static char *_gl_text_get_cb(void *data, Evas_Object *obj, const char *part);
-Elm_Object_Item* _d2d_elm_genlist_item_append(Evas_Object *list, char *item_text, Evas_Smart_Cb func, void *data);
-#endif
-static void _list_view_append(Evas_Object *list, char* item_text, Evas_Smart_Cb func, void *data);
-static Evas_Object* _list_view_add(Evas_Object *parent);
static void _app_destroy_cb(void* this);
static void _conv_service_listener_cb(conv_service_h service_handle, conv_channel_h channel_handle, conv_error_e error, conv_payload_h payload, void* user_data);
static void start_discovery_cb(void *data, Evas_Object *obj, void *event_info);
static void _conv_service_connected_cb(conv_service_h service_handle, conv_error_e error, conv_payload_h result, void* user_data);
-
-#ifdef USE_GENLIST
-static void _gl_del_cb(void *data, Evas_Object *obj EINA_UNUSED)
-{
- DBG("_gl_del_cb");
- item_data *id = data;
- RETM_IF(!id, "item is NULL");
- SAFE_DELETE(id);
-}
-
-static char *_gl_text_get_cb(void *data, Evas_Object *obj, const char *part)
-{
- DBG("_gl_text_get_cb");
- item_data *id = data;
- //const Elm_Genlist_Item_Class *itc = elm_genlist_item_item_class_get(id->item);
-
- //if(itc->item_style && !strcmp(itc->item_style, "default"))
- {
-
- if(part && !strcmp(part, "elm.text"))
- {
- char buf[1024];
- snprintf(buf, 1023, id->text);
- return strdup(buf);
- }
- }
- return NULL;
-}
-
-Elm_Object_Item* _d2d_elm_genlist_item_append(Evas_Object *list, char *item_text, Evas_Smart_Cb func, void *data)
-{
-
- DBG("_pick_elm_genlist_item_append%s:", item_text);
- static int index = 1;
- Elm_Genlist_Item_Class *itc = elm_genlist_item_class_new();
-
- itc->item_style = "default";
- itc->func.text_get = _gl_text_get_cb;
- itc->func.content_get = NULL;
- itc->func.del = _gl_del_cb;
-
- item_data *id = calloc(sizeof(item_data), 1);
- id->index = index++;
- id->text = strdup(item_text);
-
- elm_scroller_single_direction_set(list, ELM_SCROLLER_SINGLE_DIRECTION_HARD);
-
- //HOMOGENEOUS MODE
- //If item height is same when each style name is same, Use homogeneous mode.
- elm_genlist_homogeneous_set(list, EINA_TRUE);
-
- //COMPRESS MODE
- //For the Mobile view, because it has full window, compresse mode should be used.
- elm_genlist_mode_set(list, ELM_LIST_COMPRESS);
-
- Elm_Object_Item *item = elm_genlist_item_append(list, itc,id, NULL, ELM_GENLIST_ITEM_NONE, func, data);
- id->item = item;
-
- elm_genlist_item_class_free(itc);
-
- return item;
-}
-#endif
-
-static void _list_view_append(Evas_Object *list, char* item_text, Evas_Smart_Cb func, void *data)
-{
- RETM_IF(NULL == list, "view is NULL");
-
- #ifdef USE_GENLIST
- _d2d_elm_genlist_item_append(list, item_text, func, data);
- #else
- elm_list_item_append(list, item_text, NULL, NULL, func, data);
- elm_list_go(list);
- #endif
-
- evas_object_show(list);
-}
-
-static Evas_Object* _list_view_add(Evas_Object *parent)
-{
- Evas_Object *list = NULL;
-#ifdef USE_GENLIST
- list = elm_genlist_add(parent);
- RETVM_IF(!list, NULL, "elm_genlist_add failed");
-#else
- list = elm_list_add(parent);
- RETVM_IF(!list, NULL, "elm_list_add failed");
- elm_list_mode_set(list, ELM_LIST_COMPRESS);
- //evas_object_smart_callback_add(this->server_list, "selected", NULL, NULL);
-#endif
- return list;
-
-}
/**
* @function d2d_view_add
* @since_tizen 2.3
this->view = calloc(1, sizeof(common_view));
RETVM_IF(!this->view, NULL, "calloc failed");
- tbt_info->layout_group = "3_part_cnt_cnt_btn";
- tbt_info->layout_file = get_edje_path("3_part_cnt2.75_cnt_btn.edj");
+ tbt_info->layout_group = "d2d_viewer";
+ tbt_info->layout_file = get_edje_path("d2d_viewer.edj");
common_view_add(navi, tbt_info, item, this->view, _app_destroy_cb, this);
if (tbt_info->apptype == TBT_APP_D2D_CLIENT)
{
+ this->server_list = elm_list_add(this->view->layout);
+ elm_list_mode_set(this->server_list, ELM_LIST_COMPRESS);
+ evas_object_smart_callback_add(this->server_list, "selected", NULL, NULL);
+ elm_list_item_append(this->server_list, "D2D discover", NULL, NULL, start_discovery_cb, this);
- this->server_list = _list_view_add(this->view->layout);
- _list_view_append(this->server_list, "D2D discover", start_discovery_cb, this);
- elm_object_part_content_set(this->view->layout, "1cnt", this->server_list);
+ elm_list_go(this->server_list);
- found_device_list = _list_view_add(this->view->layout);
+ elm_object_part_content_set(this->view->layout, "list_container", this->server_list);
- service_list = _list_view_add(this->view->layout);
- //elm_list_select_mode_set(service_list, ELM_OBJECT_SELECT_MODE_ALWAYS);
+ found_device_list = elm_list_add(this->view->layout);
+ elm_list_mode_set(found_device_list, ELM_LIST_COMPRESS);
+ evas_object_smart_callback_add(found_device_list, "selected", NULL, NULL);
- app_comm_menu_list = _list_view_add(this->view->layout);
+ service_list = elm_list_add(this->view->layout);
+ elm_list_mode_set(service_list, ELM_LIST_COMPRESS);
+ evas_object_smart_callback_add(service_list, "selected", NULL, NULL);
+ elm_list_select_mode_set(service_list, ELM_OBJECT_SELECT_MODE_ALWAYS);
+
+ app_comm_menu_list = elm_list_add(this->view->layout);
+ elm_list_mode_set(app_comm_menu_list, ELM_LIST_COMPRESS);
+ evas_object_smart_callback_add(app_comm_menu_list, "selected", NULL, NULL);
}
else if (tbt_info->apptype == TBT_APP_D2D_SERVER)
{
make_service(this);
- this->client_msg_list = _list_view_add(this->view->layout);
+ this->client_msg_list = elm_list_add(this->view->layout);
elm_list_mode_set(this->client_msg_list, ELM_LIST_COMPRESS);
- _list_view_append(this->client_msg_list, "Ready", NULL, NULL);
+ elm_list_item_append(this->client_msg_list, "Ready", NULL, NULL, NULL, NULL);
+
+ elm_list_go(this->client_msg_list);
- elm_object_part_content_set(this->view->layout, "1cnt", this->client_msg_list);
+ elm_object_part_content_set(this->view->layout, "list_container", this->client_msg_list);
}
return this;
RETM_IF(ret != CONV_ERROR_NONE, "conv_discovery_start failed with error : %s", get_d2d_error(ret));
}
-static int app_control_start(conv_service_h service_handle)
+
+static int app_control_start(conv_service_h service_handle, void* data)
{
DBG("app_control_start");
int ret;
+
+ service_data *s_data = (service_data*) data;
+ s_data->service_handle = service_handle;
+ ret = conv_service_set_listener_cb(service_handle, message_listener, (void*)s_data);
+ DBG("conv_service_set_listener_cb failed with error : %s", get_d2d_error(ret));
ret = conv_service_start(service_handle, NULL, NULL);
RETVM_IF(ret != CONV_ERROR_NONE,0, "conv_service_start failed with error : %s", get_d2d_error(ret));
- is_app_control_tested = true;
- conv_payload_h payload_handle;
-
- ret = conv_payload_create(&payload_handle);
- RETVM_IF(ret != CONV_ERROR_NONE,0, "conv_payload_create failed with error : %s", get_d2d_error(ret));
-
- app_control_h app_control = NULL;
- app_control_create(&app_control);
- app_control_set_app_id(app_control, "org.tizen.coretbt_uiapp");
- app_control_set_operation(app_control, APP_CONTROL_OPERATION_MAIN);
-
- ret = conv_payload_set_app_control(payload_handle, "app_control", app_control);
- RETVM_IF(ret != CONV_ERROR_NONE,0, "conv_payload_set_app_control failed with error : %s", get_d2d_error(ret));
- ret = conv_payload_set_string(payload_handle, "reply", "0");
- RETVM_IF(ret != CONV_ERROR_NONE,0, "conv_payload_set_string failed with error : %s", get_d2d_error(ret));
- ret = conv_service_publish(service_handle, NULL, payload_handle);
- RETVM_IF(ret != CONV_ERROR_NONE,0, "conv_service_publish failed with error : %s", get_d2d_error(ret));
-
- sleep(3);
-
- ret = conv_service_stop(service_handle, NULL, NULL);
- RETVM_IF(ret != CONV_ERROR_NONE,0, "conv_service_stop failed with error : %s", get_d2d_error(ret));
-
- printf ("conv_payload_destroy called..\n");
- ret = conv_payload_destroy(payload_handle);
- RETVM_IF(ret != CONV_ERROR_NONE,0, "conv_payload_destroy failed with error : %s", get_d2d_error(ret));
-
return 0;
}
case CONV_SERVICE_REMOTE_APP_CONTROL :
DBG("CONV_SERVICE_REMOTE_APP_CONTROL");
- ret = app_control_start(service_handle);
+ ret = app_control_start(service_handle, s_data);
RETM_IF(ret != CONV_ERROR_NONE, "app_control_start failed with error : %s", get_d2d_error(ret));
break;
case CONV_SERVICE_REMOTE_INTERACTION:
int ret = conv_channel_create(&channel_handle);
DBG("conv_channel_create : %s", get_d2d_error(ret));
- ret = conv_channel_set_string(channel_handle, "uri", "org.example.d2d_test");
+ ret = conv_channel_set_string(channel_handle, "uri", "org.tizen.tbtcoreapp");
DBG("conv_channel_set_string : %s", get_d2d_error(ret));
- ret = conv_channel_set_string(channel_handle, "channel_id", "test");
+ ret = conv_channel_set_string(channel_handle, "channel_id", "tbtcoreapp");
DBG("conv_channel_set_string : %s", get_d2d_error(ret));
ret = conv_payload_create(&payload_handle);
DBG("conv_payload_create : %s", get_d2d_error(ret));
conv_payload_h payload_handle;
int ret = conv_channel_create(&channel_handle);
- ret = conv_channel_set_string(channel_handle, "uri", "org.example.d2d_test");
- ret = conv_channel_set_string(channel_handle, "channel_id", "test");
+ ret = conv_channel_set_string(channel_handle, "uri", "org.tizen.tbtcoreapp");
+ ret = conv_channel_set_string(channel_handle, "channel_id", "tbtcoreapp");
ret = conv_payload_create(&payload_handle);
//To-do: implementation for "Read" API
DBG("conv_channel_create : %s", get_d2d_error(ret));
ret = conv_channel_create(&channel_handle);
DBG("conv_channel_create : %s", get_d2d_error(ret));
- ret = conv_channel_set_string(channel_handle, "uri", "org.example.d2d_test");
+ ret = conv_channel_set_string(channel_handle, "uri", "org.tizen.tbtcoreapp");
DBG("conv_channel_set_string : %s", get_d2d_error(ret));
- ret = conv_channel_set_string(channel_handle, "channel_id", "test");
+ ret = conv_channel_set_string(channel_handle, "channel_id", "tbtcoreapp");
DBG("conv_channel_set_string : %s", get_d2d_error(ret));
ret = conv_payload_create(&payload_handle);
DBG("conv_payload_create : %s", get_d2d_error(ret));
d2d_view* this = (d2d_view*)s_data->view;
conv_service_h listner_handle = (conv_service_h)s_data->service_handle;
conv_payload_get_string(result, "result_type", &test);
+ int ret;
DBG("result_type : %s", test);
// elm_list_item_append(app_comm_menu_list, "App Launch", NULL, NULL, app_launch_cb, listner_handle);
// elm_list_item_append(app_comm_menu_list, "Read", NULL, NULL, read_cb, listner_handle);
- //elm_list_item_append(app_comm_menu_list, "Publish", NULL, NULL, publish_cb, listner_handle);
- //elm_list_go(app_comm_menu_list);
+ elm_list_item_append(app_comm_menu_list, "Publish", NULL, NULL, publish_cb, listner_handle);
+ elm_list_go(app_comm_menu_list);
+ elm_object_part_content_set(this->view->layout, "list_container", app_comm_menu_list);
+ }
+
+
+ if (!strcmp(test, "onStart"))
+ {
+ DBG("==== ON-START ====");
+ is_app_control_tested = true;
+ conv_payload_h payload_handle;
+
+ ret = conv_payload_create(&payload_handle);
+ RETM_IF(ret != CONV_ERROR_NONE, "conv_payload_create failed with error : %s", get_d2d_error(ret));
+
+ app_control_h app_control = NULL;
+ app_control_create(&app_control);
+ app_control_set_app_id(app_control, "org.tizen.coretbt_uiapp");
+ app_control_set_operation(app_control, APP_CONTROL_OPERATION_MAIN);
+
+ ret = conv_payload_set_app_control(payload_handle, "app_control", app_control);
+ RETM_IF(ret != CONV_ERROR_NONE, "conv_payload_set_app_control failed with error : %s", get_d2d_error(ret));
+ ret = conv_payload_set_string(payload_handle, "reply", "0");
+ RETM_IF(ret != CONV_ERROR_NONE, "conv_payload_set_string failed with error : %s", get_d2d_error(ret));
+ ret = conv_service_publish(s_data->service_handle, NULL, payload_handle);
+ RETM_IF(ret != CONV_ERROR_NONE, "conv_service_publish failed with error : %s", get_d2d_error(ret));
+ sleep(3);
+
+ ret = conv_service_stop(s_data->service_handle, NULL, NULL);
+ RETM_IF(ret != CONV_ERROR_NONE, "conv_service_stop failed with error : %s", get_d2d_error(ret));
+
+ DBG("conv_payload_destroy called..\n");
+ ret = conv_payload_destroy(payload_handle);
+ RETM_IF(ret != CONV_ERROR_NONE, "conv_payload_destroy failed with error : %s", get_d2d_error(ret));
- _list_view_append(app_comm_menu_list, "Publish", publish_cb, listner_handle);
- elm_object_part_content_set(this->view->layout, "1cnt", app_comm_menu_list);
}
+
+ //
+
}
static int app_communication_menu(conv_service_h service_handle, void* data)
int ret = conv_channel_create(&channel_handle);
RETVM_IF(ret != CONV_ERROR_NONE, ret, "conv_channel_create failed with error : %s", get_d2d_error(ret));
- ret = conv_channel_set_string(channel_handle, "uri", "org.example.d2d_test");
+ ret = conv_channel_set_string(channel_handle, "uri", "org.tizen.tbtcoreapp");
RETVM_IF(ret != CONV_ERROR_NONE, ret, "conv_channel_set_string failed with error : %s", get_d2d_error(ret));
- ret = conv_channel_set_string(channel_handle, "channel_id", "test");
+ ret = conv_channel_set_string(channel_handle, "channel_id", "tbtcoreapp");
RETVM_IF(ret != CONV_ERROR_NONE, ret, "conv_channel_set_string failed with error : %s", get_d2d_error(ret));
service_data* s_data = (service_data*)malloc(sizeof(service_data));
s_data->service_handle = clone_service_handle;
- //elm_list_item_append(service_list, service_id, NULL, NULL, service_selected_cb, s_data);
- //elm_list_go(service_list);
+ elm_list_item_append(service_list, service_id, NULL, NULL, service_selected_cb, s_data);
- _list_view_append(service_list, service_id, service_selected_cb, s_data);
- elm_object_part_content_set(this->view->layout, "1cnt", service_list);
+ elm_list_go(service_list);
+ elm_object_part_content_set(this->view->layout, "list_container", service_list);
conv_channel_h channel_h;
ret = conv_channel_create(&channel_h);
if( device_name!=NULL)
{
- //elm_list_item_append(found_device_list, device_name, NULL, NULL, device_selected_cb, this);
- //elm_list_go(found_device_list);
-
- _list_view_append(found_device_list, device_name, device_selected_cb, this);
- elm_object_part_content_set(this->view->layout, "1cnt", found_device_list);
+ elm_list_item_append(found_device_list, device_name, NULL, NULL, device_selected_cb, this);
+ elm_list_go(found_device_list);
+ elm_object_part_content_set(this->view->layout, "list_container", found_device_list);
}
//DBG("Device----------------------------");
ret = conv_channel_create(&this->channel_handle);
RETM_IF(ret != CONV_ERROR_NONE, "conv_channel_create failed with error : %s", get_d2d_error(ret));
- ret = conv_channel_set_string(this->channel_handle, "uri", "org.example.d2d_test");
+ ret = conv_channel_set_string(this->channel_handle, "uri", "org.tizen.tbtcoreapp");
RETM_IF(ret != CONV_ERROR_NONE, "conv_channel_set_string failed with error : %s", get_d2d_error(ret));
- ret = conv_channel_set_string(this->channel_handle, "channel_id", "test");
+ ret = conv_channel_set_string(this->channel_handle, "channel_id", "tbtcoreapp");
RETM_IF(ret != CONV_ERROR_NONE, "conv_channel_set_string failed with error : %s", get_d2d_error(ret));
ret = conv_payload_create(&this->payld_handle);
if (!strcmp(test, "onClientConnect"))
{
- //elm_list_item_append(this->client_msg_list, "Client Connected", NULL, NULL, NULL, NULL);
- //elm_list_go(this->client_msg_list);
-
- _list_view_append(this->client_msg_list, "Client Connected", NULL, NULL);
+ elm_list_item_append(this->client_msg_list, "Client Connected", NULL, NULL, NULL, NULL);
+ elm_list_go(this->client_msg_list);
}
- else if (!strcmp(test, "onMessage"))
+ if (!strcmp(test, "onMessage"))
{
int ret = conv_payload_get_string(payload, "payload_type", &payload_type);
RETM_IF(ret != CONV_ERROR_NONE, "conv_payload_get_string failed with error: %s", get_d2d_error(ret));
strcat(payload_type, " Received");
-
- //elm_list_item_append(this->client_msg_list, payload_type, NULL, NULL, NULL, NULL);
- //elm_list_go(this->client_msg_list);
-
- _list_view_append(this->client_msg_list, payload_type, NULL, NULL);
+ elm_list_item_append(this->client_msg_list, payload_type, NULL, NULL, NULL, NULL);
+ elm_list_go(this->client_msg_list);
DBG("payload_type : %s", payload_type);
DBG( "==== Received ====");