Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions MDK-Packs.IoT_Socket.pdsc
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
<releases>
<release version="1.4.1-dev">
Active Development ...
Aligned return codes with the documentation
Added the lwIP Socket layer
</release>
</releases>
<apis>
Expand Down Expand Up @@ -81,7 +83,7 @@
<file category="sourceC" name="source/vsocket/iot_socket.c"/>
</files>
</component>
<component Cclass="IoT Utility" Cgroup="Socket" Csub="MDK Network" Capiversion="1.2.0" Cversion="1.3.0" condition="MDK Network Stack">
<component Cclass="IoT Utility" Cgroup="Socket" Csub="MDK Network" Capiversion="1.2.0" Cversion="1.4.0" condition="MDK Network Stack">
<description>IoT Socket implementation with MDK Network</description>
<RTE_Components_h>
<!-- the following content goes into file 'RTE_Components.h' -->
Expand All @@ -92,7 +94,7 @@
<file category="sourceC" name="source/mdk_network/iot_socket.c"/>
</files>
</component>
<component Cclass="IoT Utility" Cgroup="Socket" Csub="FreeRTOS-Plus-TCP" Capiversion="1.2.0" Cversion="1.0.0" condition="FreeRTOS-Plus-TCP Stack">
<component Cclass="IoT Utility" Cgroup="Socket" Csub="FreeRTOS-Plus-TCP" Capiversion="1.2.0" Cversion="1.1.0" condition="FreeRTOS-Plus-TCP Stack">
<description>IoT Socket implementation with FreeRTOS+ TCP</description>
<RTE_Components_h>
<!-- the following content goes into file 'RTE_Components.h' -->
Expand Down
2 changes: 1 addition & 1 deletion layer/FreeRTOS_Plus_TCP/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Socket: FreeRTOS+TCP (Ethernet)
-------------------------------

[IoT Socket](https://mdk-packs.github.io/IoT_Socket/html/index.html) interface using FreeRTOS+TCP over Ethernet via
[IoT Socket](https://mdk-packs.github.io/IoT_Socket/latest/index.html) interface using FreeRTOS+TCP over Ethernet via
[CMSIS-Driver Ethernet](https://arm-software.github.io/CMSIS_6/latest/Driver/group__eth__interface__gr.html).
2 changes: 1 addition & 1 deletion layer/MDK_Network_ETH/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Socket: Ethernet IoT Socket (MDK-Middleware Network)
----------------------------------------------------

[IoT Socket](https://mdk-packs.github.io/IoT_Socket/html/index.html) interface using
[IoT Socket](https://mdk-packs.github.io/IoT_Socket/latest/index.html) interface using
[MDK-Middleware Network](https://arm-software.github.io/MDK-Middleware/latest/Network/index.html) module via
[CMSIS-Driver Ethernet](https://arm-software.github.io/CMSIS_6/latest/Driver/index.html).
2 changes: 1 addition & 1 deletion layer/VSocket/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Socket: VSocket
---------------

[IoT Socket](https://mdk-packs.github.io/IoT_Socket/html/index.html) interface using Virtual Socket on
[IoT Socket](https://mdk-packs.github.io/IoT_Socket/latest/index.html) interface using Virtual Socket on
[Arm Virtual Hardware](https://www.arm.com/products/development-tools/simulation/virtual-hardware).
2 changes: 1 addition & 1 deletion layer/WiFi/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Socket: WiFi
------------

[IoT Socket](https://mdk-packs.github.io/IoT_Socket/html/index.html) interface using WiFi module via
[IoT Socket](https://mdk-packs.github.io/IoT_Socket/latest/index.html) interface using WiFi module via
[CMSIS-Driver WiFi](https://arm-software.github.io/CMSIS_6/latest/Driver/index.html).

The file `socket_startup.c` configures the WiFi connection with these settings:
Expand Down
6 changes: 6 additions & 0 deletions layer/lwIP/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Socket: Ethernet IoT Socket (lwIP)
----------------------------------------------------

[IoT Socket](https://mdk-packs.github.io/IoT_Socket/latest/index.html) interface using
[lwIP](https://github.com/Open-CMSIS-Pack/lwIP) module via
[CMSIS-Driver Ethernet](https://arm-software.github.io/CMSIS_6/latest/Driver/index.html).
50 changes: 50 additions & 0 deletions layer/lwIP/RTE/Network/ethif_config.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
/*
* Copyright (c) 2019 Arm Limited. All rights reserved.
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed under the Apache License, Version 2.0 (the License); you may
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an AS IS BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

#ifndef ETHIF_CONFIG_H
#define ETHIF_CONFIG_H

//-------- <<< Use Configuration Wizard in Context Menu >>> --------------------

// <o>Connect to hardware via Driver_ETH# <0-255>
// <i>Select driver control block for MAC and PHY interface
#define ETH_DRV_NUM 0

// <h>Ethernet MAC Address
// <o>MAC Address byte 1 <0x00-0xff>
#define MAC_ADDR0 0x02

// <o>MAC Address byte 2 <0x00-0xff>
#define MAC_ADDR1 0x00

// <o>MAC Address byte 3 <0x00-0xff>
#define MAC_ADDR2 0x00

// <o>MAC Address byte 4 <0x00-0xff>
#define MAC_ADDR3 0x00

// <o>MAC Address byte 4 <0x00-0xff>
#define MAC_ADDR4 0x00

// <o>MAC Address byte 4 <0x00-0xff>
#define MAC_ADDR5 0x00
// </h>

//------------- <<< end of configuration section >>> ---------------------------

#endif
50 changes: 50 additions & 0 deletions layer/lwIP/RTE/Network/ethif_config.h.base@1.0.0
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
/*
* Copyright (c) 2019 Arm Limited. All rights reserved.
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed under the Apache License, Version 2.0 (the License); you may
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an AS IS BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

#ifndef ETHIF_CONFIG_H
#define ETHIF_CONFIG_H

//-------- <<< Use Configuration Wizard in Context Menu >>> --------------------

// <o>Connect to hardware via Driver_ETH# <0-255>
// <i>Select driver control block for MAC and PHY interface
#define ETH_DRV_NUM 0

// <h>Ethernet MAC Address
// <o>MAC Address byte 1 <0x00-0xff>
#define MAC_ADDR0 0x02

// <o>MAC Address byte 2 <0x00-0xff>
#define MAC_ADDR1 0x00

// <o>MAC Address byte 3 <0x00-0xff>
#define MAC_ADDR2 0x00

// <o>MAC Address byte 4 <0x00-0xff>
#define MAC_ADDR3 0x00

// <o>MAC Address byte 4 <0x00-0xff>
#define MAC_ADDR4 0x00

// <o>MAC Address byte 4 <0x00-0xff>
#define MAC_ADDR5 0x00
// </h>

//------------- <<< end of configuration section >>> ---------------------------

#endif
Loading
Loading