package com.ifpdos.update.firmware;

import d.f.a.r2.h3;

/* JADX INFO: loaded from: classes.dex */
public class McuApiManager {
    public static final McuApiManager a = new McuApiManager();

    /* JADX INFO: renamed from: b, reason: collision with root package name */
    public static boolean f2031b;

    static {
        System.loadLibrary("mcuapimanager_jni");
    }

    public void a(byte b2, byte b3, byte b4, byte[] bArr) {
        h3.f("McuApiManager send--> cmdType:" + ((int) b2) + ", mainId:" + ((int) b3) + ", subId:" + ((int) b4));
        StringBuilder sb = new StringBuilder();
        sb.append("McuApiManager send--> datas:");
        sb.append(h3.a(bArr));
        h3.f(sb.toString());
        nativeSend(b2, b3, b4, bArr);
    }

    public native int nativeInit();

    public native int nativeRelease();

    public native int nativeSend(byte b2, byte b3, byte b4, byte[] bArr);
}
