Method of medium access control type detection
View Patent ↗A method of medium access control (MAC) type detection for a communication device compatible of a plurality of media each conformed to a communication standard in a network system is disclosed. The method comprises generating a library, wherein the library includes at least a character for each medium, configuring a MAC layer of the communication device according to the library, and determining the existence of a medium according to the configuration result.
1. A method of medium access control (MAC) type detection for a communication device compatible of a plurality of media each conformed to a communication standard in a network system, the method comprising:
generating a library including at least a character for each medium, wherein the step of generating the library comprises:
extracting at least one dedicated character corresponding to a medium based on a communication standard; and
including the at least one dedicated character in the library;
configuring a MAC layer of the communication device with a first parameter generated according to a first character of a first medium in the library;
determining the existence of the first medium according to the configuration result comprising determining whether configuration with the first parameter is successful; and
configuring the MAC layer with a second parameter generated according to a second character of the first medium in the library when it was determined that the configuration with the first parameter fails.
2. The method of claim 1 , wherein the step of determining the existence of the first medium according to the configuration result further comprises:
determining the first medium exists when the configuration with the first parameter is successful.
3. The method of claim 2 , wherein the step of determining the existence of the first medium according to the configuration result comprises:
determining the first medium exists when the configuration with the second parameter is successful.
4. The method of claim 1 , wherein the communication standards comprises IEEE 1901, IEEE 802.11, IEEE 802.3, and Multimedia over Coax Alliance.
5. The method of claim 1 , wherein the media include Ethernet, WiFi, PLC and MoCA.
6. The method of claim 1 , wherein the characters include SSID, speed/duplex, NPW and password.