From: Jarl F. <ja...@di...> - 2001-01-01 22:05:49
|
On Sun, 31 Dec 2000, David Paschal wrote: > Jarl Friis wrote: > > Good idea, the OID tables are device dependent, different devices > > recongnise different OIDs, correct?, so there should probably be one > > OID-table for each device or devicegroup, it would be smart if one could > > autodetect what kind of device, and then use the related table for that, > > the one on the web/in the pmloidentries.c is for OfficeJets I guess. > There actually is a fair amount of consistency in the most important OIDs, > but there are also some device-specific OIDs which may not be worth worrying > about for our purposes. I can imagine the usage of one OID is the same among different devices, but what I ment was: the *set* of OIDs is not the same among different devices, right? hence the OID-table is device dependent. So it would probably be in order to make a global table of all known OIDs, and then for each device make a table (representing a subset of the global list) that tells which OIDs the device can use. the device-specific subset could eventually just be a list of indexes to the global table. Jarl |