Check one bit and send it to a smart phone

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

cross mob
Anonymous
Not applicable

So I have a simple task of reading one bit from WICED-WiFi and send a message to a smart phone via Wifi link.

Which current application in the SDK is the best starting point for me?

Thanks

NK

1 Solution
SeyhanA_31
Employee
Employee
250 replies posted 100 replies posted 50 replies posted

Hi,

Check out this blog about sending an I/O state changes to specified e-mail addresses, http://community.broadcom.com/community/wiced-wifi/wiced-wifi-forums/blog/2014/12/05/email-state-cha...

Perhaps you can set the e-mail address as 10digitphonenumber@txt.att.net to send SMS messages to AT&T phones, 10digitphonenumber@tmomail.net to T-Mobile phones, and 10digitphonenumber@vtext.com to Verizon. Each cell phone provider have a free e-mail to SMS service it can be utilized. for other carriers you may check out The Complete List Of Text Messaging Email Addresses | EmailTextMessages.com.

I hope it helps to resolve your question.

Seyhan

View solution in original post

0 Likes
7 Replies
SeyhanA_31
Employee
Employee
250 replies posted 100 replies posted 50 replies posted

Hi,

Check out this blog about sending an I/O state changes to specified e-mail addresses, http://community.broadcom.com/community/wiced-wifi/wiced-wifi-forums/blog/2014/12/05/email-state-cha...

Perhaps you can set the e-mail address as 10digitphonenumber@txt.att.net to send SMS messages to AT&T phones, 10digitphonenumber@tmomail.net to T-Mobile phones, and 10digitphonenumber@vtext.com to Verizon. Each cell phone provider have a free e-mail to SMS service it can be utilized. for other carriers you may check out The Complete List Of Text Messaging Email Addresses | EmailTextMessages.com.

I hope it helps to resolve your question.

Seyhan

0 Likes
Anonymous
Not applicable

Thanks Seyhan.

I was able to make the push2email file.

Regarding the SSID PASSPHRADE, I am using an open WiFi in a coffee shop

(CoffeeBean) which is open and here is the scan results:

Scan complete in 1363 milliseconds

Waiting for scan results...

  1. Type BSSID RSSI Rate Chan Security SSID

0 Likes

Hi,

Push2Email snip application connects to the network defined in the  .../apps/snip/push2email/wifi_config_dct.h file. If application directory does not have the wifi_config_dct.h file, the network connection definitions are used from the default .../include/default_wifi_config_dct.h file.

In order to connect to a open network change the "#define CLIENT_AP_SECURITY" definition to "WICED_SECURITY_OPEN" where no pass phrase is needed.

#define CLIENT_AP_SECURITY  WICED_SECURITY_OPEN

Seyhan

0 Likes
Anonymous
Not applicable

Seyhan,

I was able to connect to WiFi.

However, when I push SW1 on the board it fails to send email and says:

Bring network up.

Joining : DDW366.A60E97-2.4G

Successfully joined : DDW366.A60E97-2.4G

Obtaining IPv4 address via DHCP

Setting IPv6 link-local address

IPv4 network ready IP: 192.168.0.20

Getting NTP time... success

Current time is: 2015-07-08T00:58:09.022928

Querying DNS server for smtp.yahoo.com

Successfully retrieved SMTP server IP : 98.139.253.105

Sending email: <WICED device is up, initial LED state is ON.>. FAILED!

Querying DNS server for smtp.yahoo.com

Successfully retrieved SMTP server IP : 98.139.253.105

Sending email: <LED is detected OFF.>. FAILED!

This is what I have in my line 172-176 of push2email.c file.

Should I change any line of it? server port, smtp or encryption?

account.email_address = "nkalantari@yahoo.com"; // or use your email

account

account.user_name = "nkalantari"; // or use your

username

account.password = "Mypassword!"; // or use your

password

account.smtp_server = "smtp.yahoo.com"; // or select your

SMTP server

account.smtp_server_port = 587; // or select

another port

account.smtp_encryption = WICED_EMAIL_ENCRYPTION_TLS; // or

WICED_EMAIL_NO_ENCRYPTION

Regards,

NK

On Mon, Jul 6, 2015 at 12:48 AM, seyhan <

0 Likes

Hi,

It is not tested with yahoo mail.

I will create an yahoo email account and try it.

Seyhan

0 Likes
Anonymous
Not applicable

I tried with my Gmail as well. Same thing .Shall I change any of those

lines?

NK

Nader Kalantari, PhD

Founder & CEO

ArianRF Inc.

Email: nader@arianrf.com

Phone: (949) 246 0848

On Jul 8, 2015 12:35 AM, "seyhan" <communities-list@community.broadcom.com>

0 Likes

Hi,

Check out this blog for the fix, Using the Email App From WICED SDK 3.1.2

Seyhan

0 Likes