Commit Graph

10 Commits (master)

Author SHA1 Message Date
YannCharbon aa7bf3e435 Add support of NSAPI_ICMP sockets in Nanostack 2023-01-03 15:12:26 +01:00
Bora Özgen 7523588035 NetworkStack: Remove stub implementations of socket_x_control
As a default implementation is already provided by
NetworkStack, stub implementations in the child classes
are not required. Furthermore, they return unsupported for
all cases instead of redirecting to the non-control API,
which is plainly wrong.
2021-10-21 10:33:13 +02: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
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 c8b667a7ba Review correction: Remove unnecessary method
Remove unnecessary method: add_ethernet_interface_ns
2020-11-18 17:29:10 +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 00ebd65784 Mesh: Enable Nanostack DNS cache usage
Inherit methods gethostbyname, gethostbyname_async and get_dns_server
to Nanostack class. Methods will try to find DNS server address
or DNS query results from Nanostack DNS cache.
2020-10-07 17:23:45 +03:00
Ashok Rao 724624ad6d Moving mbed_lib.json outside sources 2020-08-06 13:43:55 +01:00
Ashok Rao b9b4c5d392 Mbed OS will soon be changing directory structure to the below:
```
connectivity
├── netsocket
├── lwipstack
├── nanostack
│   ├── mbed_lib.json // nanostack-interface's mbed_lib.json
│   ├── include
│   │   └── nanostack // headers from features/netsocket/nanostack-interface
│   ├── source        // sources from features/netsocket/nanostack-interface
│   ├── coap-service  // used by Thread only - deprecate?
│   ├── mbed-mesh-api
│   ├── nanostack-hal-mbed-cmsis-rtos // HAL porting layer for Nanostack on mbed with CMSIS-RTOS
│   ├── sal-stack-nanostack
│   └── sal-stack-nanostack-eventloop
├── cellular                // previously in features/cellular/framework/
├── ...

```

This PR is a part of a wider \connectivity refactoring and implements the above new directory structure for \nanostack.
2020-08-05 16:55:43 +01:00