Code Monkey home page Code Monkey logo

Comments (6)

natcl avatar natcl commented on June 30, 2024 1

Would you be able to provide a pull request ? Working in a foreign country and don’t have access to my gear now.

from artnet.

MortenTurbo avatar MortenTurbo commented on June 30, 2024

Hey, thank you for the quick response.

tl;dr: No

No, I'm afraid I can't, the code in the libraries are above my level. I've been trying to to hardcode a mac into the libary, just as a first step sanity check.. but no luck. I can however say that the mac of the ESP's wifi is easy accessible with "WiFi.macAddress", and https://art-net.org.uk/structure/discovery-packets/artpollreply/ specifies the following:

Mac
The Mac field is an array of 6 bytes containing the MAC (Media Access Control) address of the device which transmitted this packet.
The most significant byte is transmitted first.

Furthermore I'm quite new to the whole git experience, so just had to look up pull request ;)

However I am ready to test out any code you would be able to throw at me... I understand most of what is going on in the code, and I'm pretty sure my failure so far is down to something as simple as placing the data, retrieved from "WiFi.macAddress", in the right format in an usable array.

from artnet.

MathieuMH avatar MathieuMH commented on June 30, 2024

@mortenthorsen I've took a quick look at this part of the code. And your observation is correct. The mac address is not set into the ArtPollReply struct.
Out of my head I would suggest to add this to line 34 of artnet.cpp
(assuming you are using Artnet::begin(mac, ip);

memcpy(ArtPollReply.mac, mac, 6);

Try is manually by changing this in your Arduino library. I currently have no hardware/setup to verify it. Once you confirmed it I will create the pull request.

from artnet.

MathieuMH avatar MathieuMH commented on June 30, 2024

Meanwhile fixed in my fork of the repository. The whole library is updated to meet the Art-Net 4 requirements.
Once Natcl has the time we should merge the two.

from artnet.

LittleBigGorilla avatar LittleBigGorilla commented on June 30, 2024

Meanwhile fixed in my fork of the repository. The whole library is updated to meet the Art-Net 4 requirements.
Once Natcl has the time we should merge the two.

I tried to use your fork since I like your changes but I'm not able to make it work. When I install it and try the basic receive example my teensy 3.5 just stops working. No serial connection - nothing. I'm new to github and I wasn't able to open a new issue directly in your fork. Is there a way to contact you somehow? @MathieuMH

from artnet.

MathieuMH avatar MathieuMH commented on June 30, 2024

@LittleBigGorilla you can send me a private message with what you have ;-) Include a screenshot or some other relevant these that helps me understand what is going on.

from artnet.

Related Issues (20)

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.