diff --git a/tests/html/bluetooth/bluetooth_battery_level.html b/tests/html/bluetooth/bluetooth_battery_level.html new file mode 100644 index 000000000000..77dccf1e40cc --- /dev/null +++ b/tests/html/bluetooth/bluetooth_battery_level.html @@ -0,0 +1,36 @@ + + +Battery Level + + +

+    
+    
+
+
diff --git a/tests/html/bluetooth_battery_level.html b/tests/html/bluetooth/bluetooth_battery_level_with_filter.html
similarity index 68%
rename from tests/html/bluetooth_battery_level.html
rename to tests/html/bluetooth/bluetooth_battery_level_with_filter.html
index 8618df078599..269aa4e5ab26 100644
--- a/tests/html/bluetooth_battery_level.html
+++ b/tests/html/bluetooth/bluetooth_battery_level_with_filter.html
@@ -1,23 +1,24 @@
 
 
-Battery Level
+Battery Level with filters
 
     
     
     
     

+    
     
 
 
diff --git a/tests/html/bluetooth_characteristic_info.html b/tests/html/bluetooth/bluetooth_characteristic_info.html
similarity index 84%
rename from tests/html/bluetooth_characteristic_info.html
rename to tests/html/bluetooth/bluetooth_characteristic_info.html
index 84cebd830141..d3eb3a2d2552 100644
--- a/tests/html/bluetooth_characteristic_info.html
+++ b/tests/html/bluetooth/bluetooth_characteristic_info.html
@@ -6,14 +6,19 @@
     
     
     

+    
     
 
 
diff --git a/tests/html/bluetooth/bluetooth_characteristic_read_value_test_cases.html b/tests/html/bluetooth/bluetooth_characteristic_read_value_test_cases.html
new file mode 100644
index 000000000000..45b60128de93
--- /dev/null
+++ b/tests/html/bluetooth/bluetooth_characteristic_read_value_test_cases.html
@@ -0,0 +1,66 @@
+
+
+Characterstic's ReadValue Test Cases
+
+    
+

+    
+    
+
+
diff --git a/tests/html/bluetooth/bluetooth_characteristic_write_value_test_cases.html b/tests/html/bluetooth/bluetooth_characteristic_write_value_test_cases.html
new file mode 100644
index 000000000000..db9d9ce084f6
--- /dev/null
+++ b/tests/html/bluetooth/bluetooth_characteristic_write_value_test_cases.html
@@ -0,0 +1,80 @@
+
+
+Characterstic's WriteValue Test Cases
+
+    
+

+    
+    
+
+
diff --git a/tests/html/bluetooth_descriptor_info.html b/tests/html/bluetooth/bluetooth_descriptor_info.html
similarity index 82%
rename from tests/html/bluetooth_descriptor_info.html
rename to tests/html/bluetooth/bluetooth_descriptor_info.html
index c657d217697e..47d9e294295d 100644
--- a/tests/html/bluetooth_descriptor_info.html
+++ b/tests/html/bluetooth/bluetooth_descriptor_info.html
@@ -7,18 +7,23 @@
     
     
     

+    
     
 
 
diff --git a/tests/html/bluetooth/bluetooth_descriptor_read_value_test_cases.html b/tests/html/bluetooth/bluetooth_descriptor_read_value_test_cases.html
new file mode 100644
index 000000000000..8a2e553652b0
--- /dev/null
+++ b/tests/html/bluetooth/bluetooth_descriptor_read_value_test_cases.html
@@ -0,0 +1,57 @@
+
+
+Descriptor's ReadValue Test Cases
+
+    
+

+    
+    
+
+
diff --git a/tests/html/bluetooth/bluetooth_descriptor_write_value_test_cases.html b/tests/html/bluetooth/bluetooth_descriptor_write_value_test_cases.html
new file mode 100644
index 000000000000..0553023ca7c7
--- /dev/null
+++ b/tests/html/bluetooth/bluetooth_descriptor_write_value_test_cases.html
@@ -0,0 +1,71 @@
+
+
+Descriptor's WriteValue Test Cases
+
+    
+

