cancel
Showing results for 
Search instead for 
Did you mean: 

Comms between 2 x IDW01M1 boards

daithi62
Associate II
Posted on October 19, 2017 at 18:24

Hi,

I am working on the IDW01M1 wifi module. To-date I have been able to connect 2 of these modules to a common server and send commands between them via the server. I am now trying to connect directly between the modules without the need for the server. I have been able to create an adhoc network but I am unsure about how to setup the boards as both clients and servers. I have searched for any setup information for communicating between 2 IDW01M1 boards and have not been successful.

Could anybody point me in the right direction as to how I could get communications going directly between 2 boards.

Regards,

COD

#wifi-spwf01sa #idw01m1
1 REPLY 1
daithi62
Associate II
Posted on October 23, 2017 at 18:10

I have one board setup as a server and the other board setup as a client and when I try to connect I am receiving 'WIND: 74 Rejected found Network'. I was able to connect to my android phone earlier using this method.

# Status & Statistics:

# version = 170111-665d284-SPWF01S

# reset_reason = 2

# conf_flag = 5

# system_uptime = 149

# system_sleeptime = 0

# gpio_enable = 0

# captiveportal = 0

# wifi_state = 5

# wifi_bssid = 00:00:00:00:00:00

# wifi_aid = 0

# wifi_channelnum = 0

# wifi_sup_rate_mask = 0x003FFFCF

# wifi_bas_rate_mask = 0x0000000F

# wifi_chan_activity2 = 0x00001FFF

# wifi_max_tx_power = 12

# wifi_gf_mode = 0

# wifi_regccountry DE

# wifi_dtim_period = 1

# wifi_sleeping = 0

# wifi_num_assoc = 0

# ip_ipaddr = 0.0.0.0

# ip_netmask = 0.0.0.0

# ip_gw = 0.0.0.0

# ip_dns = 0.0.0.0

# ip_dns2 = 0.0.0.0

# ip_sock_open = 0

# ip_sockd_port = 0

# free_heap =20024

# min_heap = 19784

# current_time = 606

=================================================

# Dumping All Configuration Keys:

# nv_manuf = STM

# nv_model = SPWF01SA11

# nv_serial = value

# nv_wifi_macaddr = 00:80:E1:B9:77:BD

# etf_mode = 0

# blink_led = 0

# wind_off_low = 0x00000000

# wind_off_medium = 0x00000000

# wind_off_high = 0x00000000

# user_desc = anonymous

# escape_seq = at+s.

# localecho1 = 0

# console1_speed = 115200

# console1_hwfc = 1

# console1_enabled = 1

# console1_delimiter = 0x000000CC

# onsole1_errs = 1

# sleep_enabled = 0

# standby_enabled = 0

# standby_time = 10

# wifi_tx_msdu_lifetime = 0

# wifi_rx_msdu_lifetime = 0

# wifi_operational_mode = 0x00000011

# wifi_beacon_wakeup = 1

# wifi_beacon_interval== 100

wifi_listen_interval = 0

# wifi_rts_threshold = 3000

# wifi_ssid = 43:54:41:43:53:5F:41:64:68:6F:63:5F:45:72:6E:65:73:74:00:00:00:00

:00:00:00:00:00:00:00:00:00:00

# wifi_ssid_len = 18

# wifi_txfail_thresh = 5

# wifi_dtim_period =1

# wifi_add_tim_ie = 1

# wifi_ht_mode = 0

# wifi_channelnum = 1

# wifi_opr_rate_mask = 0x00003FCF

# wifi_bas_rate_mask = 0x0000000F

# wifi_mode = 1

# wifi_region = 1

# wifi_auth_type = 0

# wifi_atim_window = 0

# wifi_powersave= 0

# wifi_tx_power = 12

# wifi_rssi_thresh = 0

# wifi_rssi_hyst = 0

# wifi_ap_idle_timeout = 120

# wifi_beacon_loss_thresh = 10

# wifi_priv_mode = 2

# wifi_wep_keys[0] = 00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00

# wiii_wep_eys[1] = 00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00

# wifi_wep_keys[2] = 00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00

# wifi_wep_keys[3] = 00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00

# wifi_wep_key_lens = 00:00:00:00

wifi_ep_default_key = 0

# wifi_wpa_psk_raw = 99:26:E4:84:73:1C:58:8E:1D:17:B5:08:DF:E8:B2:92:E2:64:12:4

3:9D:17:37:E9:57:68:21:15:C8:7A:E3:DD

# wifi_wpa_psk_text = T1tpfctaahn

# ip_use_dhcp = 1

# ip_use_httpd = 1

# ip_mtu = 1500

# ip_hostame = iwm-B9-77-BD

# ip_apdomainname = captiveportal.net

# ip_apredirect = firstset.html

# ip_ipaddr = 192.168.0.123

# ip_netmask = 255.255.255.0

# ip_gw = 192.168.0.1

# ip_dns = 192.168.0.1

# ip_http_get_recv_timeout = 3000

# ip_ait_timeout = 12000

# ip_dhcp_timeout = 20

# ip_sockd_timeout = 250

# ip_dhcp_lease_time = 120

# ip_dns_mode = 0

# ip_use_cgis = 0x0000000F

# ip_use_ssis = 0x0000000F

# ip_use_decoder = 0x00000000

# ip_block_pings = 0

Thanks,

cod