diff --git a/communication/bluetooth_on/src/main/js/test/BluetoothPair.test.js b/communication/bluetooth_on/src/main/js/test/BluetoothPair.test.js index 168d0cf268587ca4acae3c7659d8d9876da973e7..c5667ed5ff0d767a55b112519590a9be05295f8a 100644 --- a/communication/bluetooth_on/src/main/js/test/BluetoothPair.test.js +++ b/communication/bluetooth_on/src/main/js/test/BluetoothPair.test.js @@ -75,7 +75,8 @@ describe('bluetoothhostTest2', function() { */ it('SUB_COMMUNICATION_BLUETOOTH_BR_Pair_0200', 0, async function (done) { function PinRequiredParam(data) { - console.info("[bluetooth_js] pinRequired on:" + JSON.stringify(data)); + console.info("[bluetooth_js] pinRequired on:" + + JSON.stringify(data.deviceId)+JSON.stringify(data.pinCode)); bluetooth.setDevicePairingConfirmation(data.deviceId,false); } bluetooth.BLE.on('pinRequired', PinRequiredParam); @@ -286,3 +287,4 @@ describe('bluetoothhostTest2', function() { } + diff --git a/communication/wifi_standard/src/main/js/test/WifiCandidateNetWork.test.js b/communication/wifi_standard/src/main/js/test/WifiCandidateNetWork.test.js index 0d5e8b2ab98838f6f226b75a79b20a3d319bf6e5..15ee2673e10b484a355f973bf41744dec89075e3 100644 --- a/communication/wifi_standard/src/main/js/test/WifiCandidateNetWork.test.js +++ b/communication/wifi_standard/src/main/js/test/WifiCandidateNetWork.test.js @@ -125,6 +125,13 @@ export default function actsWifiCandidateNetWorkTest() { "preSharedKey": "12345678", "isHiddenSsid": false, "securityType": wifiSecurityType.WIFI_SEC_TYPE_PSK, + "netId": -1, + "ipType": 1, + "creatorUid": 7, + "disableReason": 0, + "randomMacType": 0, + "randomMacAddr": "11:22:33:44:55:66", + "staticIp": {"ipAddress": 1284752956,"gateway": 1284752936}, }; await wifi.addCandidateConfig(wifiDeviceConfig) .then(netWorkId => {