3.1.1 How to use SDK demo to test radar ............... 15 3.1.2 Source code of SDK demo ..................23 Fall detection alarm ..................25 OTAP SDK Integration ....................25 Example of the fall detection data ................30 1 Product introduction 1.1 Product List Radar model: DS-TDSB00-EKT Firmware version: total-603-wifi-10(3.4)-v3.0.2-af167aa8-side-b36-e2ff781-v3.0.1.bin...
Configuration tool: IRS60-3 Fall Detection Tool V3.0.3 firmware and configuration tool: https://one.hikvision.com/#/link/4HQuwNxg0OhGeGvzPflY 提取密码:hpne OTAP SDK package: https://one.hikvision.com/#/link/zjVtFXvPPBYrpjaBWgnf 提取密码:PxeJ 1.2 Application Scenarios Fall detection radar can be applied to private spaces, such as shower rooms, rest rooms and bed rooms. It can also be used in elderly care, home, community, and other fields to promptly alarm when it detects falls and reduce personal injury.
There is an upward arrow on the panel perpendicular to the horizontal line. 2.2 Radar parameter settings Please follow below steps to configure radar. Step1 turn on the radar and connect your computer to the radar AP hotspot. SSID format: IRS60_xxxx Default password: abcd1234 Step2 run the configuration tool.
Page 5
Step3 Press F2 button on your computer to connect radar by IRS60-3 Fall Detection V3.0.3 tool. Step4 input IP and port to start to connect radar. Just use the default IP and port. IP Adress: 192.168.4.1...
Page 6
Port: 6666 Once the tool connect to the radar successfully, you can see the WIFI version and other information.
Page 7
Step5 press 1 or click “x” to close network configuraion.
2.3 Radar network configuration In order to connect to OTAP SDK by the radar, we also need to configure IP and port of the computer that run OTAP SDK. Step 1 Press F2 button on your computer to connect radar by IRS60-3 Fall Detection V3.0.1 tool to set below parameters.
Page 9
c) Enter net information of your server in the same WIFI network with above AP (Router). Device ID: 1~999999999 data report type : 0 service IP : IP computer that run OTAP SDK for receiving data. service PORT : port of the computer that run OTAP SDK for receiving data. radar debug PORT: 6666 radar Passthrough data PORT: 20000...
2.4 Firmware upgrade In this part, we need to upgrade WIFI and radar firmware. We need to use the above configuration tool. 2.4.1 WIFI firmware upgrade Connect to the radar AP hotspot by configuration tool. Follow below steps to upgrade the WIFI firmware.
Page 11
Step2 Connect to the radar. Step3 Choose the WIFI firmware file and set mode to Auto Step4 start to upgrade.
2.4.2 Radar firmware upgrade Connect to the radar AP hotspot by configuration tool. Follow below steps to upgrade the WIFI firmware. Step1 press F1 to start application upgrade. Step2 Connect to the radar.
Page 13
Step3 Choose the WIFI firmware file and set mode to Auto. Step4 start to upgrade.
Page 14
Step5 set radar mode to OTAP and reboot the radar.
3 Integration Method Currently, we provide OTAP SDK for integration of fall detection radar. 3.1 OTAP SDK OTAP stands for Open Things Access Protocol. OTAP SDK is a software development kit encapsulated on OTAP, which provides APIs, components, and library files for the third-party platform to connect with devices, such as network cameras, network speed domes, DVRs (Digital Video Recorders), NVRs (Network Video Recorders), mobile devices, security control devices, access control devices, decoders, and so on.
Page 16
Step3 Select CMS Type as “LBS+DAS”. Input LocalIP, Port, DAS IP and DAS Port to start receive data from radar. In this case, we will use the same port for Port and DAS Port.
Page 17
Note: DAS IP, DAS Port and Port must be the same to the service IP and service PORT that configured on the tool in Chapter 2.3 of this document. If you have multiple network interface on your computer, you can leave LocalIP to 0.0.0.0. Please make sure the port is available on your computer.
Page 18
Step4 input OTAP key. The default OTAP key of the radar is 123456...
Page 19
Once the radar register success fully, we can see channel information on OTAP SDK.
Page 20
Step5 Subscribe fall detection alarm from radar. Start to subscribe the radar alarm.
Page 21
Request message. {"data": { "eventMode":"list", "EventList":[{ "eventType":"Schedule.ReleaseScheduleProgress" Check the subscribe result on OTAP SDK.
Page 22
Step6 trigger fall detection alarm and check fall detection alarm on OTAP SDK demo.
You can also find the fall detection alarm in below folder of the computer that run OTAP demo. 3.1.2 Source code of SDK demo We can find souce code of SDK demo in the SDK package. For processing registration, please refer to below code.
Page 24
For processing fall detection data, please refer to below code. For subscribing fall detection data, please refer to below code.
4 Fall detection alarm 4.1 OTAP SDK Integration Radar will upload the fall detection alarm data to the platform by OTAP SDK while detect fall down. OTAP SDK consists of four service components, i.e., Central Management Service (CMS), Stream Media Service (SMS), Alarm Management Service (AMS), and Storage Service (SS). Central Management Service (CMS): Devices actively register to the CMS, and then you can start live view, start playback, download videos, forward the audio, set parameters, and so on.
Page 26
Below is an overview of the header file and libs files related to four service components in OTAP SDK: Module Files For Windows Files For Linux Operating Name Operating System System Public Header HCOTAPPublic.h HCOTAPPublic.h File HCOTAPCMS.h HCOTAPCMS.h ...
Page 27
Initialize CMS OTAP_CMS_Init Set subscription callback function OTAP_CMS_SubscribeMsg(ENUM_OTAP_CMS_SET_CALLBACK_FUN ...) Set topic callback function OTAP_CMS_SubscribeMsg(ENUM_OTAP_CMS_SET_TOPIC_FILTER ...) Start CMS listening and set registration callback function information OTAP_CMS_StartListen Deal with registration callback information in OTAP_CMS_StartListen Is device online? Subscribe event OTAP_CMS_ConfigDev Force device to logout OTAP_CMS_ForceLogout Stop CMS listen Stop CMS listen...
Page 28
Related SDK API: Initialize CMS:OTAP_CMS_Init Set subscription callback function: OTAP_CMS_SubscribeMsg(ENUM_OTAP_CMS_SET_CALLBACK_FUN ...) , can parse fall detection data in callback function ( ). If OTAP_CMS_SubscribeMsgCallback byAlarmType is 1 and szAlarmTopic is PeopleFallingDownDetection, we can get fall detection data in pAlarmInfoBuf in JSON format. ...
Page 29
Main Step and the Returned Data Customer can parse fall detection data in callback function ( OTAP_CMS_SubscribeMsgCallback configured OTAP_CMS_SubscribeMsg. byAlarmType szAlarmTopic PeopleFallingDownDetection, we can get fall detection data in pAlarmInfoBuf in JSON format. Remark: Fall detection radar adopts frequency modulated continuous wave (FMCW) to recognize people vital signs, filter out non-human targets, and detect fall behavior of human body.
Need help?
Do you have a question about the DS-TDSB00-EKT and is the answer not in the manual?
Questions and answers