forked from ARMmbed/mbed-os
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Seppo Takalo
authored and
Hasnain Virk
committed
Feb 12, 2017
1 parent
e4f91cd
commit 667006e
Showing
94 changed files
with
721 additions
and
172 deletions.
There are no files selected for viewing
Binary file modified
BIN
+28.8 KB
(110%)
...ET_HOST/TOOLCHAIN_ARM/TARGET_LIKE_CORTEX_M0/libnanostack_armcc_Cortex-M0_ethernet_host.ar
Binary file not shown.
Binary file modified
BIN
+28.6 KB
(110%)
...ATURE_ETHERNET_HOST/TOOLCHAIN_ARM/TARGET_M3/libnanostack_armcc_Cortex-M3_ethernet_host.ar
Binary file not shown.
Binary file modified
BIN
+28.6 KB
(110%)
...HERNET_HOST/TOOLCHAIN_ARM/TARGET_RTOS_M4_M7/libnanostack_armcc_Cortex-M3_ethernet_host.ar
Binary file not shown.
Binary file modified
BIN
+18.7 KB
(110%)
...LCHAIN_GCC/TARGET_LIKE_CORTEX_M0/libnanostack_arm-none-eabi-gcc_Cortex-M0_ethernet_host.a
Binary file not shown.
Binary file modified
BIN
+18.3 KB
(110%)
...NET_HOST/TOOLCHAIN_GCC/TARGET_M3/libnanostack_arm-none-eabi-gcc_Cortex-M3_ethernet_host.a
Binary file not shown.
Binary file modified
BIN
+18.3 KB
(110%)
.../TOOLCHAIN_GCC/TARGET_RTOS_M4_M7/libnanostack_arm-none-eabi-gcc_Cortex-M3_ethernet_host.a
Binary file not shown.
Binary file modified
BIN
+55.3 KB
(110%)
...ET_HOST/TOOLCHAIN_IAR/TARGET_LIKE_CORTEX_M0/libnanostack_iccarm_Cortex-M0_ethernet_host.a
Binary file not shown.
Binary file modified
BIN
+55.2 KB
(110%)
...ATURE_ETHERNET_HOST/TOOLCHAIN_IAR/TARGET_M3/libnanostack_iccarm_Cortex-M3_ethernet_host.a
Binary file not shown.
Binary file modified
BIN
+55.2 KB
(110%)
...HERNET_HOST/TOOLCHAIN_IAR/TARGET_RTOS_M4_M7/libnanostack_iccarm_Cortex-M3_ethernet_host.a
Binary file not shown.
Binary file modified
BIN
+37.9 KB
(110%)
.../TOOLCHAIN_ARM/TARGET_LIKE_CORTEX_M0/libnanostack_armcc_Cortex-M0_lowpan_border_router.ar
100755 → 100644
Binary file not shown.
Binary file modified
BIN
+38 KB
(110%)
...ORDER_ROUTER/TOOLCHAIN_ARM/TARGET_M3/libnanostack_armcc_Cortex-M3_lowpan_border_router.ar
100755 → 100644
Binary file not shown.
Binary file modified
BIN
+38 KB
(110%)
...UTER/TOOLCHAIN_ARM/TARGET_RTOS_M4_M7/libnanostack_armcc_Cortex-M3_lowpan_border_router.ar
100755 → 100644
Binary file not shown.
Binary file modified
BIN
+26.7 KB
(100%)
...GCC/TARGET_LIKE_CORTEX_M0/libnanostack_arm-none-eabi-gcc_Cortex-M0_lowpan_border_router.a
100755 → 100644
Binary file not shown.
Binary file modified
BIN
+26.2 KB
(100%)
...R/TOOLCHAIN_GCC/TARGET_M3/libnanostack_arm-none-eabi-gcc_Cortex-M3_lowpan_border_router.a
100755 → 100644
Binary file not shown.
Binary file modified
BIN
+26.2 KB
(100%)
...AIN_GCC/TARGET_RTOS_M4_M7/libnanostack_arm-none-eabi-gcc_Cortex-M3_lowpan_border_router.a
100755 → 100644
Binary file not shown.
Binary file modified
BIN
+67.7 KB
(100%)
.../TOOLCHAIN_IAR/TARGET_LIKE_CORTEX_M0/libnanostack_iccarm_Cortex-M0_lowpan_border_router.a
100755 → 100644
Binary file not shown.
Binary file modified
BIN
+67 KB
(100%)
...ORDER_ROUTER/TOOLCHAIN_IAR/TARGET_M3/libnanostack_iccarm_Cortex-M3_lowpan_border_router.a
100755 → 100644
Binary file not shown.
Binary file modified
BIN
+67 KB
(100%)
...UTER/TOOLCHAIN_IAR/TARGET_RTOS_M4_M7/libnanostack_iccarm_Cortex-M3_lowpan_border_router.a
100755 → 100644
Binary file not shown.
Binary file modified
BIN
+33.8 KB
(110%)
...WPAN_HOST/TOOLCHAIN_ARM/TARGET_LIKE_CORTEX_M0/libnanostack_armcc_Cortex-M0_lowpan_host.ar
100755 → 100644
Binary file not shown.
Binary file modified
BIN
+33.6 KB
(110%)
...k/FEATURE_LOWPAN_HOST/TOOLCHAIN_ARM/TARGET_M3/libnanostack_armcc_Cortex-M3_lowpan_host.ar
100755 → 100644
Binary file not shown.
Binary file modified
BIN
+33.6 KB
(110%)
...E_LOWPAN_HOST/TOOLCHAIN_ARM/TARGET_RTOS_M4_M7/libnanostack_armcc_Cortex-M3_lowpan_host.ar
100755 → 100644
Binary file not shown.
Binary file modified
BIN
+21.5 KB
(110%)
...OOLCHAIN_GCC/TARGET_LIKE_CORTEX_M0/libnanostack_arm-none-eabi-gcc_Cortex-M0_lowpan_host.a
100755 → 100644
Binary file not shown.
Binary file modified
BIN
+21.1 KB
(110%)
...OWPAN_HOST/TOOLCHAIN_GCC/TARGET_M3/libnanostack_arm-none-eabi-gcc_Cortex-M3_lowpan_host.a
100755 → 100644
Binary file not shown.
Binary file modified
BIN
+21.1 KB
(110%)
...ST/TOOLCHAIN_GCC/TARGET_RTOS_M4_M7/libnanostack_arm-none-eabi-gcc_Cortex-M3_lowpan_host.a
100755 → 100644
Binary file not shown.
Binary file modified
BIN
+59.1 KB
(110%)
...WPAN_HOST/TOOLCHAIN_IAR/TARGET_LIKE_CORTEX_M0/libnanostack_iccarm_Cortex-M0_lowpan_host.a
100755 → 100644
Binary file not shown.
Binary file modified
BIN
+59 KB
(110%)
...k/FEATURE_LOWPAN_HOST/TOOLCHAIN_IAR/TARGET_M3/libnanostack_iccarm_Cortex-M3_lowpan_host.a
100755 → 100644
Binary file not shown.
Binary file modified
BIN
+59 KB
(110%)
...E_LOWPAN_HOST/TOOLCHAIN_IAR/TARGET_RTOS_M4_M7/libnanostack_iccarm_Cortex-M3_lowpan_host.a
100755 → 100644
Binary file not shown.
Binary file modified
BIN
+37.5 KB
(110%)
..._ROUTER/TOOLCHAIN_ARM/TARGET_LIKE_CORTEX_M0/libnanostack_armcc_Cortex-M0_lowpan_router.ar
100755 → 100644
Binary file not shown.
Binary file modified
BIN
+37.3 KB
(110%)
...ATURE_LOWPAN_ROUTER/TOOLCHAIN_ARM/TARGET_M3/libnanostack_armcc_Cortex-M3_lowpan_router.ar
100755 → 100644
Binary file not shown.
Binary file modified
BIN
+37.3 KB
(110%)
...WPAN_ROUTER/TOOLCHAIN_ARM/TARGET_RTOS_M4_M7/libnanostack_armcc_Cortex-M3_lowpan_router.ar
100755 → 100644
Binary file not shown.
Binary file modified
BIN
+26.2 KB
(110%)
...LCHAIN_GCC/TARGET_LIKE_CORTEX_M0/libnanostack_arm-none-eabi-gcc_Cortex-M0_lowpan_router.a
100755 → 100644
Binary file not shown.
Binary file modified
BIN
+25.7 KB
(110%)
...N_ROUTER/TOOLCHAIN_GCC/TARGET_M3/libnanostack_arm-none-eabi-gcc_Cortex-M3_lowpan_router.a
100755 → 100644
Binary file not shown.
Binary file modified
BIN
+25.7 KB
(110%)
.../TOOLCHAIN_GCC/TARGET_RTOS_M4_M7/libnanostack_arm-none-eabi-gcc_Cortex-M3_lowpan_router.a
100755 → 100644
Binary file not shown.
Binary file modified
BIN
+67.2 KB
(110%)
..._ROUTER/TOOLCHAIN_IAR/TARGET_LIKE_CORTEX_M0/libnanostack_iccarm_Cortex-M0_lowpan_router.a
100755 → 100644
Binary file not shown.
Binary file modified
BIN
+66 KB
(110%)
...ATURE_LOWPAN_ROUTER/TOOLCHAIN_IAR/TARGET_M3/libnanostack_iccarm_Cortex-M3_lowpan_router.a
100755 → 100644
Binary file not shown.
Binary file modified
BIN
+66 KB
(110%)
...WPAN_ROUTER/TOOLCHAIN_IAR/TARGET_RTOS_M4_M7/libnanostack_iccarm_Cortex-M3_lowpan_router.a
100755 → 100644
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
74 changes: 56 additions & 18 deletions
74
...ures/nanostack/FEATURE_NANOSTACK/sal-stack-nanostack/docs/img/NanostackRfPhy.plantuml.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,66 @@ | ||
@startuml | ||
|
||
class NanostackRfPhy { | ||
+int8_t rf_register() | ||
+int8_t rf_register() | ||
+void get_mac_address(uint8_t *mac) | ||
+void set_mac_address(uint8_t *mac) | ||
package "mbed OS Socket abstraction" { | ||
abstract class MeshInterface -|> NetworkInterface | ||
|
||
interface NetworkInterface { | ||
+connect(); | ||
+disconnect(); | ||
+NetworkStack *get_stack(); | ||
} | ||
|
||
interface NetworkStack | ||
} | ||
|
||
class MeshInterfaceNanostack { | ||
package "Nanostack PHY driver interface" { | ||
interface NanostackPhy { | ||
+int8_t phy_register() | ||
+void get_mac_address(uint8_t *mac) | ||
+void set_mac_address(uint8_t *mac) | ||
} | ||
NanostackPhy <|-- abstract class NanostackRfPhy | ||
NanostackPhy <|-- abstract class NanostackEthernetPhy | ||
} | ||
|
||
package "mesh API internals" { | ||
class NanostackInterface { | ||
{static} +NanostackInterface *get_stack() | ||
#socket_open() | ||
#socket_close() | ||
#socket_bind() | ||
#socket_listen() | ||
#socket_connect() | ||
#socket_accept() | ||
#socket_send() | ||
#socket_recv() | ||
#socket_sendto() | ||
#socket_recvfrom() | ||
#socket_attach() | ||
#setsockopt() | ||
#getsockopt() | ||
} | ||
NetworkStack <|-- NanostackInterface | ||
|
||
abstract class MeshInterfaceNanostack { | ||
+initialize(NanostackPhy *phy) | ||
+connect() | ||
+disconnect() | ||
#NetworkStack *get_stack(void) | ||
} | ||
MeshInterface <|-- MeshInterfaceNanostack | ||
NanostackPhy --o MeshInterfaceNanostack | ||
MeshInterfaceNanostack -left-> NanostackInterface : get_stack() | ||
} | ||
MeshInterfaceNanostack o-- NanostackRfPhy | ||
MeshInterfaceNanostack o-- AbstractMesh | ||
MeshInterfaceNanostack o-- NanostackInterface | ||
|
||
class MeshInterface { | ||
package "mbed-mesh-api" { | ||
MeshInterfaceNanostack <|-- LoWPANNDInterface | ||
MeshInterfaceNanostack <|-- ThreadInterface | ||
MeshInterfaceNanostack <|-- NanostackEthernetInterface | ||
} | ||
NanostackInterface --|> NetworkStack | ||
MeshInterfaceNanostack --|> MeshInterface | ||
MeshInterface --|> NetworkInterface | ||
|
||
LoWPANNDInterface --|> MeshInterfaceNanostack | ||
ThreadInterface --|> MeshInterfaceNanostack | ||
|
||
AbstractMesh --|> AbstractNetworkInterface | ||
class AbstractNetworkInterface | ||
hide empty members | ||
hide empty attributes | ||
hide empty fields | ||
|
||
@enduml | ||
@enduml |
Binary file modified
BIN
+39.2 KB
(240%)
...res/nanostack/FEATURE_NANOSTACK/sal-stack-nanostack/docs/img/NanostackRfPhy.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
28 changes: 28 additions & 0 deletions
28
...res/nanostack/FEATURE_NANOSTACK/sal-stack-nanostack/docs/img/mbedOS_sockets.plantumlt.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
@startuml | ||
|
||
package "mbed OS Socket abstraction" { | ||
interface NetworkStack | ||
NetworkStack -o Socket | ||
abstract class Socket | ||
Socket <|-- UDPSocket | ||
Socket <|-- TCPSocket | ||
Socket <|-- TCPServer | ||
} | ||
|
||
interface NetworkInterface | ||
NetworkInterface --> NetworkStack : get_stack() | ||
EthernetInterface --|> NetworkInterface | ||
CellularInterface --|> NetworkInterface | ||
|
||
package "mbed-mesh-api" { | ||
abstract class MeshInterfaceNanostack <|-- LoWPANNDInterface | ||
MeshInterfaceNanostack <|-- ThreadInterface | ||
MeshInterfaceNanostack --|> NetworkInterface | ||
} | ||
|
||
|
||
hide empty members | ||
hide empty attributes | ||
hide empty fields | ||
|
||
@enduml |
Binary file modified
BIN
-35.6 KB
(46%)
...res/nanostack/FEATURE_NANOSTACK/sal-stack-nanostack/docs/img/mbedOS_sockets.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-15.2 KB
(75%)
...res/nanostack/FEATURE_NANOSTACK/sal-stack-nanostack/docs/img/node_to_server.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.