I am using the onboard Ethernet controller of a teensy 4.1, with a connected Magjack.
This works OK for most of my tests (with some issues), but as part of my diagnostic process, I would like to use the native MAC address of the internal controller, as I have had some problems with my own made-up addresses
I have found a number of references to the teensyMAC() function, however if I try and use it, I get a compiler error saying that the function is not declared in the scope, which I guess means it's not in the library. I believe that I've included the correct libraries, so I'm a bit puzzled.
I'm attaching the code I am using my test, which is a really simple modification to the sendreceiveUDP example.
Any help would be greatly appreciated.
This works OK for most of my tests (with some issues), but as part of my diagnostic process, I would like to use the native MAC address of the internal controller, as I have had some problems with my own made-up addresses
I have found a number of references to the teensyMAC() function, however if I try and use it, I get a compiler error saying that the function is not declared in the scope, which I guess means it's not in the library. I believe that I've included the correct libraries, so I'm a bit puzzled.
I'm attaching the code I am using my test, which is a really simple modification to the sendreceiveUDP example.
Any help would be greatly appreciated.