Commit Graph

36 Commits (f07030255f57821eac0451b112460ba59b265d7b)

Author SHA1 Message Date
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
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