Bug in libxdot-mbed5

Home Forums mDot/xDot Bug in libxdot-mbed5

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #23913
    Adam Haun
    Participant

    While writing code for LoRa event handling on the xDot I noticed that the mDot::setEvents() function takes an mDotEvent pointer instead of a pointer to the base class, MacEvents. In order to create my own event handler, I am thus forced to inherit from mDotEvent, which comes with hundreds of bytes of member variables that I don’t want. If mDot::setEvents took a MacEvents pointer instead, this would not be a problem. Can this be fixed?

    This issue is still present in the latest release candidate in libxXot-dev-mbed5.

    #23970
    Adam Haun
    Participant

    It would also be nice if the send() and recv() functions worked on arrays instead of vectors. Vectors have to be allocated on the heap, which I try to avoid in embedded programming.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.