You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to use an ESP8266 (ESP-01) to add Wifi capabilities to a nRF9160 project board. I am using nRF Connect SDK V2.9.0 and the V2.9.0 Toolchain. I'm not sure what version of Zephyr those correspond to. I posted an inquiry about this to the Nordic site but they think it is a Zephyr issue.
To set it up I followed the basic directions here:
State: COMPLETED
Interface Mode: STATION
Link Mode: UNKNOWN
SSID: txrx2.4
BSSID: D8:47:32:74:F3:E6
Band: 2.4GHz
Channel: 9
Security: UNKNOWN
MFP: UNKNOWN
RSSI: -60
Beacon Interval: 0
DTIM: 0
TWT: Not supported
And I have confirmed it has been assigned an IP address and has at least one :
net iface
Interface wlan0 (0x20000560) (IP Offload) [1]
Link addr : 50:02:91:51:74:8F
MTU : 2048
Flags : AUTO_START,IPv4
Device : esp8266 (0x27324)
Status : oper=UP, admin=UP, carrier=ON
IPv4 unicast addresses (max 1):
10.10.51.28/255.255.254.0 DHCP preferred infinite
IPv4 multicast addresses (max 2):
224.0.0.1
IPv4 gateway : 10.10.50.1
DHCPv4 lease time : 0
DHCPv4 renew time : 0
DHCPv4 server : 0.0.0.0
DHCPv4 requested : 0.0.0.0
DHCPv4 state : disabled
DHCPv4 attempts : 0
net dns
DNS servers:
8.8.8.8:53
Pending queries:
However when I then try to use other commands like ping or dns they always fail:
--- Sent utf8 encoded message: "net ping 10.10.50.205\r\n" ----
net ping 10.10.50.205
PING 10.10.50.205
Failed to send ping,uart:~$
---- Sent utf8 encoded message: "net dns google.com\r\n" ----
net dns google.com
Cannot resolve 'google.com' (-22)
I have searched through all of the other problem tickets and although I found a couple related to the ESP8266 and Wifi add-on shields in general they seem to be precursors to getting to this state (i.e. they can't talk to the card at all or it crashes). I cannot find anything related to this issue or even close to it.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I am trying to use an ESP8266 (ESP-01) to add Wifi capabilities to a nRF9160 project board. I am using nRF Connect SDK V2.9.0 and the V2.9.0 Toolchain. I'm not sure what version of Zephyr those correspond to. I posted an inquiry about this to the Nordic site but they think it is a Zephyr issue.
To set it up I followed the basic directions here:
https://docs.zephyrproject.org/latest/boards/shields/esp_8266/doc/index.html
I wanted to test it using the standard wifi shell sample.
In the CMakeList.txt file I added the following line:
set(SHIELD esp_8266)
And I created an overlay file containing the mapping to the Tx/Rx pins to communicate with it:
Since I wanted to test DNS and some other more advanced features I added the following lines to the prj.conf file:
Having done all of that I compiled and uploaded the firmware and tested it out. I am able to scan the wifi and connect:
And I have confirmed it has been assigned an IP address and has at least one :
However when I then try to use other commands like ping or dns they always fail:
I have searched through all of the other problem tickets and although I found a couple related to the ESP8266 and Wifi add-on shields in general they seem to be precursors to getting to this state (i.e. they can't talk to the card at all or it crashes). I cannot find anything related to this issue or even close to it.
Thoughts or suggestions?
Beta Was this translation helpful? Give feedback.
All reactions