No, As we all know, one key can only be opened one lock. The same principle is used for inserting an optical module into a switch. The compatibility code of an optical module is like a key, and the switch is like a lock.
The switch have many brands, such as CISCO, HUAWEI, H3C, Juniper, HP, ZTE, TP-Link, D-Link, Mikrotik, Planet, Extreme, Alcatel, Allied Telesis etc..
If you use it on a Cisco switch, then the optical module must be written in the Cisco code and used on H3C equipment. The corresponding module is naturally the H3C code.
If writing a code can be used on all devices, it is equivalent to a key that can unlock the whole world. Isn't this world messy?















