转载自:[RK3399—Android7.1] 默认屏幕显示方向
/system/build.prop
文件中 ro.sf.hwrotation=0
这里可以90、180、270
修改后同步,重启,可调整默认旋转方向。
镜像直接默认修改:device/rockchip/rk3399/build.prop 中 ro.sf.hwrotation=0 属性
转载自:[RK3399—Android7.1] 默认屏幕显示方向
/system/build.prop
文件中 ro.sf.hwrotation=0
这里可以90、180、270
修改后同步,重启,可调整默认旋转方向。
镜像直接默认修改:device/rockchip/rk3399/build.prop 中 ro.sf.hwrotation=0 属性
1.唤醒PN532:
PC->PN532: 55 55 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ff 03 fd d4 14 01 17 00 PN532->PC: 00 00 FF 00 FF 00 00 00 FF 02 FE D5 15 16 00
2.获取卡UID,也就是卡的唯一ID号,全球就这一个(理论上)
PC->PN532: 00 00 FF 04 FC D4 4A 02 00 E0 00
private static byte[] byteMergerAll(byte[]... args) { int length_byte = 0; for (byte[] b : args) { length_byte += b.length; } byte[] all_byte = new byte[length_byte]; int countLength = 0; for (byte[] b : args) { System.arraycopy(b, 0, all_byte, countLength, b.length); countLength += b.length; } return all_byte; }
参考链接:
安装vim编辑器 sudo apt-get install vim
编辑文件 /etc/dhcpcd.conf,在文件末尾增加 interface wlan0 inform 192.168.2.188
sudo apt-get install android-tools-adb
sudo systemctl enable ssh sudo systemctl start ssh
地址:
rtsp://$(IP):$(PORT)/user=$(USER)&password=$(PWD)&channel=$(Channel)&stream=$(Stream).sdp?real_stream
示例:
rtsp://10.6.10.25:554/user=admin&password=&channel=1&stream=0.sdp?real_stream channel 通道 stream 码流 (0主码 1次码)
参考链接: