oms_aa_unconnected_mac_register()
Abstract
Registers all unconnected objects in a network, and assigns MAC addresses once all objects have registered their addresses.
Syntax
oms_aa_unconnected_mac_register (oms_aa_handle)
| Argument | Type | Description |
|---|---|---|
oms_aa_handle |
OmsT_Aa_Address_Handle |
Handle to the list for the specific address type |
Return Type
void
No return value
Details
None
Example
Fom std/lane/lms_lane_if_v3 process model, Auto_Addressing exit execs
/* Obtain the MAC address for address resolution */
op_ima_obj_attr_get (my_object_id, "station_address",
&MAC_address);
/* If the MAC address is not specified as PROXY, */
/* invoke auto-addressing and resolve the MAC */
/* address. Once the address is resolved, the */
/* value is read in once again since the address */
/* resolution package resets the attribute value */
if (MAC_address != LANEC_MAC_PROXY)
{
lane_if_mac_address_resolve ();
}
else
/* Inform the auto addressing package about that this MAC */
/* does not need an address since it uses PROXY. */
oms_aa_unconnected_mac_register (oms_aa_handle);