I have tried to run my new mobo
Followed this Cabe Atwell's Getting Started Guide
Updated OS (by azsphere device recover) to 19.09
Successfully connected to wifi:
SSID : *
Configuration state : enabled
Connection state : connected
Security state : psk
Frequency : 2452
Mode : station
Key management : WPA2-PSK
WPA State : COMPLETED
IP Address : 192.168.2.133
MAC Address : *
I have complete Getting Started Guide but data from my device are not sent to server.
My investigation:
I have added to the ShockDetect project
bool isNetworkingReady = false; if ((Networking_IsNetworkingReady(&isNetworkingReady) < 0) || !isNetworkingReady) { Log_Debug("\nNetwork is not up.\n"); Log_Debug("%s (%d).\n", strerror(errno), errno); }
and receive error
Network is not up.
No error information (0).
---
I have tested also from azure-sphere-samples
1. PrivateNetworkServices project with interface changed to wifi
output
INFO: Networking_GetInterfaceCount: count=1
INFO: Networking_GetInterfaces: actualCount=1
INFO: interface #0
INFO: interfaceName="wlan0"
INFO: isEnabled="1"
INFO: ipConfigurationType=1 (DhcpClient)
INFO: interfaceMediumType=1 (Wi-Fi)
INFO: interfaceStatus=0x0f
2. CurlEasyHttps project
OutPut
Not doing download because network is not up.
---
So I have
Networking_IsNetworkingReady - false
but
Networking_GetInterfaceConnectionStatus - 0 (So OK)
I have found this issue about similiar problem
https://github.com/Azure/azure-sphere-samples/issues/84
The reason was device have not sync time server.
I have tried to use Retail Evaluation Azure Sphere OS feed and try OS 19.10
azsphere device link-feed --feedid 82bacf85-990d-4023-91c5-c6694a9fa5b4
but after
azsphere device image list-targeted
I received
Received HTTP response: 404 (Not Found)
I have checked two access points with and without PSK key.
Contest App shows green that I am connected