WICED WiFi For On/OFF Reporting

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

Hi,

I am new to WICED WiFi and have a simple task.

I just need to read the output of a switch (0 or 1) and send OFF or ON to my smartphone.

What demo or current code is the best one as the starting point?

Is there any help page on how to do the app?

Thanks,

NK

0 Likes
1 Reply
JaeyoungY_71
Employee
Employee
First comment on KBA 25 solutions authored 10 solutions authored

Hi,

You could open a TCP socket for connection and send messages. If you've downloaded the WICED SDK, /apps folder is where we have our sample apps. You could use the /apps/snip/tcp_client app or /apps/snip/tcp_server app. You'll need to change the AP SSID and password in /include/default_wifi_config_dct.h.

For directions on how to use the WICED IDE, look for the Quickstart Guide in the SDK/docs for WICED-QSG202-R.pdf.

Thanks,

Jaeyoung

0 Likes