Verfasste Forenbeiträge

Ansicht von 5 Beiträgen - 1 bis 5 (von insgesamt 5)
  • Autor
    Beiträge
  • als Antwort auf: No BLE: Discovered shown? #6510
    Wouter BreveWouter Breve
    Teilnehmer

    Hopefully you succeed. If I get any further, I will let you know. Good luck!

    als Antwort auf: No BLE: Discovered shown? #6508
    Wouter BreveWouter Breve
    Teilnehmer

    Thank you for your message and sorry to hear that you are encountering the same problem.

    – I did a new download in a new folder.
    – Then in VS Code: File – Open Workspace from File – MTC4BT-workspace
    – Checked whether PIO Platforms Espressif 32 was installed.
    – Removed: platformio – under [env:esp32doit-devkit-v1] build_flags = ${my_common.build_flags} removed this and then the installation ran fine.
    – adjusted the default network config
    – uses the default controller_config
    – Upload Filesystem Image
    – Upload and Monitor

    And then it worked.
    Unfortunately I still can’t get any further after that. See MAC addresses passing by, but when I enter them in the controller_config nothing happens or he can no longer find the address.

    Does anyone know how to solve this? Should you use/connect the remote control or just flash the HUB?

    Hope this helps you and would love to hear how you went about the next step to get it working.

    als Antwort auf: No BLE: Discovered shown? #6492
    Wouter BreveWouter Breve
    Teilnehmer

    Next problem is:
    BLE : Unable to attach to remote control service.
    Loop: Connect failed. Will retry…
    BLE : Disconnected from hub ‘mac-adress’.
    BLE : Scanning for 1 hub(s)…
    BLE : Discovered hub: N03RV (mac address).
    BLE : Scanning for 1 hub(s) aborted.
    BLE : Connecting to hub ‘mac-adress’…
    BLE : Connected to hub ‘mac-adress’.
    BLE : Reconnected to hub ‘mac-adress’…
    BLE : Unable to attach to remote control service.

    als Antwort auf: No BLE: Discovered shown? #6491
    Wouter BreveWouter Breve
    Teilnehmer

    I don’t know how, but I’m one step further. The problem is solved!
    Thanks for your response @Mattze

    als Antwort auf: No BLE: Discovered shown? #6490
    Wouter BreveWouter Breve
    Teilnehmer

    controller_config.json has been added but left empty because I don’t know the mac-addresses of the Hubs yet.

    I did a new installation with a folder data/MTC4BT1 containing the controller_config.json(empty) and network_config.json(Network and MQTT have connection).

    This time I received two notifications:
    1: platformio – under [env:esp32doit-devkit-v1] build_flags = ${my_common.build_flags} removed this and then the installation ran fine.

    2: message during installation:
    Archiving .pio\build\az-delivery-devkit-v4\lib07b\libSPIFFS.a
    lib/MCNetwork/MattzoMQTTSubscriber.cpp: In static member function ‘static void MattzoMQTTSubscriber::taskLoop(void*)’:
    lib/MCNetwork/MattzoMQTTSubscriber.cpp:156:63: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
    sendMessage(“roc2bricks/ping”, _subscriberName);

    This installation also gives the same result.

Ansicht von 5 Beiträgen - 1 bis 5 (von insgesamt 5)