Forum Rule: Always post complete source code & details to reproduce any issue!

Search:

Type: Posts; User: shawn

Page 1 of 10 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    140
    Views
    17,387

    @bicycleguy Thanks for the kind words and for...

    @bicycleguy Thanks for the kind words and for describing a little bit about what youíre doing! Iím really glad it was easy to find that parsePacket() fix from the changelog. :)

    Iím curious, which...
  2. Replies
    140
    Views
    17,387

    I just released v0.17.0. The changes: ###...

    I just released v0.17.0. The changes:


    ### Added
    * The library now, by default, puts the RX and TX buffers in RAM2 (DMAMEM).
    This behaviour can be overridden by defining the new
    ...
  3. Replies
    46
    Views
    4,704

    @DragonSF For the JSON output, how are you...

    @DragonSF For the JSON output, how are you running the build? From the command line or inside an editor or IDE or something? If so, which IDE or editor? I just can't seem to get JSON output; there's...
  4. Replies
    46
    Views
    4,704

    Looking at those warnings. Is it possible you...

    Looking at those warnings. Is it possible you have some of those macros set when they shouldn’t be set? Eg. Setting QNEthernet macros concurrently with non-QNEthernet macros.

    Side question: how do...
  5. Replies
    8
    Views
    538

    Thank you for trying that, and I'm glad it works!...

    Thank you for trying that, and I'm glad it works!

    To-dos, off the top of my head:
    1. Add an option to specify a key
    2. Test on Linux
    3. Fall back to showing "loading .hex" instead of "loading...
  6. Here's a summary of what the issue was: ...

    Here's a summary of what the issue was:

    Serial.read() was returning some bytes with the high bit set. It turns out that this was the parity bit. I modified the PR a short time ago to do these...
  7. The same problem, I believe, exists in teensy3....

    The same problem, I believe, exists in teensy3. I'll update the PR.
  8. Okay, I think I got it. There has to be an...

    Okay, I think I got it. There has to be an appropriate mask depending on the mode. I updated the PR.
  9. @Nominal Animal I think you're right about that...

    @Nominal Animal I think you're right about that top bit being the parity bit. Since the serial bit stream comes in with the least significant bit first, that top bit is the last bit, which is the 8th...
  10. On my journey to understanding this better — It's...

    On my journey to understanding this better — It's been a while since I've explored this in depth (for TeensyDMX) — I think I'm re-discovering that the "data" includes everything but the start and...
  11. Thank you for adding that. I think it's important...

    Thank you for adding that. I think it's important information to think about if one doesn't know much about the serial ports.
  12. It turns out that without the fix, the transmit...

    It turns out that without the fix, the transmit properly sends 7-bit data, but receive still sometimes sets the 8th bit high. I need to explore more.
  13. 7-bit support seems to be missing on Teensy 4

    Received 7-bit serial data on Teensy 4 sometimes has the top bit set.

    Issue: https://github.com/PaulStoffregen/cores/issues/664
    PR: https://github.com/PaulStoffregen/cores/issues/665
  14. Replies
    10
    Views
    753

    Calling parsePacket() often shouldn’t be much of...

    Calling parsePacket() often shouldn’t be much of a problem.

    Yes. Those are useful after Ethernet has started if all you need to do is change the local address.
  15. Replies
    8
    Views
    538

    Without an argument specifying one (I should...

    Without an argument specifying one (I should probably add that option), teensy_secure just looks in the default location that the key generator puts it. On Mac, it’s ~/Documents/Arduino/key.pem.
  16. Replies
    10
    Views
    753

    What about waiting for the link? Then it won’t...

    What about waiting for the link? Then it won’t die immediately. There’s a convenience Ethernet.waitForLink() function where you can specify a timeout, and it returns whether it was successful or not....
  17. Replies
    8
    Views
    538

    Does anyone feel like testing this pull request...

    Does anyone feel like testing this pull request on Linux and/or Windows?
  18. Entropy.randomByte() and randomWord() definitions are missing

    These functions are defined in Entropy.h but aren't implemented anywhere.

    Note: It doesn't look like simply randomByte() calling random8() or randomWord() calling random16() would be correct...
  19. Replies
    10
    Views
    753

    What happens if you just do a direct conversion...

    What happens if you just do a direct conversion of your NativeEthernet code to QNEthernet, using only the small changes I suggest in post #2?
  20. Replies
    10
    Views
    753

    Ethernet only needs to be started once, and not...

    Ethernet only needs to be started once, and not from within the listener. Starting Ethernet is what calls the listeners; not the other way around. Can I see your whole program? Or at least the parts...
  21. Replies
    10
    Views
    753

    The latest push makes EthernetClient,...

    The latest push makes EthernetClient, EthernetServer, and EthernetUDP non-final so you can derive from them.
  22. Replies
    26
    Views
    2,039

    Thanks for the update. Glad it’s working.

    Thanks for the update. Glad it’s working.
  23. I use Serial from Decisive Tactics...

    I use Serial from Decisive Tactics (https://www.decisivetactics.com/products/serial/). PlatformIO does have a “monitor” task (or “upload and monitor”), but I prefer Serial.
  24. Replies
    8
    Views
    538

    Here's a pull request with a first draft of...

    Here's a pull request with a first draft of PlatformIO support:
    https://github.com/platformio/platform-teensy/pull/98

    Here's the notes I made in the description:
    1. I'm not quite sure how to use...
  25. Replies
    10
    Views
    753

    Try this, I'm curious if it will work for you:...

    Try this, I'm curious if it will work for you:
    1. Change to QNEthernet
    2. Change that `while` loop to an `if` (receivePackets())
    3. Use the UDP packet buffering feature introduced in QNEthernet...
  26. Replies
    11
    Views
    839

    When adding your own _write() definition, don’t...

    When adding your own _write() definition, don’t include the “weak” line because otherwise you don’t really know which gets chosen by the linker, yours or Teensyduino’s.

    [Repeated here because my...
  27. Replies
    11
    Views
    839

    Note that when there’s two or more weak function...

    Note that when there’s two or more weak function definitions for the same function, you don’t know which the linker chooses. That’s why I made my example non-weak. It does two things: overrides...
  28. Replies
    11
    Views
    839

    [...or `Serial.printf()`.] Here's how to...

    [...or `Serial.printf()`.]

    Here's how to implement your own `_write()`. Note that the one defined by the Teensyduino core assumes all file descriptors are `Print*` pointers, which is why regular...
  29. Replies
    26
    Views
    2,039

    See the latest changes in this branch:...

    See the latest changes in this branch: v0.17.0-snapshot
    They include the buffers-in-RAM2 modification.
    (URL: https://github.com/ssilverman/QNEthernet/tree/v0.17.0-snapshot)
  30. Replies
    26
    Views
    2,039

    That did it. Thanks, Paul. Now the program RAM1...

    That did it. Thanks, Paul. Now the program RAM1 use decreases by 15k.

    This will be in my next release, along with an option to revert to putting the buffers in RAM1.

    With a newer compiler...
  31. Replies
    26
    Views
    2,039

    I suspect that the reason the TX and RX buffers...

    I suspect that the reason the TX and RX buffers don't work from RAM2 is that the processor's Ethernet subsystem might need to operate from RAM1. I also tried moving those to RAM2 a while back but...
  32. Replies
    140
    Views
    17,387

    I just released v0.16.0. The changes: ###...

    I just released v0.16.0. The changes:



    ### Added
    * `EthernetUDP::size()`: Returns the total size of the received packet data.
    * Added an optional "dns" parameter to the three-parameter...
  33. Do you think there’s also a way to tell if the...

    Do you think there’s also a way to tell if the program is running from an EHEX?
  34. Thanks, I’ll play with this.

    Thanks, I’ll play with this.
  35. Iím looking for determining this information at...

    Iím looking for determining this information at runtime. Iíll explore those register values set by those security sketches.

    Iím still convinced thereís a post I read once that Paul posted showing...
  36. How to determine if running on locked Teensy or if encrypted

    I could have sworn @PaulStoffregen posted a reply to someone describing how to do this, but I canít seem to find it. If anyone can point me to it (if I didnít dream it), that would be wonderful.
    ...
  37. Replies
    107
    Views
    7,276

    Is there any chance there'll be at least one Mac...

    Is there any chance there'll be at least one Mac beta version before the final 1.58 release? I'm aware that it's a lot of work to put together, so fingers crossed.
  38. I would start a new thread because it’s a...

    I would start a new thread because it’s a different topic.
  39. Extra note: Those delays here don't do anything...

    Extra note: Those delays here don't do anything other than make setup() take 1 second longer:



    dmxTx.set(4, 255); // Turn the light on
    delay(500);
    dmxTx.set(3, 255); // Make...
  40. Replies
    26
    Views
    2,039

    I think building with a later compiler will help....

    I think building with a later compiler will help. (See post #15.) I havenít been able to test with the newest 1.58 pre-release because thereís no Mac version. (I havenít installed Linux yet on a VM.)...
  41. Replies
    140
    Views
    17,387

    Would you mind starting a new thread for your...

    Would you mind starting a new thread for your question?
  42. Replies
    140
    Views
    17,387

    I still need to see your code. Iíve written...

    I still need to see your code. Iíve written several Art-Net and sACN programs with QNEthernet and they work fine. Iím not sure what youíre doing differently.
  43. Replies
    140
    Views
    17,387

    I’d need to see code. Checking for Art-Net in...

    I’d need to see code. Checking for Art-Net in yield() via EventResponder doesn’t seem like the right place and the code may be overcomplicated. Instead, what happens if it’s ultimately checked from...
  44. Note that QNEthernetís Ethernet.begin() is...

    Note that QNEthernetís Ethernet.begin() is non-blocking. Also, you donít have to specify a MAC address.
  45. Replies
    1
    Views
    193

    One way to fix this that I think might work is to...

    One way to fix this that I think might work is to include these library headers separately in two different compilation units instead of both from the main file.
  46. What is ďTSETĒ?

    What is ďTSETĒ?
  47. Curious, will there be a MacOS version of...

    Curious, will there be a MacOS version of 1.58-beta2?
  48. Replies
    140
    Views
    17,387

    Thank you, Werkstatt! :)

    Thank you, Werkstatt! :)
  49. Changing parsePacket() to allow zero-length packets; impact assessment

    I'm updating QNEthernet's handling of `EthernetUDP::parsePacket()` to return -1 if there's no packet available instead of zero. This allows for zero-length packets. However, I've seen examples that...
  50. Replies
    140
    Views
    17,387

    I just released 0.15.0. The changes: ###...

    I just released 0.15.0. The changes:



    ### Added
    * Added a way to enable promiscuous mode: define the
    `QNETHERNET_PROMISCUOUS_MODE` macro.
    * Added a way to remove all the mDNS code: set...
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4