ESP8266 et mode AP sous condition
bonjour,
je veux lancer le wifi en mode ap que si c'est nécessaire afin de faire des économies de batterie
je mets
il me crache les insultes suivantes :
bouton appuyé
exception (0):
epc1=0x402024f8 epc2=0x00000000 epc3=0x00000000 excvaddr=0x00000000 depc=0x00000000
ctx: cont
sp: 3ffef1a0 end: 3ffef6c0 offset: 01a0
>>>stack>>>
3ffef340: 40107078 feefeffe feefeffe feefeffe
3ffef350: ffffffff 00000020 feefeffe feefeffe
3ffef360: feefeffe feefeffe feefeffe 00000022
3ffef370: 3fffc200 40107040 3fffc258 4000050c
3ffef380: 400043df 00000030 00000016 ffffffff
3ffef390: 400044ab 3fffc718 3ffef480 08000000
3ffef3a0: 60000200 08000000 00000003 00000000
3ffef3b0: 0000ffff 00000000 ffffff00 003fe000
3ffef3c0: 40231d20 00000484 003fe000 00000030
3ffef3d0: feefeffe feefeffe feefeffe feefeffe
3ffef3e0: feefeffe feefeffe feefeffe feefeffe
3ffef3f0: feefeffe feefeffe feefeffe feefeffe
3ffef400: feefeffe feefeffe feefeffe feefeffe
3ffef410: feefeffe feefeffe feefeffe feefeffe
3ffef420: feefeffe feefeffe feefeffe feefeffe
3ffef430: feefeffe feefeffe feefeffe feefeffe
3ffef440: feefeffe feefeffe feefeffe feefeffe
3ffef450: feefeffe feefeffe feefeffe feefeffe
3ffef460: feefeffe feefeffe feefeffe feefeffe
3ffef470: feefeffe feefeffe feefeffe feefeffe
3ffef480: 00000002 4000410f feefeffe 3fff0e04
3ffef490: 3fffc718 40004a3c 000003fe 40231d20
3ffef4a0: 3fffc718 40105af2 000003fe 40107638
3ffef4b0: 40004b31 000003fe 4021baac 4021ba95
3ffef4c0: 3fff101c 4021bb7d 3fff0b94 000003ff
3ffef4d0: 000003fd 3fff0e04 3fff0b94 000003fd
3ffef4e0: ffffff01 55aa55aa 00000031 0000001c
3ffef4f0: 0000001c 000000e5 000000e5 000003ff
3ffef500: 4021cc77 3ffef5bc 3fff0b94 3fff0c0c
3ffef510: 3fff0c48 3fff0c68 00000001 4021cd9e
3ffef520: 3ffe847c 00000000 00000000 00000001
3ffef530: 00000001 feefeffe feefeffe feefeffe
3ffef540: 40202c9a 00000000 3ffe847c 40202bc4
3ffef550: 636e6957 00000068 0000000a 3ffee5dc
3ffef560: 4020372d 3ffef54c feefeffe feefeffe
3ffef570: 61616161 61616161 feefef00 3ffef54b
3ffef580: 3ffee5bc 00000010 3ffef5d8 00000000
3ffef590: 4010053d 0000001c 00000000 3ffee5dc
3ffef5a0: 30303431 40105400 00000001 3ffe869d
3ffef5b0: feef0105 00000003 00640400 636e6957
3ffef5c0: feef0068 feefeffe feefeffe feefeffe
3ffef5d0: feefeffe feefeffe feefeffe feefef00
3ffef5e0: feefeffe feefeffe feefeffe feefeffe
3ffef5f0: feefeffe feefeffe feefeffe 0001c200
3ffef600: 0000001c 00000000 3ffee66c 401004d8
3ffef610: 401054d6 00000001 3ffe8685 40200105
3ffef620: 00000000 00640400 3ffe8479 3ffee698
3ffef630: 3fffdad0 0000000e 3ffee66c 40203a6d
3ffef640: 3ffe8684 00000000 3ffee66c 40203a6d
3ffef650: 3ffee4e8 00000002 3ffee4e8 3fffdad0
3ffef660: 40202d7f 0000000a 3ffee66c 3ffee698
3ffef670: 3fffdad0 3ffee4e8 3ffee66c 4020249b
3ffef680: feefeffe feefeffe feefeffe feefeffe
3ffef690: feefeffe feefeffe feefeffe feefeffe
3ffef6a0: feefeffe 00000000 3ffee690 40203fb0
3ffef6b0: feefeffe feefeffe 3ffee6a0 40100718
<<<stack<<<
ets jan 8 2013,rst cause:2, boot mode:(3,6)
load 0x4010f000, len 1384, room 16
tail 8
chksum 0x2d
csum 0x2d
v09f0c112
~ld
⸮
y a-t-il une solution qui permette de ne démarrer le wifi que sous condition ou de l'arrêter mais je n'arrive pas à utiliser wifi.mode (wifi_off);
merci d'avance
je veux lancer le wifi en mode ap que si c'est nécessaire afin de faire des économies de batterie
je mets
code: [select]
if ( digitalread(pinbouton) == boutonappui )
{ serial.println("bouton appuyé");
wifi.mode(wifi_ap); // serveur web démarré
wifi.softap("winch"); // (ssid, password); password :au moins 8 caractères
server.begin();
delay(10);
if (wificlient client = server.available())
{ serial.print(".");
delay(500); }
serial.println("connecté");
attend(5000);
}
il me crache les insultes suivantes :
bouton appuyé
exception (0):
epc1=0x402024f8 epc2=0x00000000 epc3=0x00000000 excvaddr=0x00000000 depc=0x00000000
ctx: cont
sp: 3ffef1a0 end: 3ffef6c0 offset: 01a0
>>>stack>>>
3ffef340: 40107078 feefeffe feefeffe feefeffe
3ffef350: ffffffff 00000020 feefeffe feefeffe
3ffef360: feefeffe feefeffe feefeffe 00000022
3ffef370: 3fffc200 40107040 3fffc258 4000050c
3ffef380: 400043df 00000030 00000016 ffffffff
3ffef390: 400044ab 3fffc718 3ffef480 08000000
3ffef3a0: 60000200 08000000 00000003 00000000
3ffef3b0: 0000ffff 00000000 ffffff00 003fe000
3ffef3c0: 40231d20 00000484 003fe000 00000030
3ffef3d0: feefeffe feefeffe feefeffe feefeffe
3ffef3e0: feefeffe feefeffe feefeffe feefeffe
3ffef3f0: feefeffe feefeffe feefeffe feefeffe
3ffef400: feefeffe feefeffe feefeffe feefeffe
3ffef410: feefeffe feefeffe feefeffe feefeffe
3ffef420: feefeffe feefeffe feefeffe feefeffe
3ffef430: feefeffe feefeffe feefeffe feefeffe
3ffef440: feefeffe feefeffe feefeffe feefeffe
3ffef450: feefeffe feefeffe feefeffe feefeffe
3ffef460: feefeffe feefeffe feefeffe feefeffe
3ffef470: feefeffe feefeffe feefeffe feefeffe
3ffef480: 00000002 4000410f feefeffe 3fff0e04
3ffef490: 3fffc718 40004a3c 000003fe 40231d20
3ffef4a0: 3fffc718 40105af2 000003fe 40107638
3ffef4b0: 40004b31 000003fe 4021baac 4021ba95
3ffef4c0: 3fff101c 4021bb7d 3fff0b94 000003ff
3ffef4d0: 000003fd 3fff0e04 3fff0b94 000003fd
3ffef4e0: ffffff01 55aa55aa 00000031 0000001c
3ffef4f0: 0000001c 000000e5 000000e5 000003ff
3ffef500: 4021cc77 3ffef5bc 3fff0b94 3fff0c0c
3ffef510: 3fff0c48 3fff0c68 00000001 4021cd9e
3ffef520: 3ffe847c 00000000 00000000 00000001
3ffef530: 00000001 feefeffe feefeffe feefeffe
3ffef540: 40202c9a 00000000 3ffe847c 40202bc4
3ffef550: 636e6957 00000068 0000000a 3ffee5dc
3ffef560: 4020372d 3ffef54c feefeffe feefeffe
3ffef570: 61616161 61616161 feefef00 3ffef54b
3ffef580: 3ffee5bc 00000010 3ffef5d8 00000000
3ffef590: 4010053d 0000001c 00000000 3ffee5dc
3ffef5a0: 30303431 40105400 00000001 3ffe869d
3ffef5b0: feef0105 00000003 00640400 636e6957
3ffef5c0: feef0068 feefeffe feefeffe feefeffe
3ffef5d0: feefeffe feefeffe feefeffe feefef00
3ffef5e0: feefeffe feefeffe feefeffe feefeffe
3ffef5f0: feefeffe feefeffe feefeffe 0001c200
3ffef600: 0000001c 00000000 3ffee66c 401004d8
3ffef610: 401054d6 00000001 3ffe8685 40200105
3ffef620: 00000000 00640400 3ffe8479 3ffee698
3ffef630: 3fffdad0 0000000e 3ffee66c 40203a6d
3ffef640: 3ffe8684 00000000 3ffee66c 40203a6d
3ffef650: 3ffee4e8 00000002 3ffee4e8 3fffdad0
3ffef660: 40202d7f 0000000a 3ffee66c 3ffee698
3ffef670: 3fffdad0 3ffee4e8 3ffee66c 4020249b
3ffef680: feefeffe feefeffe feefeffe feefeffe
3ffef690: feefeffe feefeffe feefeffe feefeffe
3ffef6a0: feefeffe 00000000 3ffee690 40203fb0
3ffef6b0: feefeffe feefeffe 3ffee6a0 40100718
<<<stack<<<
ets jan 8 2013,rst cause:2, boot mode:(3,6)
load 0x4010f000, len 1384, room 16
tail 8
chksum 0x2d
csum 0x2d
v09f0c112
~ld
⸮
y a-t-il une solution qui permette de ne démarrer le wifi que sous condition ou de l'arrêter mais je n'arrive pas à utiliser wifi.mode (wifi_off);
merci d'avance
Arduino Forum > International > Français (Moderators: jfs, Snootlab) > ESP8266 et mode AP sous condition
arduino
Comments
Post a Comment