Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • 09:50
    d-a-v labeled #6799
  • 09:50
    d-a-v unlabeled #6799
  • 09:32

    d-a-v on master

    Terminate the chunked printDire… (compare)

  • 09:32
    d-a-v closed #6808
  • 09:32
    d-a-v closed #2481
  • 09:26
    fmgomes edited #6810
  • 09:25
    fmgomes opened #6810
  • 09:20
  • 08:40
  • 08:02
    dok-net synchronize #6047
  • 07:51
    dok-net synchronize #6804
  • 07:49
    dok-net synchronize #6809
  • 07:47
    dok-net synchronize #6782
  • 07:44
    devyte milestoned #2481
  • 07:44
    devyte milestoned #6808
  • 07:43
    devyte synchronize #6808
  • 07:43

    devyte on master

    Weak binding lessens version de… (compare)

  • 07:43
    devyte closed #6790
  • 07:12
    dok-net opened #6809
Me No Dev
@me-no-dev
interesting... maybe @igrr can check the source for issues
@crushedice2000 please explain the problem better here, so he can have something to go from
Helio Machado
@0x2b3bfa0

@me-no-dev: Explaining:

  1. I've done a sketch based on this one. The only difference is that I'Ve added this code in the top:
extern "C" {
  #include "user_interface.h"
  void __run_user_rf_pre_init(void) {
    uint8_t ap_mac[] = AP_BSSID;
    uint8_t sta_mac[] = STA_BSSID;
    system_phy_set_max_tpw(TXPWR);
    wifi_set_phy_mode(TXMODE);
    wifi_set_macaddr(SOFTAP_IF, &ap_mac[0]);
    wifi_set_macaddr(STATION_IF, &sta_mac[0]);
  }
}
  1. If I comment the below lines, all works well:
wifi_set_macaddr(SOFTAP_IF, &ap_mac[0]);
wifi_set_macaddr(STATION_IF, &sta_mac[0]);
  1. If I don't, then happens this:

    • On the firefox JS console:

      var j = new WebSocket('ws://192.168.1.1:81', ['arduino']);
      undefined
      Firefox no puede establecer una conexión con el servidor en ws://192.168.1.1:81/
      Translated: Firefox cannot connect to the server on ws://192.168.1.1:81/
    • On the server: It fires the webSocketEvent with type=WStype_CONNECTED and then the connection closes (the server won't fire webSocketEvent with type=WStype_DISCONNECTED )

Me No Dev
@me-no-dev
you mac adresses ok?
uint8_t ap_mac[] = {0x01, 0x23, 0x45, 0x67, 0x89, 0xAB};
Helio Machado
@0x2b3bfa0
@me-no-dev:
#define AP_BSSID {0x52, 0x31, 0x39, 0x32, 0x41, 0x00}
#define STA_BSSID {0x52, 0x31, 0x39, 0x32, 0x41, 0xFF}
Me No Dev
@me-no-dev
and everything else is fine? You see the proper mac in your DHCP?
Helio Machado
@0x2b3bfa0
@me-no-dev: I'm not using the client now. On the SoftAP, I don't know what to do.
Me No Dev
@me-no-dev
ok what is WiFi telling you on the ESP?
if you read both macs after setting them
Helio Machado
@0x2b3bfa0
@me-no-dev: How?
Me No Dev
@me-no-dev
String staMAC = WiFi.macAddress();
String apMAC = WiFi.softAPmacAddress();
Helio Machado
@0x2b3bfa0
@me-no-dev: The result is the new mac. The change works.
Me No Dev
@me-no-dev
let's hope @igrr can shed some light
Helio Machado
@0x2b3bfa0
@me-no-dev: OK. Thanks!
sticilface
@sticilface
@igrr any ideas about this. https://community.platformio.org/t/the-old-beast-using-the-staging-version/380/7 the wifievent refactoring does not play nice with platformio
PyB
@PyBerger
when sending TCP Packets to 1 or several client (ESP as SoftAP + TCP Server), I sometime gets an Exeption 9
The exception decoding seems to indicate it has something to do with the _eventCallback :
'''0x402033a0: ESP8266WiFiGenericClass::_eventCallback(void*) at hardware\esp8266com\esp8266\tools\xtensa-lx106-elf\xtensa-lx106-elf\include\c++\4.8.2/functional line 2439
0x4010117b: ppProcessTxQ at ?? line ?
0x401011b6: ppProcessTxQ at ?? line ?
0x40226c24: wifi_set_status_led_output_level at ?? line ?
<
Ivan Grokhotkov
@igrr
@PyBerger do you have some code which reproduces this issue which I can run?
PyB
@PyBerger
I need to make a specific one - to simulate the working of my application - but would be without interrupt... and that may have an impact
can I sent you the sketch in private ?
Ivan Grokhotkov
@igrr
you can make a private gist and then PM me the link
PyB
@PyBerger
mail ?
easier for me
FWeinb
@FWeinb
I would like to get started with some mqtt. What are you guys running. Was thinking of going with homie. Or are there other more mature projects out there?
andig
@andig
still dont manage to get esp spiffs upload tool installed on osx
my arduino is in Documents/Arduino
under that folder I've got hardware for the esp stuff
working and compiles
where should the esp8266fs.jar go?
tried various locations but the arduino ide doesn't pick it up?
Hagai Shatz
@hagai-shatz
Documents/Arduino/tools/ESP8266FS/tool/
andig
@andig
thats where it is :(
Hagai Shatz
@hagai-shatz
Works for me on OS X, or should I say macOS?
Me No Dev
@me-no-dev
Screen Shot 2016-06-17 at 18.17.25.png
andig
@andig
andig@macbook:~/Documents/Arduino/tools/ESP8266fs$ ls ~/Documents/Arduino/tools/ESP8266fs/tool/
esp8266fs.jar
Me No Dev
@me-no-dev
not macOS yet :P
@andig "tools" not "tool"
andig
@andig
its tool in the screenshot
Me No Dev
@me-no-dev
/tools/blah/tool
andig
@andig
pls check again?
yeah, that what I wrote
Me No Dev
@me-no-dev
the screenshot is from my working setup
Hagai Shatz
@hagai-shatz
You have to exit the IDE and open it again I think
Me No Dev
@me-no-dev
yes
andig
@andig
did like 200 times
Me No Dev
@me-no-dev
OS?
stupid q... :D
Hagai Shatz
@hagai-shatz
I wonder if the folder name 'ESP8266fs' and not 'ESP8266FS' has to do with it?
Me No Dev
@me-no-dev
have verbose and stuff enabled in IDE Settings?