+    
+    
+
+
diff --git a/tests/html/bluetooth_device_disconnect.html b/tests/html/bluetooth/bluetooth_device_disconnect.html
similarity index 75%
rename from tests/html/bluetooth_device_disconnect.html
rename to tests/html/bluetooth/bluetooth_device_disconnect.html
index 715d3d16a24c..3f9771dfee69 100644
--- a/tests/html/bluetooth_device_disconnect.html
+++ b/tests/html/bluetooth/bluetooth_device_disconnect.html
@@ -9,33 +9,34 @@
     
     
     

+    
     
 
 
diff --git a/tests/html/bluetooth_device_info.html b/tests/html/bluetooth/bluetooth_device_info.html
similarity index 79%
rename from tests/html/bluetooth_device_info.html
rename to tests/html/bluetooth/bluetooth_device_info.html
index 906dc200362c..6df38acbeae0 100644
--- a/tests/html/bluetooth_device_info.html
+++ b/tests/html/bluetooth/bluetooth_device_info.html
@@ -7,17 +7,18 @@
     
     
     

+    
     
 
 
diff --git a/tests/html/bluetooth/bluetooth_functions.js b/tests/html/bluetooth/bluetooth_functions.js
new file mode 100644
index 000000000000..b0f73c79c0aa
--- /dev/null
+++ b/tests/html/bluetooth/bluetooth_functions.js
@@ -0,0 +1,32 @@
+function clear() {
+    document.getElementById("log").textContent = "";
+}
+
+function log(line) {
+    document.getElementById("log").textContent += timeStamp() + line + '\n';
+}
+
+function asciiToDecimal(bytestr) {
+    var result = [];
+    for(i = 0; i < bytestr.length; i++) {
+        result[i] = bytestr.charCodeAt(i) ;
+    }
+    return result;
+}
+
+function populate(testCases){
+    for(i = 0; i < testCases.length; ++i) {
+        var btn = document.createElement('button');
+        btn.setAttribute('onclick','onButtonClick(' + i + ')');
+        btn.innerHTML = 'Test '+ (i+1);
+        document.getElementById('buttons').appendChild(btn);
+    }
+}
+
+function timeStamp() {
+    var date = new Date;
+    var hours = date.getHours();
+    var minutes = "0" + date.getMinutes();
+    var seconds = "0" + date.getSeconds();
+    return hours + ':' + minutes.substr(-2) + ':' + seconds.substr(-2) + ' ';
+}
diff --git a/tests/html/bluetooth/bluetooth_get_characteristic_test_cases.html b/tests/html/bluetooth/bluetooth_get_characteristic_test_cases.html
new file mode 100644
index 000000000000..5c9c2fe4f736
--- /dev/null
+++ b/tests/html/bluetooth/bluetooth_get_characteristic_test_cases.html
@@ -0,0 +1,82 @@
+
+
+GetCharacteristic Test Cases
+
+    
+

+    
+    
+
+
diff --git a/tests/html/bluetooth/bluetooth_get_characteristics_test_cases.html b/tests/html/bluetooth/bluetooth_get_characteristics_test_cases.html
new file mode 100644
index 000000000000..81c3e42bb476
--- /dev/null
+++ b/tests/html/bluetooth/bluetooth_get_characteristics_test_cases.html
@@ -0,0 +1,87 @@
+
+
+GetCharacteristics Test Cases
+
+    
+

+    
+    
+
+
diff --git a/tests/html/bluetooth/bluetooth_get_descriptor_test_cases.html b/tests/html/bluetooth/bluetooth_get_descriptor_test_cases.html
new file mode 100644
index 000000000000..e37a0dabd283
--- /dev/null
+++ b/tests/html/bluetooth/bluetooth_get_descriptor_test_cases.html
@@ -0,0 +1,66 @@
+
+
+GetDescriptor Test Cases
+
+    
+

+    
+    
+
+
diff --git a/tests/html/bluetooth/bluetooth_get_descriptors_test_cases.html b/tests/html/bluetooth/bluetooth_get_descriptors_test_cases.html
new file mode 100644
index 000000000000..3c71e27267c2
--- /dev/null
+++ b/tests/html/bluetooth/bluetooth_get_descriptors_test_cases.html
@@ -0,0 +1,68 @@
+
+
+GetDescriptors Test Cases
+
+    
+ +

