AllJoyn/Samples/BACnetAdapter/bacnet-stack-0.8.2/demo/object/gw_device.c
void routed_get_my_address(
    BACNET_ADDRESS * my_address)
{
    if (my_address) {
        memcpy(my_address, &Devices[iCurrent_Device_Idx].bacDevAddr,
            sizeof(BACNET_ADDRESS));
    }
}
/** Get the currently active BACnet address.
 * This is an implementation of the datalink_get_my_address() template for
 * devices with routing.
 *
 * @param my_address [out] Points to the currently active Device Object's
 * 							BACnet address.
 */
Get the currently active BACnet address.
This is an implementation of the datalink_get_my_address() template for
devices with routing.

@param my_address [out] Points to the currently active Device Object's
BACnet address.
Get the currently active BACnet address . This is an implementation of the datalink_get_my_address () template for devices with routing . @param my_address [ out ] Points to the currently active Device Object ' s BACnet address .
void routed_get_my_address(
    BACNET_ADDRESS * my_address)
{
    if (my_address) {
        memcpy(my_address, &Devices[iCurrent_Device_Idx].bacDevAddr,
            sizeof(BACNET_ADDRESS));
    }
}
void routed_get_my_address ( BACNET_ADDRESS * my_address ) { if ( my_address ) { memcpy ( my_address , & Devices [ iCurrent_Device_Idx ] . bacDevAddr , sizeof ( BACNET_ADDRESS ) ) ; } }
Get the currently active BACnet address.
Get the currently active BACnet address .