S
Reaction score
4

Latest activity Postings About

    • S
      A little about AsyncWebServer_Teensy41: it doesn't really use the QNEthernet library. It does use the initialization machinery, but then uses the included lwIP stack (via the Teensy41_AsyncTCP library) and not the QNEthernet API. I wonder if...
    • S
      SLIP framing might be another option.
    • S
      Yep, that's fixed in the latest push. It's currently at v0.26.0-snapshot and there's a good chance I'll make a new release soon. I had added my own const IPAddress operators for comparison operations because previous Teensyduinos didn't have the...
    • S
      Assuming the request processing doesn't take too long, you shouldn't need many sockets. I'd start with the default and see how the project behaves. What you describe is the client-side. I'm curious which server you're running on the Teensy?
    • S
      There's a whole bunch of considerations. I'm curious, which server are you running?
    • S
      The easiest way, if you're using the Arduino IDE, is to change the LWIP_NUM_TCP_PCB value in the lwipopts.h file. For PlatformIO users, and for those Arduino IDE users that know how to change command-line flags, you can also set this macro value...
    • S
      Quick followup to this old thread. For the next version of Teensyduino, I'm adding a check for the installed location if running on Windows. If Teensyduino appears to in a pathname installed by Boards Manager, but Arduino IDE doesn't give...
    • S
      Yes, you could do that.
    • S
      shawn replied to the thread QNethernet and internal Webpage.
      The short answer is that C strings don’t work with the ‘+’ operator. If you could share your code, or even a small representative runnable snippet, I could better provide guidance.
    • S
      shawn replied to the thread QNethernet and internal Webpage.
      I’m not certain what your code looks like or what you’re doing, but does this link help? How to write data to connections Delays in order to send data aren’t necessary. Note that QNEthernet doesn’t send data immediately when writing data unless...
    • S
      For anyone else facing this. I ended using the below instructions which worked perfectly. This is the line that goes in the .rules file SUBSYSTEM=="tty", ATTRS{idVendor}=="16c0", ATTRS{idProduct}=="0483", SYMLINK+="ttyTSY%E{ID_SERIAL_SHORT}"...
    • S
      I just pushed a bunch of changes that add Mbed TLS support. I'm still working on the design, but I'd love some opinions about what I have so far. I updated the README and added an MbedTLSDemo example. The design relies on lwIP's "altcp" feature...
    • S
      If you want to use SLIP framing, see my SLIPStream Stream decorator library here: https://github.com/ssilverman/SLIPStream
    • S
      shawn replied to the thread Forum switching to new SSL cert.
      My problem is that I can't see a problem and that this was a little too seamless... :D
    • S
      I have dug through this forum a bit, and I know that this has already been brought up a few times, but I want to write my own plea. I have been using a teensy 4.1 for a formula SAE project to create a custom ECU for an electric vehicle. It was...
    • S
      If you’d like, I can try to build it here and see what I can find. Something’s amiss with your setup.
    • S
      Do library.json (preferred) or library.properties files exist in the root of those libraries under lib/?
    • S
      Another tip: if you wanted to, you could dispense with putting WDT_t4 and teensy4_i2c inside your lib/ folder and instead use lib_deps, as follows. That is, unless you really want to use specific local copies. Note that when you build, the...
    • S
      What happens if you change toolchain-gccarmnoneeabi@ to toolchain-gccarmnoneeabi-teensy@? Also, I don’t think any of those build flags are needed here because they’re the defaults (maybe with the exception of "-ffast-math"). In addition, the...
    • S
      shawn reacted to defragster's post in the thread compiler error with Like Like.
      Awesome to see it drop in and working shawn!
    • S
      shawn replied to the thread compiler error.
      Everyone starts there too, no worries. I really appreciate that, even as a beginner, you were willing to try these steps out. It gives me information about how easy it is to use my Ethernet library (QNEthernet). I adjust from there. A brief bit...
    • S
      shawn replied to the thread compiler error.
      Looks like it works. Thanks for trying that out.
    • S
      shawn replied to the thread compiler error.
      The deprecated warning is fine. I'm just trying to encourage use of the other Ethernet.begin() functions that don't take a MAC address. I can't see the code because you didn't attach Artnet.cpp. Sounds like it works now? :)
    • S
      shawn replied to the thread compiler error.
      You didn’t attach your Artnet.h file, so I can't see what you have, but for that error, I suspect you didn’t do step 2, adding that “using” line. See my post #7. To recap the steps: 1. Replace the NativeEthernet.h and NativeEthernetUdp.h includes...
    • S
      shawn replied to the thread compiler error.
      Did you see step 1 of my post #7? To use QNEthernet, replace all NativeEthernet.h and NativeEthernetUdp.h includes with a <QNEthernet.h> include. Make sure to also do step 2 just below the step 1 change(s). I suppose I could have said “all”...
    • S
      shawn replied to the thread compiler error.
      I agree with @defragster. It looks like you're still including NativeEthernet.h and/or NativeEthernetUdp.h somewhere. Also, please attach the INO file.
    • S
      shawn replied to the thread compiler error.
      Thank you for the offer. If you're using the Arduino IDE, you can just add the "QNEthernet" library. Next, do these steps: 1. Replace the NativeEthernet.h and NativeEthernetUdp.h includes with a single <QNEthernet.h> include. 2. Add a using...
    • S
      Thanks for the explanation. I’m trying to solve some slowness if QNEthernet’s Ethernet.end() and then begin(…) is called. I’m verifying that all the pins are as they should be when they should be. You’re correct that I’m using these as peripheral...
    • S
      Do you actually override yield() or use the EventResponder mechanism?
    • S
      shawn replied to the thread compiler error.
      @Megatree_de In my quest to achieve great compatibility, would you be willing to try QNEthernet? All you’d need is to replace NativeEthernet.h with QNEthernet.h (and add a “using” line: using namespace qindesign::network;) and you don’t need to...
    • S
      shawn replied to the thread xenForo Improvements.
      Yep. Search works better now. Thanks!
    • S
      shawn reacted to bicycleguy's post in the thread xenForo Improvements with Like Like.
      Forum works so much nicer on phones
    • S
      Thank you for those clarifications, but I'm not following your answer with regards to INPUTs (Arduino-style "INPUT", no pull-up or pull-down) (I also think you were trying to answer my auxiliary question; thank you). Why would the DSE (drive...
    • S
      Are you saying that the drive strength is only relevant to open-drain-output-configured pins? If that’s true, why are those being set for input pins? Even if it’s not true, why would they be set for input pins at all?
    • S
      shawn replied to the thread xenForo Improvements.
      I'm fine with it the way it is now, but did you want to limit the duration after a post where you can edit it? Right now, it's letting me edit anything I've posted.
    • S
      An auxiliary question is: Are pull-ups and pull-downs enabled when DSE (drive strength) is set to non-zero (output driver not disabled)? The chip spec. leaves me a little uncertain. It does say, “Pull-up, pull-down, and pad keeper are disabled in...
    • S
      Why is the output driver enabled for INPUT modes for GPIO pins? (Drive Strength Enable (DSE) bits.) I'm seeking understanding. (Even for pull-up and pull-down input modes, maybe the pin sources current through the pull resistors, but this doesn't...
    • S
      shawn replied to the thread xenForo Improvements.
      I just tried the search again (for “dsb”) and it finds this one message. Maybe something needs to trigger a re-index?
    • S
      shawn replied to the thread xenForo Improvements.
      The ability to search for shorter terms such as "dsb".
    • S
      Some code notes: 1. Add the listeners before starting and setting up Ethernet. This way, they’ll catch all events, including setting the static IP. 2. There’s extraneous arguments in the printf line that prints the local IP. 3. For code...
    • S
      shawn replied to the thread Teensy 4.1 Ethernet.
      Here’s a link to Paul’s original Ethernet test code: https://github.com/PaulStoffregen/teensy41_ethernet Side note: I’ve implemented a Mongoose Ethernet driver for the Teensy 4.1.
  • Loading…
  • Loading…
Back
Top