+    
+    
+
+
diff --git a/tests/html/bluetooth/bluetooth_get_included_service_test_cases.html b/tests/html/bluetooth/bluetooth_get_included_service_test_cases.html
new file mode 100644
index 000000000000..54e877546b5f
--- /dev/null
+++ b/tests/html/bluetooth/bluetooth_get_included_service_test_cases.html
@@ -0,0 +1,66 @@
+
+
+GetIncludedService Test Cases
+
+    
+

+    
+    
+
+
diff --git a/tests/html/bluetooth/bluetooth_get_included_services_test_cases.html b/tests/html/bluetooth/bluetooth_get_included_services_test_cases.html
new file mode 100644
index 000000000000..f0291469de7b
--- /dev/null
+++ b/tests/html/bluetooth/bluetooth_get_included_services_test_cases.html
@@ -0,0 +1,68 @@
+
+
+GetIncludedServices Test Cases
+
+    
+

+    
+    
+
+
diff --git a/tests/html/bluetooth/bluetooth_get_primary_service_test_cases.html b/tests/html/bluetooth/bluetooth_get_primary_service_test_cases.html
new file mode 100644
index 000000000000..160703754cf2
--- /dev/null
+++ b/tests/html/bluetooth/bluetooth_get_primary_service_test_cases.html
@@ -0,0 +1,74 @@
+
+
+GetPrimaryService Test Cases
+
+    
+

+    
+    
+
+
diff --git a/tests/html/bluetooth/bluetooth_get_primary_services_test_cases.html b/tests/html/bluetooth/bluetooth_get_primary_services_test_cases.html
new file mode 100644
index 000000000000..4a00c0efa32d
--- /dev/null
+++ b/tests/html/bluetooth/bluetooth_get_primary_services_test_cases.html
@@ -0,0 +1,75 @@
+
+
+GetPrimaryServices Test Cases
+
+    
+

+    
+    
+
+
diff --git a/tests/html/bluetooth_included_service_info.html b/tests/html/bluetooth/bluetooth_included_service_info.html
similarity index 82%
rename from tests/html/bluetooth_included_service_info.html
rename to tests/html/bluetooth/bluetooth_included_service_info.html
index 76a351606b79..094ce5fd6a56 100644
--- a/tests/html/bluetooth_included_service_info.html
+++ b/tests/html/bluetooth/bluetooth_included_service_info.html
@@ -7,17 +7,18 @@
     
     
     

+    
     
 
 
diff --git a/tests/html/bluetooth_primary_service_info.html b/tests/html/bluetooth/bluetooth_primary_service_info.html
similarity index 81%
rename from tests/html/bluetooth_primary_service_info.html
rename to tests/html/bluetooth/bluetooth_primary_service_info.html
index 606d342c85d6..3187400b00af 100644
--- a/tests/html/bluetooth_primary_service_info.html
+++ b/tests/html/bluetooth/bluetooth_primary_service_info.html
@@ -7,17 +7,18 @@
     
     
     

+    
     
 
 
diff --git a/tests/html/bluetooth/bluetooth_primary_services_info.html b/tests/html/bluetooth/bluetooth_primary_services_info.html
new file mode 100644
index 000000000000..cab413f83601
--- /dev/null
+++ b/tests/html/bluetooth/bluetooth_primary_services_info.html
@@ -0,0 +1,57 @@
+
+
+Primary Services info
+
+    
+    
+    
+    
+    

+    
+    
+
+
diff --git a/tests/html/bluetooth/bluetooth_request_device_test_cases.html b/tests/html/bluetooth/bluetooth_request_device_test_cases.html
new file mode 100644
index 000000000000..4e42fdeeeab8
--- /dev/null
+++ b/tests/html/bluetooth/bluetooth_request_device_test_cases.html
@@ -0,0 +1,73 @@
+
+
+RequestDevice Test Cases
+
+    
+

+    
+    
+
+