Code Monkey home page Code Monkey logo

stwirelessremote's Introduction

stwirelessremote's People

Contributors

philipb78 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

stwirelessremote's Issues

compile error

I get several errors compiling in VS Code. Most of the errors are for missing include files because they're referenced with "" instead of "/" which is easy to fix, but I also got a link error:
Linking .pio/build/nodemcu-32s/firmware.elf
.pio/build/nodemcu-32s/lib1e2/libEspSoftwareSerial.a(SoftwareSerial.cpp.o): in function `std::function<void ()>::operator()() const':
/Users/user/.platformio/packages/toolchain-xtensa-esp32/xtensa-esp32-elf/include/c++/8.4.0/bits/std_function.h:686:(.iram1.66[delegate::detail::DelegateImpl<void*, void>::operator()() const]+0x24): dangerous relocation: l32r: literal placed after use: .literal._ZNK8delegate6detail12DelegateImplIPvvEclEv
collect2: error: ld returned 1 exit status
*** [.pio/build/nodemcu-32s/firmware.elf] Error 1
======================================================= [FAILED] Took 13.16 seconds =======================================================

I don't really understand why, but google turned up this, so I modified platformio.ini and added:

build_flags =
-mtext-section-literals

Let me know if you want a pull request.

Port to SignalK SensESP

For more complicated boat networks, where existing NMEA0183, NMEA2000, Seatalk, wifi, USB, and bluetooth devices all live together, SignalK is meant to help bridge the interfaces with a common server.

Info about the SignalK project: http://signalk.org/

In addition to the server, the SignalK project also maintains a framework for ESP-based sensors to communicate with it. It is well thought out, with a dashboard in the default access-point mode for configuring wifi and (optional) connection to the server, and an asynchronous event-based architecture from ReactESP.

GitHub for the SensESP firmware framework: https://github.com/SignalK/SensESP

ReactESP: https://github.com/mairas/ReactESP

Because the rest of SenseESP is quite similar to this project (PlatformIO, Arduino/C++, an ESP32, and ESP Async Webserver), I believe that porting to their codebase will not be difficult, and is the easiest way to gain some important functionality.


For my own part, I need SignalK for my connection to SeaTalk to be useful, as my ultimate goal is to provide the GPS, and course for "track" mode through SignalK. As well, I look forward to finally getting wind and autopilot data into SignalK, so it can be shown in Freeboard (a locally hosted web-based chartplotter) and OpenCPN combined with the AIS data.

I have been trying to do this for several years, and already had a non-functional prototype. I was able to get your firmware on it, but I still have some hardware issues to work out that prevent me from contributing already.

Build Issue on fresh install

Error happening on fresh install of VC without platformio plugin installed previously
.pio\build\esp32doit-devkit-v1\lib6e4\libEspSoftwareSerial.a(SoftwareSerial.cpp.o): In function `std::function<void ()>::operator()() const':
C:\ReporOwn\STWirelessRemote/.pio\libdeps\esp32doit-devkit-v1\EspSoftwareSerial\src/SoftwareSerial.cpp:670:(.iram1.54[delegate::detail::DelegateImpl<void*, void>::operator()() const]+0x22): dangerous relocation: l32r: literal placed after use: .literal._ZNK8delegate6detail12DelegateImplIPvvEclEv
collect2.exe: error: ld returned 1 exit status

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.