- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
When I use SN8200xx as WICED_USE_EXTERNAL_DHCP_SERVER, I get synct to SNTP server.
When I use SB8200xx as static IP WICED_USE_STATIC_IP, I can not get any data from the SNTP server.
The connection my network is OK in both cases.
I work with version wiced sdk ver 2.4.1
Example:
static const wiced_ip_setting_t MNap_ip_settings =
{
INITIALISER_IPV4_ADDRESS( .ip_address, MAKE_IPV4_ADDRESS( 10,0,0,9)),
INITIALISER_IPV4_ADDRESS( .netmask, MAKE_IPV4_ADDRESS( 255,0,0,0)),
INITIALISER_IPV4_ADDRESS( .gateway, MAKE_IPV4_ADDRESS( 10,0,0,138)),
};
//=============================================================================================
void application_start(void)
{
/* Initialise the device and WICED framework */
wiced_init( );
/* Bring up the network interface */
//Work
// wiced_network_up( WICED_STA_INTERFACE, WICED_USE_EXTERNAL_DHCP_SERVER, NULL );
//Do not work
wiced_network_up( WICED_STA_INTERFACE, WICED_USE_STATIC_IP, &MNap_ip_settings);
sntp_start_auto_time_sync( 1 * DAYS );
Why SNTP server do not response while I use Static IP ?
thanks
- Tags:
- 816114
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'd like to make sure that MNap_ip_settings works properly. Please try ping first.
Is SNTP packet on the air when static IP?
Comparing air captures between DHCP and static would help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Ping work fine in both.
Only SNTP do not work.
How can I check the packet on the air ?
Do you have any phone application for that ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Do you have wireless capture tool like AirPcap?
Some useful tools for Wi-Fi debugging
If SNTP server runs on your local PC(Windows/Linux), Wireshark can get wired capture on the PC.
WICED <---(wireless)---> AP <---(wired)--->PC(SNTP server)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I do not have wireless capture tool.
Why Broadcom engineers do not check this bug in there software. Its very easy to observe this bug.
any way..
Thanks for your support.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I try to run your example
It does not work . The only different is that I need to change the security line in wifi_config_dct.h to WPA2 so I can join to my wireless network.
//#define CLIENT_AP_SECURITY WICED_SECURITY_OPEN
#define CLIENT_AP_SECURITY WICED_SECURITY_WPA2_MIXED_PSK
When I switch to WICED_USE_EXTERNAL_DHCP_SERVER, everything is OK.
Is it related to Security ? You use open network , and use my secured network.
My log file is:
Starting Wiced v2.4.1
Platform SN8200x initialised
Started ThreadX v5.5
Initialising NetX_Duo v5.6
Creating Packet pools
WWD SDIO interface initialised
WLAN MAC Address : 00:0B:6C:41:84:DB
WLAN Firmware : wl0: Feb 10 2014 11:29:55 version 5.90.230.7 FWID 01-555f783e
Joining : nisani
Failed to join: nisani
Joining : nisani
Successfully joined : nisani
Setting IPv6 link-local address
IPv4 network ready IP: 10.0.0.9
Getting NTP time... DNS lookup start @ 6890
DNS ends @ 21894
failed, trying again...
DNS lookup start @ 21898
DNS ends @ 36900
failed, trying again...
DNS lookup start @ 36904
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Is there a way to confirm this is specific to the module? Are you both using the same module?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I only have several SN8200x modules.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi dmiya
I'm also facing the same situvation, cant use SNTP while using the STATIC IP , but with the DHCP (external) it is working fine...
Please help...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi All
i am also getting the same problem, can any one provide me the solution, but here i am using different platform.
My setting: #define CLIENT_AP_SECURITY WICED_SECURITY_WPA2_MIXED_PSK
/* Bringup the network interface */
wiced_network_up( WICED_STA_INTERFACE,WICED_USE_EXTERNAL_DHCP_SERVER, NULL );
logs:
Starting WICED v3.1.2
Platform BCM9WCDPLUS114 initialised
Started ThreadX v5.6
Initialising NetX_Duo v5.7_sp1
Creating Packet pools
WWD SDIO interface initialised
WLAN MAC Address : FC:4D:D4:FF:C3:7A
WLAN Firmware : wl0: Nov 7 2014 16:03:45 version 5.90.230.12 FWID 01-4b73cbac
Starting WICED Bluetooth
Bluetooth MAC Address : FC:4D:D4:ED:0D:30
Bluetooth Firmware : BCM20702B0_002.001.014.0487.0000_Generic_UART_Class1_20MHz.hcd
Initialising WICED SmartBridge ...
Joining : SMART
Successfully joined : SMART
Obtaining IPv4 address via DHCP
Setting IPv6 link-local address
IPv4 network ready IP: 10.100.10.64
Getting NTP time...
failed, trying again...
failed, trying again...
failed, trying again...
Give up getting NTP time
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Since the problem seem to be between SNTP support on Static Vs Dynamic IP, I am not sure if there is any module specific issue that we can look into.