Wizfi250 웹연동해서 Wizfi250으로 데이터를 보낼 수 있을까요?
Wireless
No replies yet. Be the first to reply.
Join the discussion.
Wireless
No replies yet. Be the first to reply.
Join the discussion.
Share projects and connect with makers.
Joined before the site update? first.
New to WIZnet Makers?
We sent a verification link to your address. Open it to activate your account, then log in.
Accounts from this email provider are reviewed by an administrator after verification. Approval usually takes one business day.
Already have an account?
Enter your email address. If it belongs to an account, we'll send a link to set a new password. Members who joined before the site update use this to set their password.
If an account uses that address, we sent a link to set a new password. The link works once and expires in 30 minutes.
Know your password?
Need an account?
RE: Wizfi250 웹연동해서 Wizfi250으로 데이터를 보낼 수 있을까요?
by wizdaniel ·
문의하신 내용으로 보아 WizFi250은 TCP Server와 TCP Client로 구현하셔야 할 것같습니다.
1의 연결을 위해서는 port forwarding 등 별도의 작업이 필요한데, 이런 작업을 원하시지 않는다면,
1의 연결은 MQTT를 활용하시는 것도 방법입니다.
** 두 방법 다 여의치 않다면 WizFi250(TCP Client) - 웹서버(TCP Server)로 설계하는 것도 가능하긴 합니다.
아래 링크는 코코아팹(오렌지보드)에서 제공하는 OpenAPI를 활용하는 예제입니다.
https://kocoafab.cc/make/view/709
소스코드에서는 아래처럼 wifi class를 2개 생성해주시면 2개의 소켓을 사용할 수 있습니다.
WiFiClient client1;
WiFiClient client2;