JLChen
2021-03-16 3617e6eecac94965554487afc50d39b0584324fb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
package android.serialport.api.sample;
 
public class KNX {
 
    static {
        System.loadLibrary("serial_port");
    }
 
    /**
     * 
     * */
    public static native byte[] get_SendBuffer(int _individual_addr, int obj1, int obj2n, int obj3, int on_off);
 
    public static native boolean UART_Receive(byte[] bytes);
 
    public static native boolean Parity_Data(byte[] buffer);
 
    public static native int get_Individual_addr();
 
    public static native int get_Group_addr();
    
    public static native int set_Group_addr(int obj1,int boj2,int obj3);
 
    public static native int get_State();
}