Commit Graph

103 Commits (15a17dc0533f937c96cdb1f114f29313c69ab7c1)

Author SHA1 Message Date
Rajkumar Kanagaraj 6824b14e48 CMake: rename greentea test macro 2021-02-02 07:43:40 -08:00
Paul Szczepanek 2fe6c7aa52 upgrade gtest to 1.10 2021-01-26 17:25:44 +00:00
Paul Szczepanek 5d26114458 astyle 2021-01-19 14:47:02 +00:00
Paul Szczepanek 5ef1f161c3
Update cert for testing server 2021-01-19 13:25:16 +00:00
Hugues Kamba 088ce195b6 CMake: Add support for netsocket/network Greentea tests
The netsocket/network Greentea tests can now be built with CMake
2021-01-11 16:34:07 +00:00
Rajkumar Kanagaraj 48829eee60 CMake: Add CMake support for netsocket greentea test 2021-01-05 09:11:22 -08:00
Martin Kojtal 9315f05719
Merge pull request #13809 from jeromecoutant/PR_CELLULAR
Remove Cellular dependency in netsocket
2020-12-17 15:41:41 +00:00
jeromecoutant 9eb86a2345 Cellular unittests update 2020-12-17 15:36:44 +01:00
Martin Kojtal e5e315eb80
Merge pull request #13936 from artokin/mac_address_set_get_mbed_os_master
Network interface MAC address set/get
2020-12-09 05:55:49 +00:00
jeromecoutant 8e58d64e13 Remove Cellular dependency in netsocket
Tip: Create a .mbedignore file with

