星期二, 2月 28, 2012

Nomenclature
Engines of PSA Peugeot Citroën group have all the same code names: 
[Type] [Family] {Displacement in dl - 1 liter} |Version| (Nb valves)
For example the diesel engine DW10 BTED4:
- D: Diesel Engine (E for gasoline)
- W: family of engine
- 10: 2.0L engine
- B: Evolution B of the engine
- TED4: 4 valves per cylinder




Reference:

http://ycfunet.blogspot.com/2007/09/upnp-client.html

http://www.microsoft.com/windows/using/tools/igd/default.mspx
IGD test tool

星期四, 2月 23, 2012


單純hello, 加不加 std header都一樣

  1. PID  PPID USER     STAT   VSZ %MEM CPU %CPU COMMAND
  2. 1088   317 root     S     1428  1.1   0  0.0 ./a.out

Link libmy.so
  • 1226   317 root     S     2188  1.7   0  0.0 ./a.out
Declare an VPI_STRUCT_USR 
  • 1281   317 root     S     2188  1.7   0  0.0 ./a.out
Run ret = VPI_OP( &usr, ATTACH, NULL);
  • 1322   317 root     S     2512  1.9   0  0.0 ./a.out

Thread 1個4-6%

星期三, 2月 08, 2012


The OUI is $1,825.00 (US), the OUI-36 is $625.00 (US), the IAB is $625.00 (US) and the EtherType Field is $2,735.00 (US). The only other fees that would be involved are a $15.00 bank fee that is only applicable with the wire transfer payment method and an optional fee to secure private status on the public listing. There are no annual fees for publicly listed assignments.
IEEE accepts checks (payable to IEEE Standards Dept.), purchase orders, wire transfers, as well as American Express, Visa, Master Card, Diners Club and Discover Card.

What is an Individual Address Block (IAB)?
An Individual Address Block is for people who need less than 4097 unique 48-bit numbers (EUI-48) and thus find it hard to justify buying their own OUI. The IAB is a particular OUI belonging to the IEEE Registration Authority, concatenated with 12 additional IEEE-provided bits, leaving only 12 bits for the owners to assign to their (up to 4096) individual devices. Unlike an OUI, which allows the assignee to assign values in various different number spaces (for example, EUI-48, EUI-64, and the various CDI number spaces), the Individual Address Block can only be used to assign EUI-48 identifiers. All other potential uses based on the OUI from which the IABs are allocated are reserved, and remain the property of the IEEE Registration Authority. It should also be noted that, although to this date all Individual Address Blocks have been allocated under a single OUI, at some point in the future that OUI will be exhausted and the IEEE Registration Authority will choose a new OUI value for subsequent IAB allocations. Therefore, applications making use of EUI-48 values assigned under an IAB should make no assumptions about the bit pattern that will be present in the OUI portion of the assigned numbers.

What is an Organizationally Unique Identifier (OUI)?
An OUI/"company_id" is a 24-bit globally unique assigned number referenced by various standards. For example, the OUI is used in the family of 802® LAN standards: Ethernet, Token Ring, etc. The OUI is usually concatenated with other bits that are assigned by that organization in order to make a globally unique EUI-48 or EUI-64. For example, the Ethernet MAC Address is an EUI-48, unique to one particular Ethernet interface. There are other uses of the OUI however, such as its use as a company identifier in the SNAP protocol.

What is a 36-bit Organizationally Unique ID (OUI-36)?
An OUI-36 is a 36-bit identifier that can be used as an Individual Address Block or as an extended OUI. The OUI-36 may be appended with 4 organization-supplied bits to form a 40-bit Context Dependent Identifier (CDI-40), with 12 organization-supplied bits to form an EUI-48, or with organization-supplied 28 bits to form an EUI-64. Applications making use of an OUI-36 should make no assumptions about the bit pattern that will be present in the (24-bit most-significant) OUI portion of the assigned OUI-36.

IAB 有 12 位元,所以一共是 4096 個 MAC Address可用.
OUI 有 24 位元 所以一共是一千六百萬個位址可用.