'2019/04'에 해당되는 글 2건

IoT/WiFi

WizFi310 is registered as a component of mbed.

The components of mbed are classified into categories such as Actuators, Communication, Display, Expansion Boards, Input, IoT & Web Service, Sensors, Storage.
https://os.mbed.com/components/


 

Components | Mbed

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies. If you are not happy with the use of these cookies, please review our Cookie Policy to learn how they can be disabled. By disabling coo

os.mbed.com

The products registered as mbed's components can easily be used to develop components easily using ARM's MCU and reusable libraries on mbed OS. 

The mbed registration page for WizFi310 is shown below. 
https://os.mbed.com/components/WizFi310-EVB/ 

 

Wiznet Wi-Fi WizFi310 | Mbed

Wiznet Wi-Fi WizFi310 WizFi310 offers a quick, easy, and cost-effective way for device and appliance manufacturers to add WiFi capabilities to their products. Hello World This is a simple mbed client example demonstrating, registration of a device with mbe

os.mbed.com

 

 



Looking at WizFi310's headers in mbed, you can see various example code. 


https://os.mbed.com/teams/WIZnet/code/WizFi310_TCP_Echo_Server_Example/ 

 

WizFi310_TCP_Echo_Server_Example - TCP Echo Server Example using WizFi310 | Mbed

TCP Echo Server Example using WizFi310 Dependencies:   NetworkSocketAPI WizFi310Interface mbed Prerequisite This example shows that Wizwiki-W7500 and WizFi310 operates as a TCP server. When receiving data from a TCP client, it returns same data. To impleme

os.mbed.com

 

https://os.mbed.com/teams/WIZnet/code/WizFi310_STATION_HelloWorld/ 

 

WizFi310_STATION_HelloWorld - WizFi310_hello_world_demo | Mbed

WizFi310_hello_world_demo Dependencies:   NetworkSocketAPI WizFi310Interface mbed Prerequisite This example shows that WIZwiki-W7500 and WizFi310 connects to AP. To implement this function, you need a Platform board and Wi-Fi board. Below are what we used.

os.mbed.com

 

https://os.mbed.com/teams/WIZnet/code/WizFi310_OpenWeatherMap/ 

 

WizFi310_OpenWeatherMap - Openweathermap example for WizFi310 | Mbed

Openweathermap example for WizFi310 Dependencies:   NetworkSocketAPI WizFi310Interface mbed Prerequisite This example is for obtainning and printting data from OpenWeatherMap(Server). WIZwiki-W7500 and WizFi310 Shield act as TCP client mode. To implement t

os.mbed.com


https://os.mbed.com/users/jehoon/code/KT_IoTMakers_WizFi310_Example/ 

 

KT_IoTMakers_WizFi310_Example - WizFi310 IoTMakers Example | Mbed

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies. If you are not happy with the use of these cookies, please review our Cookie Policy to learn how they can be disabled. By disabling coo

os.mbed.com

https://os.mbed.com/users/jehoon/code/WiFiTracker/

 

WiFiTracker - WiFi Tracker, scan WiFi probe packer and publis... | Mbed

WiFi Tracker, scan WiFi probe packer and publish message to broker Download repository: zip gz Files at revision 0:d9bcf96e0ce9 / default tip

os.mbed.com

 


In the example above, you can see that there is an indication of OS2 next to the title. 

This indication refers to an example running on mbed OS version 2. 
Currently, mbed OS is released up to version 5. 
https://os.mbed.com/blog/entry/Introducing-mbed-OS-5/ 

 

Introducing mbed OS 5 | Mbed

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies. If you are not happy with the use of these cookies, please review our Cookie Policy to learn how they can be disabled. By disabling coo

os.mbed.com

 

Therefore, it is difficult to refer to the above examples in order to use WizFi310 in the latest mbed OS 5. 


The driver code for WizFi310 running under mbed OS 5 is distributed through github below, and if mbed OS 5 is used in the mbed online compiler, it is compiled using the latest github code below. 
https://github.com/ARMmbed/wizfi310-driver 

 

ARMmbed/wizfi310-driver

This is Wi-Fi driver for mbed using WizFi310. Contribute to ARMmbed/wizfi310-driver development by creating an account on GitHub.

github.com

 

 


The driver code included in mbed OS 5 can be easily ported for reusability even if you use the source code of other Communication Components. 
Using the above WizFi310 driver, the following items are linked to the Arm pelion Cloud. 

https://github.com/wpgnss/mbed-cloud-client-example

 

wpgnss/mbed-cloud-client-example

Reference example application using Mbed Cloud Client library - wpgnss/mbed-cloud-client-example

github.com

 

 

IoT/WiFi

 

 

WizFi310을 mbed의 component로 등록 되어 있다.

mbed의 component는 여러 종류의 카테고리로 분류 되어 있다.

https://os.mbed.com/components/ 

불러오는 중입니다...

- Actuators

- Communication

- Display

- Expansion Boards

- Input

- IoT&Web Service

- Sensors, Storage 