connectivity/cellular*
connectivity/drivers/cellular*
2020-12-03 18:16:33 +01:00
Arto Kinnunen 6a28bce1dd Remove API changes
-Remove Nanostack::add_ethernet_interface API change
-Add get_mac_address to MeshEthernetInterface
-Fix compiler warnings by adding overrides
2020-11-30 13:49:33 +02:00
Arto Kinnunen 9ede631e76 Update EmacTestNetworkStack
-Uncomment get_mac_address
-Document set_mac_address
2020-11-25 09:32:23 +02:00
Arto Kinnunen 636c19af16 Fix unittests
Use path in "mbed-trace/mbed_trace.h" to keep unittest happy.
2020-11-25 09:29:59 +02:00
Martin Kojtal 57bbb4739b
Merge pull request #13085 from pea-pod/remove-deprecated-mbed-assert
Change MBED_STATIC_ASSERTs version for built-in
2020-11-24 13:38:07 +00:00
Arto Kinnunen 40c038555d Fix method description 2020-11-24 12:17:54 +02:00
Arto Kinnunen 913ac8c2b2 Follow Mbed OS coding style 2020-11-24 11:46:20 +02:00
Arto Kinnunen f07030255f Update EMAC connect logic with MAC address change
Do not fail EMAC interface during connect if MAC address change is
not supported in the selected interface.
2020-11-24 11:23:36 +02:00
Arto Kinnunen 2f610340ba Review corrections
-Update method set_mac_address description
-Update EMAC test method return value
2020-11-23 10:11:03 +02:00
Arto Kinnunen d001b7a441 Update unittests 2020-11-20 10:06:57 +02:00
Arto Kinnunen 82964a3a0c Update set_mac_address signature
Use nsapi_size_t instread os size_t.
2020-11-20 10:05:35 +02:00
Arto Kinnunen e1e0f89699 MAC address set/get support for EMAC interface
Add support to set and get MAC address from EMAC interface.
2020-11-18 17:26:04 +02:00
Arto Kinnunen a607be6623 Method for adding network interface MAC address
Add method set_mac_address to set network interface MAC address.
2020-11-18 17:17:54 +02:00
Martin Kojtal fad7f344e7
Merge pull request #13870 from rajkan01/feature-cmake-review-comment
CMake: Address review comment from PR#13566
2020-11-18 09:42:09 +00:00
Martin Kojtal 1bd5ce6af2
Merge pull request #13671 from balajicyp/topic/setsockopt_ip_tos
Add an socket option to set type of service to set specific precedence for QoS
2020-11-18 09:36:06 +00:00
Rajkumar Kanagaraj a044bfa9c1 CMake: Add more information to TODO comment 2020-11-12 11:27:11 +00:00
Hugues Kamba bf84a5b329 CMake: Rename CMake targets
* mbed-os renamed mbed-core
* mbed-os-<COMPONENT> renamed mbed-<COMPONENT>
2020-11-06 17:25:22 +00:00
Hugues Kamba c82e8c2337 CMake: Restore rtos api and netsocket presence macro names
The old tools rely on the old names to build
2020-11-06 17:25:22 +00:00
Martin Kojtal 8529e88e61 cmake: fix present inclusion
We use only _PRESENT macros for components if they are enabled. Use the same in
the mbed.h file or anywhere else.
2020-11-06 17:25:21 +00:00
Hugues Kamba fa98689639 CMake: Componentize Mbed OS into multiple CMake targets (#13732)
Aside from the core mbed-os CMake target, a number of targets have been created so they can optionally be included by application executables that require them using `target_link_libraries()`.

Co-authored-by: Martin Kojtal <martin.kojtal@arm.com>
Co-authored-by: Rajkumar Kanagaraj <rajkumar.kanagaraj@arm.com>
2020-11-06 17:25:21 +00:00
Hugues Kamba 396ddc7a4d CMake: Fix build due to system_storage and netsocket dir move in master 2020-11-06 17:25:17 +00:00
Martin Kojtal 24c4f308be
Merge pull request #13796 from balajicyp/topic/wep_security_fix_test_readme
Update README.md to remove WEP test case with NULL data
2020-10-27 14:04:12 +00:00
pea-pod 507181d262 Change MBED_STATIC_ASSERTs version for built-in 2020-10-27 08:30:40 -05:00
Martin Kojtal 78c8d84214
Merge pull request #13808 from harmut01/license_refactor
Remove erroneous character from SPDX identifer
2020-10-27 09:03:41 +00:00
Harrison Mutai 6bfe651aad Remove erroneous character from SPDX identifer
Erroneous '/' was appended to start of comment. This was causing CMake
warning during complition. Removes character from affected files.
2020-10-23 15:08:58 +01:00
Balaji Subramanyam 7824340676 Update README.md to remove WEP test case with NULL data 2020-10-21 10:00:27 -07:00
Martin Kojtal 00aee87ef2
Merge pull request #13654 from balajicyp/topic/wep_security_fix_testcase_update
Summary of changes
Remove WEP security Test Case with NULL as WEP security Key are sequence of Hex Values , the character "NULL" is (0x00) it is a valid value ( for ex: this is key index, followed by length and hex key array).

Impact of changes
Remove the test case for NULL( "" )key with NSAPI_SECURITY_WEP to test return value with NSAPI_ERROR_PARAMETER

The set_credentials(const char *ssid, const char *pass, nsapi_security_t security) API has no key length, the key length is derived by using strlen(pass), which works if the pass ( is a string) , but in case of NSAPI_SECURITY_WEP and NSAPI_SECURITY_WPA2_ENT, the key does not happen to be string but a hex char array.

WEP security Key are sequence of Hex Values , the character "NULL" is (0x00) it is a valid value ( for ex: this is key index, followed by length and hex key array).

The key index 0 , 1, 2, 3 are keys used for an WiFi Access point.
2020-10-19 08:10:05 +01:00
Harrison Mutai 4fad1112e5 Add SPDX license identifier to Arm files
Add license identifier to files which Arm owns the copyright to,
and contain either BSD-3 or Apache-2.0 licenses. This is to address
license errors raised by scancode analysis.
2020-10-15 10:47:27 +01:00
Balaji Subramanyam ada44a62f4 Add nsapi types for IP TOS and fix opt length check 2020-10-12 13:09:43 -07:00
Balaji Subramanyam fcb3889445 set ip type of service to set specific precedence for QoS 2020-09-25 14:57:55 -07:00
Balaji Subramanyam e25fdf298e Remove WEP security Green Tea Test case with NULL 2020-09-21 18:39:01 -07:00
Martin Kojtal ef43cb52cb
Merge pull request #13518 from talorion/feature-custom-cert-tls-tests
add option for a custom cert in connectivity-netsocket-netsocket-tls
2020-09-09 10:14:14 +01:00
Gregor Mayramhof 864308e020 add option for a custom cert in connectivity-netsocket-tests-tests-netsocket-tls 2020-09-01 09:18:43 +02:00
talorion 9af18af756 fixed warnings: comparison of integer expressions of different signedness 2020-08-24 15:34:20 +02:00
talorion 2a6f00642e fixed warnings: comparison of integer expressions of different signedness 2020-08-24 15:34:20 +02:00
Martin Kojtal 3fc6667c59
Merge pull request #13408 from boraozgen/bugfix/dns_cache
Fix memory leak in DNS cache
2020-08-11 09:00:58 +01:00
Bora Özgen a699ff3406 Fix memory leak in DNS cache 2020-08-07 11:31:06 +02:00
Ashok Rao 8d7c7555dc Fixing UNITTESTS 2020-08-05 17:09:21 +01:00
George Psimenos 76f37fb2bc Restructure events directory & move tests 2020-07-28 09:17:19 +01:00
Rajkumar Kanagaraj a4c1071c5b Apply suggestions from code review
Commit the reviewer suggestions

Co-authored-by: Lingkai Dong <lingkai.dong@arm.com>
2020-07-23 06:24:04 -07:00
Rajkumar Kanagaraj 947d2d75b9 Fix spell check and astyle format issue 2020-07-23 06:22:15 -07:00
Rajkumar Kanagaraj b1a5e1b72d Move Unittests closure to library 2020-07-23 06:15:13 -07:00
Rajkumar Kanagaraj f745224c63 Move greentea test closure to library 2020-07-23 06:15:09 -07:00
Rajkumar Kanagaraj ea6a7ddbaa Refactor features/netsocket and move to connectivity/netsocket 2020-07-23 06:15:09 -07:00