-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error: connection.init() in a loop #21
Comments
Hi Paul,
|
P.S.: Please let us know if/when you resolve your issue(s). |
Ok, I just finished merging that branch into the master branch. So if you just update your library, point 5 becomes obsolete. Maybe that already fixes it for you! Also make sure to start off the new example file! |
I presume these problems should not persist any more, as the library has been changed quite a bit in the meantime. If the problem persists, please open new issue with the new Serial monitor output. |
I just uploaded the home_indicator.ino with the Arduino-TR-064-SOAP-Library to a Wemos D1 Mini Pro v2.0.0.
I only edited:
const char* wifi_ssid = "";
const char* wifi_password = "";
const char* fuser = "arduino";
const char* fpass = "";
I changed one Mac address from the original .ino file. I changed the first with my macbook mac address.
const char macsPerUser[numUser][maxDevices][18] = {{"MY:OWN:MAC:ADDRESS","12:34:56:78:9A:BC"}, //User1, two devices
Then when I look into my serial monitor I see a loop at connection.init()
When I add a Serial.print on the next row it never gets there. After a while the loop stops and the board restarts and start with a loop at connection.init() again.
Serial Monitor:
09:05:19.140 -> ⸮⸮⸮Initialize TR-064 connection
09:05:19.140 -> [HTTP] begin: 192.168.179.1:49000/tr64desc.xml
09:05:23.587 -> [HTTP] GET...
09:05:23.587 -> Getting the initial nonce and realm
09:05:23.620 -> action_1
09:05:23.620 -> [HTTP] begin: 192.168.179.1:49000
09:05:23.620 ->
09:05:23.620 ->
09:05:23.620 ->
09:05:23.620 -> <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><s:Header><h:InitChallenge xmlns:h="http://soap-authentication.org/digest/2001/10/" s:mustUnderstand="1">arduino</h:InitChallenge ></s:Header><s:Body><u:GetGenericAssociatedDeviceInfo xmlns:u='urn:dslforum-org:service:WLANConfiguration:1'>1</u:GetGenericAssociatedDeviceInfo></s:Body></s:Envelope>
09:05:23.654 ->
09:05:23.654 ->
09:05:23.654 ->
09:05:26.169 -> pm open,type:2 0
09:05:28.640 -> [HTTP] POST... SOAPACTION: urn:dslforum-org:service:WLANConfiguration:1#GetGenericAssociatedDeviceInfo
09:05:28.640 -> Getting the initial nonce and realm
09:05:28.673 -> action_1
09:05:28.673 -> [HTTP] begin: 192.168.179.1:49000
09:05:28.673 ->
09:05:28.673 ->
09:05:28.673 ->
09:05:28.673 -> <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><s:Header><h:InitChallenge xmlns:h="http://soap-authentication.org/digest/2001/10/" s:mustUnderstand="1">arduino</h:InitChallenge ></s:Header><s:Body><u:GetGenericAssociatedDeviceInfo xmlns:u='urn:dslforum-org:service:WLANConfiguration:1'>1</u:GetGenericAssociatedDeviceInfo></s:Body></s:Envelope>
09:05:28.710 ->
09:05:28.710 ->
09:05:28.710 ->
09:05:33.706 -> [HTTP] POST... SOAPACTION: urn:dslforum-org:service:WLANConfiguration:1#GetGenericAssociatedDeviceInfo
09:05:33.706 -> Getting the initial nonce and realm
09:05:33.706 -> action_1
09:05:33.706 -> [HTTP] begin: 192.168.179.1:49000
09:05:33.706 ->
09:05:33.706 ->
09:05:33.706 ->
09:05:33.706 -> <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><s:Header><h:InitChallenge xmlns:h="http://soap-authentication.org/digest/2001/10/" s:mustUnderstand="1">arduino</h:InitChallenge ></s:Header><s:Body><u:GetGenericAssociatedDeviceInfo xmlns:u='urn:dslforum-org:service:WLANConfiguration:1'>1</u:GetGenericAssociatedDeviceInfo></s:Body></s:Envelope>
09:05:33.776 ->
09:05:33.776 ->
09:05:33.776 ->
09:05:38.765 -> [HTTP] POST... SOAPACTION: urn:dslforum-org:service:WLANConfiguration:1#GetGenericAssociatedDeviceInfo
09:05:38.765 -> Getting the initial nonce and realm
09:05:38.765 -> action_1
09:05:38.765 -> [HTTP] begin: 192.168.179.1:49000
Somebody know what is going wrong?
I have made an extra user at my FritzBox 5490 and double checked login and password. With wifi the D1 mini Pro connects with the Wifi of my FritzBox 5490
The text was updated successfully, but these errors were encountered: