Seppo Takalo
1a5d6d7f19
Add support for ethernet-only configuration with Nanostack.
...
This saves about 100kB of flash when using ethernet only configuration.
Otherwise only border router configuration was supporting ethernet.
2017-01-09 18:26:56 +02:00
Martin Kojtal
ab2e869a24
Merge pull request #3157 from SiliconLabs/SiliconLabs-EFR32
...
[Silicon Labs] Adding support for EFR32MG1 wireless SoC
2016-12-02 15:46:35 +01:00
Steven Cooreman
ad773716ff
[EFR32] Move Nanostack driver to Nanostack folder
...
mbed compile doesn't support two different FEATURE_X folders being merged, so we'll have to move our nanostack driver into the Nanostack folder for the time being.
2016-11-18 10:58:36 +01:00
Seppo Takalo
3d5962db48
Return localhost from NanostackInterface::get_ip_address()
...
For NetworkStack::gethostbyname() to properly validate the
IP address version, we must return a valid address from
Networkstack::get_ip_address().
2016-11-16 19:07:23 +02:00
Seppo Takalo
9f8fe897d8
Add documentation for NanostackEthernetInterface.
2016-11-15 15:30:39 +02:00
Seppo Takalo
ae885ca0e9
Implement Ethernet interface for Nanostack.
...
* New Phy type: NanostackEthernetPhy
* New tasklet: enet_tasklet.
* New Interface: NanostackEthernetInterface,
inherited from MeshInterfaceNanostack
2016-11-15 13:15:52 +02:00
Seppo Takalo
7732adb8a0
Rename NanostackRfPhy to NanostackPhy
...
This is to allow other types of PHY drivers than just RF.
Mesh-API does not actually care about driver type, it is drivers
responsibility to register right handlers with Nanostack.
* Implement a wrapper class NanostackRfPhy to ensure backward
compatibility.
* Remove mesh_connect()/disconnect() functions from MeshInterface
This job is already done in inherited classes.
* LoWPANNDInterface and ThreadInterface should only be used with
NanostackRfPhy.
2016-11-15 13:12:18 +02:00
Seppo Takalo
6ba755e444
Move MeshInterfaceNanostack to own file.
...
+Also nanostack_lock() moved to mesh_system.h
+Added includes into NanostackInterface.h to be backward
compatible
2016-11-15 13:12:18 +02:00
Seppo Takalo
27cced74fb
Get rid of Mesh6LoWPAN_ND and MeshThread classes.
...
* Move all the functionality to LoWPANNDInterface and
ThreadInterface classes.
* AbstractMesh class modified to be pure virtual
* Thread/6LoWPAN specific functionality totally separated.
Now linker will drop the unreferenced classes.
* MeshInterfaceNanostack now inherits from AbstractMesh
2016-11-15 13:12:18 +02:00
Seppo Takalo
62558e9cff
Get rid of AbstractNetworkInterface class.
2016-11-15 13:12:18 +02:00
Seppo Takalo
154d66404a
Get rid of MeshInterfaceFactory.
2016-11-15 13:12:18 +02:00
Seppo Takalo
53cc28f4c5
Remove some references to YOTTA_CFG.
2016-11-15 13:12:18 +02:00
Seppo Takalo
c71abfed26
Update NanostackSocket to match API changes in v5.0.7
2016-11-09 16:07:13 +02:00
Seppo Takalo
cbb300db9c
Nanostack v5.0.7
2016-11-09 15:42:41 +02:00
Seppo Takalo
e27c7840d7
Don't clone coap-service, it's subtree now
2016-11-09 15:34:58 +02:00
Seppo Takalo
1e791e2e76
Add 'features/nanostack/FEATURE_NANOSTACK/coap-service/' from commit 'a1982c1de752c50410d975a03f505a69972539f5'
...
git-subtree-dir: features/nanostack/FEATURE_NANOSTACK/coap-service
git-subtree-mainline: c0adb069c9
git-subtree-split: a1982c1de7
2016-11-09 15:27:17 +02:00
Seppo Takalo
c0adb069c9
Remove coap-service
2016-11-09 15:26:30 +02:00
Martin Kojtal
7eaf32baa0
Merge pull request #3075 from geky/nsapi-error-size-types-2
...
nsapi - Add standardized return types for size and errors
2016-11-07 11:13:40 +00:00
Sam Grove
53b31318d0
Merge pull request #3165 from kjbracey-arm/ns_ipv6_checks
...
Add address type checks to NanostackInterface
2016-11-03 02:16:42 -05:00
Christopher Haster
00458c391c
nsapi - Adopted standardized return types in the Nanostack interfaces
2016-11-02 15:55:42 -05:00
Kevin Bracey
2135c8f368
NanostackInterface: Remove string round-trips
...
Older versions of SocketAddress required conversion via string - this is
no longer the case.
2016-10-31 10:20:24 +02:00
Kevin Bracey
b2834b9aa6
NanostackInterface: Allow binding to address
...
These days Nanostack does let you bind to an address - permit this.
(Remembering to check it is an IPv6 address).
2016-10-31 10:20:24 +02:00
Kevin Bracey
8e5391ab85
NanostackInterface: Check input address is IPv6
...
For the two calls that use the address - sendto and connect, check that it
actually is an IPv6 address.
2016-10-31 10:20:18 +02:00
Mika Leppänen
fae713e4d1
Added support for 6lowpan PAN ID filter to mbed mesh api configuration
2016-10-28 13:28:11 +03:00
Hasnain Virk
3942b6d0e3
ONME-2822 Binary build script mod
...
* Binary build script is modified to follow currebt mbedOS baseline structure
* License files are moved to the correct location.
* Contribution.md is also moved to the correct location.
2016-10-14 12:38:13 +03:00
Russ Butler
6375b8cf2b
Fix ncs36510 by updating header guard
...
Fix the header guard in the ncs36510 RF driver. Also update the
license in NanostackRfPhyNcs36510.h.
2016-10-06 11:52:09 -05:00
Sam Grove
5693e7a7ca
Merge pull request #2916 from c1728p9/ncs36510_rf_phy
...
Add ncs36510 RF phy
2016-10-05 00:52:54 -05:00
Russ Butler
1aec3700de
Add ncs36510 RF phy
...
Check in the RF phy for the ncs36510. Note that the RF phy is included
in the built when nanostack is included since the phy is specific to
nanostack.
2016-10-04 14:20:14 -05:00
Seppo Takalo
f022d20e0e
Fix build on Cortex M3 with Nanostack.
...
TARGET_CORTEX_M3 renamed to TARGET_M3
2016-10-04 14:15:36 +03:00
Christopher Haster
ba99a1f31d
restructure - Restructured features/net directory
...
features/net/network-socket -> features/netsocket
features/net/FEATURE_IPV4 -> features/FEATURE_LWIP
features/net/nanostack-binaries -> features/nanostack
features/net/FEATURE_NANOSTACK -> features/nanostack/FEATURE_NANOSTACK
2016-09-30 19:18:09 -05:00