Martin Kojtal
0db0445a97
Merge pull request #15111 from world-direct/feature/dtlserror
...
DTLSSocket - destruction while handshaking lead to error
2021-11-17 15:25:29 +00:00
Lukas Karel
16afca3c03
DTLSSocket handshake timeout calls object functions even if object is destructed. Fixed by removing timeout event from event queue on close/destruction.
2021-09-28 11:07:30 +02:00
mateusz.kalinowski
ad0eb0eaa6
Moving alignment information in the nsapi_msghdr_t
...
Macro MBED_ALIGN expands in C to _Alignas which can't be used in the
type declaration. This patch moves it to the first type definition
which makes this code compile properly in CPP and C.
2021-09-08 15:26:41 +01:00
mateusz.kalinowski
575f489ab7
Fixing documentation errors
...
Minor errors in the documentation were fixed. These caused failure
of the doxygen checks in the PR.
2021-09-06 11:34:34 +01:00
mateusz.kalinowski
c3d16f733f
Adding documentation and minor code changes
...
Doxygen documentation for MsgHeaderIterator was added. Type used
for alignment of the nsapi_msghdr_t struct was changed.
2021-09-06 11:14:54 +01:00
mateusz.kalinowski
ec3f4379d9
Code improvements for the unresolved comments
...
This patch contains improvements mentioned in the unresolved PR
comments:
- function names were changed from socket_sendmsg/socket_recvmsg to
socket_sendto_control/socket_recvfrom_control.
- default implementation of this functions was provided in the
NetworkStack class.
- MsgHeaderIterator accesses elements on the aligned addresses.
2021-09-03 12:49:00 +01:00
Tymoteusz Bloch
bdfd98e764
New feature: send/recv message implementation added to network stack
2021-09-01 09:13:57 +01:00
Martin Kojtal
3cf5f8e14f
Merge pull request #14752 from tymoteuszblochmobica/sockets
...
LWIP Broadcast socket option added
2021-06-15 15:08:53 +02:00
Tymoteusz Bloch
580fd2c55a
Add LWIP Broadcast option for UDP socket.
2021-06-09 01:44:51 +02:00
Chris Swinchatt
053eb24ab0
Fix 'netsocket: several dynamic allocation results not checked' ( #14210 )
...
Incorporates PR #14223 + changes required for spellchecker
2021-06-07 14:54:37 +01: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
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
40c038555d
Fix method description
2020-11-24 12:17:54 +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
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
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
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
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
Rajkumar Kanagaraj
ea6a7ddbaa
Refactor features/netsocket and move to connectivity/netsocket
2020-07-23 06:15:09 -07:00