Skip to content

Instantly share code, notes, and snippets.

STN1110 is an OBD to UART interpreter It is fully compatible with the de facto industry standard ELM327 command set

[stn1110-ds.pdf][1]

Multiprotocol OBD to UART Interpreter

  • Feature
    • Support for all legislate OBD-II
      • ISO 15765-4 (CAN)
  • ISO 14230-4 (Keyword Protocol 2000)
  • [ Attention! "Bad" Bluetooth adapters][1]

    • elm327 v2.1在
  • [Bluetooth / WiFi OBD-II adapters][2]

ELM327

  • [OBD Interpreter][4]
  • [ELM327 v2.2][3]
## h265 mpp log
- sys
```
/proc/umap # cat sys
[SYS] Version: [Hi3536_MPP_V1.0.5.0 B020 Release], Build Time[Jun 14 2016, 09:29:05]
System State: 0 (0: initialized; 1: exiting; 2: exited)
@erwinchang
erwinchang / smartctl.md
Last active March 27, 2017 10:05
smartctl
  • smartctl
    • /dev/sdb1 => 一般的SATA HDD ( 回應: SMART overall-health self-assessment test result: PASSED)
    • /dev/sdc1 => 一般的SATA HDD ( 回應: SMART overall-health self-assessment test result: PASSED)
    • /dev/sdd1 => 為RAID的SATA ( 回應: SMART Health Status: OK)
[root@localhost tmp]# smartctl -H /dev/sdb1
smartctl 6.5 2016-05-07 r4318 [x86_64-linux-4.8.6-201.fc24.x86_64] (local build)
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org
  • RTSP
OPTIONS rtsp://192.168.22.33:554/video0.sdp RTSP/1.0
CSeq: 2
User-Agent: LibVLC/2.0.7 (LIVE555 Streaming Media v2012.12.18)

RTSP/1.0 200 OK
CSeq: 2
Date: Fri, 17 Mar 2017 08:53:11 GMT
Public: OPTIONS, DESCRIBE, SETUP, TEARDOWN, PLAY, PAUSE, GET_PARAMETER, SET_PARAMETER
  • v2.0.5t1
    • CPU的數值無法參考(因為是動態會一直變)

斷連狀態

開機時間 %MEM %CPU VIRT 機子總thread NVR thread NVR開啟fd量
4 days, 17:22 36.7 337% 16.8g x x x
5 days, 23:28 36.7 362 17.0g 854 670 215
  • GetCapabilities
<?xml version="1.0" encoding="UTF-8" ?>
<soap:Envelope
	xmlns:soap="http://www.w3.org/2003/05/soap-envelope"
	xmlns:tds="http://www.onvif.org/ver10/device/wsdl"
	xmlns:tt="http://www.onvif.org/ver10/schema">
	<soap:Header>
		<wsse:Security soap:mustUnderstand="true"
			xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
  • GetVideoEncoderConfiguration
<?xml version="1.0" encoding="utf-8"?>
<s:Envelope
	xmlns:s="http://www.w3.org/2003/05/soap-envelope">
	<s:Body
		xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
		xmlns:xsd="http://www.w3.org/2001/XMLSchema">
		<GetVideoEncoderConfiguration
			xmlns="http://www.onvif.org/ver10/media/wsdl">
* 開機3天(有3支斷連)
```
top - 09:41:49 up 3 days, 19:02, 1 user, load average: 139.81, 133.58, 132.44
Tasks: 135 total, 2 running, 133 sleeping, 0 stopped, 0 zombie
%Cpu(s): 72.3 us, 4.7 sy, 0.0 ni, 21.8 id, 0.2 wa, 0.0 hi, 0.9 si, 0.0 st
KiB Mem : 3940984 total, 76888 free, 1826940 used, 2037156 buff/cache
KiB Swap: 0 total, 0 free, 0 used. 1717124 avail Mem
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
768 root 20 0 16.709g 1.458g 23608 S 302.0 38.8 14955:47 nvr