Generic broadband application and plug-ins
View Patent ↗A device may receive a broadband card, dynamically load a non-generic plug-in to detect the broadband card, determine whether the loaded non-generic plug-in detects the broadband card, dynamically load a generic plug-in when the loaded non-generic plug-in does not detect the broadband card, and use the generic plug-in to certify the broadband card.
1. A method performed in a network device, the method comprising:
receiving a broadband card;
loading one or more model-specific plug-ins, provided in the network device, in a broadband card detector;
determining that none of the one or more model-specific plug-ins detect the broadband card;
determining that no other model-specific plug-in is provided in the network device;
loading, upon the determination that no other model-specific plug-in is provided in the network device, a vendor-specific plug-in associated with a particular vendor and provided in the network device, in the broadband card detector;
determining that the vendor-specific plug-in fails to detect the broadband card;
loading, when the vendor-specific plug-in fails to detect the broadband card, at least one other vendor-specific plug-in associated with at least one other vendor and provided in the network device, in the broadband card detector;
determining that the at least one other vendor-specific plug-in fails to detect broadband card;
determining that no other vendor-specific plug-in is provided in the network device;
loading, upon the determination that no other vendor-specific plug-in is provided in the network device, at least one of a vendor-specific generic plug-in or a generic plug-in in the broadband card detector; and
using the at least one of the vendor-specific generic plug-in or the generic plug-in to certify the broadband card.
2. The method of claim 1 , further comprising:
receiving user input to accept parameters for establishing a communication link to a network using the broadband card;
configuring the broadband card; or
establishing communication with a network using the broadband card.
3. The method of claim 1 , wherein using the at least one of the vendor-specific generic plug-in or the generic plug-in to certify the broadband card includes:
issuing a command to the broadband card and determining if the broadband card provides a valid response to the command.
4. The method of claim 3 , wherein issuing a command includes:
setting an access point name at the broadband card; or
obtaining an access point name from the broadband card.
5. The method of claim 1 , further comprising:
determining whether the broadband card has been previously certified by looking up a database of certification records; and
using the broadband card if the broadband card has been previously certified.
6. The method of claim 1 , further comprising:
storing a result of certifying the broadband card in a database of certification records.
7. The method of claim 1 , wherein using the generic plug-in to certify the broadband card includes:
locating a command port to which to issue commands to the broadband card; or
locating a serial port to send data to the broadband card.
8. The method of claim 1 , wherein loading at least one of the vendor-specific generic plugin or the generic plug-in includes:
loading the vendor-specific generic plug-in having vendor-specific interfaces for controlling the broadband card, and
loading the generic plug-in having no vendor-specific interfaces for controlling the broadband card.
9. The method of claim 1 , wherein using the generic plug-in to certify the broadband card includes:
using a parser to interpret output of the broadband card when the broadband card responds to a certification test.
10. The method of claim 1 , wherein the one or more model-specific plug-ins and the vendor-specific plug-ins comprise a non-generic plug-in, the method further comprising:
sending one or more queries to an operating system to determine whether the non-generic plug-in supports the broadband card.
11. The method of claim 1 , wherein loading the at least one of the vendor-specific generic plug-in or a generic plug-in comprises:
loading one or more vendor-specific generic plug-ins in the broadband detector,
determining that none of the one or more vendor-specific generic plug-ins detect the broadband card;
determining that no other vendor-specific generic plug-in is provided in the network device; and
loading, upon the determination that no other vendor-specific generic plug-is provided in the network device, the generic plug-in in the broadband card detector.