Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How can I get the Serial Number or MAC address of a UC-7110s LAN1 and LAN2 with AP software running on the UC-7110?

0
Posted

How can I get the Serial Number or MAC address of a UC-7110s LAN1 and LAN2 with AP software running on the UC-7110?

0

To get this information, use a program that accesses the flash memory directly. The address is specified as follows: 1. Serial Number : 0x8000004c 2. MAC address of LAN1: 0x80000050 3. MAC address of LAN2: 0x80000056 A simple example and Makefile are shown below: [Example] #include #include #define FLASH_BASE_ADDR 0x80000000 #define MAC_ADDR_LEN 6 #define SNO_ADDR (FLASH_BASE_ADDR + 0x4C) #define LAN1_MAC_ADDR (SNO_ADDR + 4) #define LAN2_MAC_ADDR (LAN1_MAC_ADDR + MAC_ADDR_LEN) int main(int argc, char *argv[]) { int sno, i; char *ptr; sno = *(int *)SNO_ADDR; printf(“The serial number is %d.\n”, sno); printf(“The LAN1 mac address is following :\n”); for ( i=0, ptr=(char *)LAN1_MAC_ADDR; i

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123