Ejemplo n.º 1
0
static void MyRejectHandler(
    BACNET_ADDRESS * src,
    uint8_t invoke_id,
    uint8_t reject_reason)
{
    /* FIXME: verify src and invoke id */
    (void) src;
    (void) invoke_id;
    printf("BACnet Reject: %s\r\n", bactext_reject_reason_name(reject_reason));
    Error_Detected = true;
}
Ejemplo n.º 2
0
void MyRejectHandler(
    BACNET_ADDRESS * src,
    uint8_t invoke_id,
    uint8_t reject_reason)
{
    if (address_match(&Target_Address, src) &&
        (invoke_id == Request_Invoke_ID)) {
        printf("BACnet Reject: %s\r\n",
            bactext_reject_reason_name((int) reject_reason));
        Error_Detected = true;
    }
}
Ejemplo n.º 3
0
void MyRejectHandler(
    BACNET_ADDRESS * src,
    uint8_t invoke_id,
    uint8_t reject_reason)
{
    if (address_match(&target_address, src) &&
            (invoke_id == request_invoke_id)) {
        printf("BACnet Reject: %s\r\n",
               bactext_reject_reason_name((int) reject_reason));
        error_detected = TRUE;
    }
}
Ejemplo n.º 4
0
static void MyRejectHandler(
    BACNET_ADDRESS * src,
    uint8_t invoke_id,
    uint8_t reject_reason)
{
    if (address_match(&Target_Address, src) &&
        (invoke_id == Request_Invoke_ID)) {
        char msg[MAX_ERROR_STRING];
        sprintf(msg, "BACnet Reject: %s",
            bactext_reject_reason_name((int) reject_reason));
        LogError(msg);
    }
}