The printk function relies on a feature of the C language called string literal concatenation.
printk 是基于 C 语言中一个名为字符串 逐字连接 的特性。
Now, within the jni folder, create a file called native.c. Place the following C code in this file to start; we’ll add another function later
现在,在 jni 文件夹中,创建一个叫做 native.c 的文件。
The marking code can be read out by using C language code with called back the interface function for the DS1991A.
并针对DS1991A器件,编写C语言代码调用接口函数,成功地读出了标识码。
应用推荐