mbed의 component로 등록되어 있는 제품들은 Arm의 MCU와 mbed OS 상에서 재사용 가능한 라이브러리들을 활용해 쉽게 component를 쉽게 사용하여 개발할 수 있도록 도와준다. 

WizFi310의 mbed 등록 페이지는 아래와 같다.


https://os.mbed.com/components/WizFi310-EVB/ 

 

Wiznet Wi-Fi WizFi310 | Mbed

Wiznet Wi-Fi WizFi310 WizFi310 offers a quick, easy, and cost-effective way for device and appliance manufacturers to add WiFi capabilities to their products. Hello World This is a simple mbed client example demonstrating, registration of a device with mbe

os.mbed.com

 


mbed에서 WizFi310의 얘제들을 검색해보면 다양한 예제 코드들을 확인할 수 있다.

 

https://os.mbed.com/teams/WIZnet/code/WizFi310_TCP_Echo_Server_Example/ 

 

WizFi310_TCP_Echo_Server_Example - TCP Echo Server Example using WizFi310 | Mbed

TCP Echo Server Example using WizFi310 Dependencies:   NetworkSocketAPI WizFi310Interface mbed Prerequisite This example shows that Wizwiki-W7500 and WizFi310 operates as a TCP server. When receiving data from a TCP client, it returns same data. To impleme

os.mbed.com

 




https://os.mbed.com/teams/WIZnet/code/WizFi310_STATION_HelloWorld/

 

WizFi310_STATION_HelloWorld - WizFi310_hello_world_demo | Mbed

WizFi310_hello_world_demo Dependencies:   NetworkSocketAPI WizFi310Interface mbed Prerequisite This example shows that WIZwiki-W7500 and WizFi310 connects to AP. To implement this function, you need a Platform board and Wi-Fi board. Below are what we used.

os.mbed.com

 


https://os.mbed.com/teams/WIZnet/code/WizFi310_OpenWeatherMap/

 

WizFi310_OpenWeatherMap - Openweathermap example for WizFi310 | Mbed

Openweathermap example for WizFi310 Dependencies:   NetworkSocketAPI WizFi310Interface mbed Prerequisite This example is for obtainning and printting data from OpenWeatherMap(Server). WIZwiki-W7500 and WizFi310 Shield act as TCP client mode. To implement t

os.mbed.com


https://os.mbed.com/users/jehoon/code/KT_IoTMakers_WizFi310_Example/

 

KT_IoTMakers_WizFi310_Example - WizFi310 IoTMakers Example | Mbed

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies. If you are not happy with the use of these cookies, please review our Cookie Policy to learn how they can be disabled. By disabling coo

os.mbed.com


https://os.mbed.com/users/jehoon/code/WiFiTracker/

 

WiFiTracker - WiFi Tracker, scan WiFi probe packer and publis... | Mbed

WiFi Tracker, scan WiFi probe packer and publish message to broker Download repository: zip gz Files at revision 0:d9bcf96e0ce9 / default tip

os.mbed.com

 

 


위 예제들을 보면, 타이틀 옆에 OS2라는 표시가 있는 것을 확인할 수 있다. 

이 표시는 mbed OS version 2에서 동작하는 예제를 의미한다. 
현재 mbed OS는 version 5까지 릴리즈 되어 있다.  
https://os.mbed.com/blog/entry/Introducing-mbed-OS-5/ 

 

Introducing mbed OS 5 | Mbed

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies. If you are not happy with the use of these cookies, please review our Cookie Policy to learn how they can be disabled. By disabling coo

os.mbed.com

 

그렇기 때문에 최신 mbed OS 5에서 WizFi310을 사용하기 위해서는 위 예제들을 참고하기 어려운 점이 있다. 


mbed OS 5에서 동작하는 WizFi310의 드라이버 코드는 아래 github를 통해 배포되고 있으며, mbed online compiler에서 mbed OS 5를 사용할 경우 아래 github의 최신 코드를 사용하여 compile된다 
https://github.com/ARMmbed/wizfi310-driver

 

ARMmbed/wizfi310-driver

This is Wi-Fi driver for mbed using WizFi310. Contribute to ARMmbed/wizfi310-driver development by creating an account on GitHub.

github.com

 

mbed OS 5에 포함된 드라이버 코드는 다른 Communication Components의 소스코드를 사용하더라도 재사용이 가능하기 때문에 쉽게 포팅해서 사용할 수 있다. 
위 WizFi310드라이버를 사용해 Arm pelion Cloud에 연동하는 얘제는 아래와 같다. 

https://github.com/wpgnss/mbed-cloud-client-example

 

wpgnss/mbed-cloud-client-example

Reference example application using Mbed Cloud Client library - wpgnss/mbed-cloud-client-example

github.com

 

 

'IoT > WiFi' 카테고리의 다른 글

How to use WizFi310 Driver in armMBED  (0) 2019.04.02
SKT ThingPlug 더 쉽게 시작하기(embedded WiFi)  (0) 2017.02.07
1
블로그 이미지

IoT 개발자 블로그이고 싶다.

1byte