6_API INTRODUCTION
OJMAR 83
6.6
LOCK CONFIGURATION EXAMPLE
In this section is explained how to setup a lock.
6.6.1
Configured by RFID cards for OTS family
First of all, a frame for the time set card it is going to be created. For that, the html
rest petition must be done, assuming that we are working in port 8086.
http://localhost:8086/serialization/timeSetCard with the following body in a JSON
format:
{“lock_type”:”OTS”,
“num_installation”:6666}
And following answer will be received:
{"result": "ok",
"data":
"66660000300000000000000000000000000000001331180A0815031E0000
000000000000000000000000000000000000"}
Once the frame is received, it has to be decided where it is going to be written the
card by (Desktop reader or NFC Programmer).
So, following html rest petition is made: http://localhost:8086/card/write with
following body:
{"reader_type":"nfc",
"card_model":"classic",
“frame":
"66660000300000000000000000000000000000001331180A0815031E0000
000000000000000000000000000000000000"}
And following response with be received.
{"result": "ok",
"data_ots": "Card write ok",
"uid": "00000064455F4A"}
Once the card for the time set is written, the same procedure must be used in order
to create a setup card.
Firstly, the frame will be created using the url
http://localhost:8086/serialization/setupCard with following body:
{"lock_type":"OTS",
"num_installation":6666,
"first_num_lock":1,
"last_num_lock":73,
"mode":"free",
Summary of Contents for Nexo NLX1
Page 1: ...E S P INSTRUCTIONS MANUAL VERSION 2 0 NEXO NLX1 SYSTEM...
Page 2: ......
Page 3: ...INSTRUCTIONS MANUAL VERSION 1 0 NEXO NLX1 SYSTEM...
Page 7: ...CONTENTSOJMAR 7 PAGE LEFT BLANK INTENTIONALLY...
Page 39: ...2_MANUAL DE INSTALACI N OJMAR 39 PAGE LEFT BLANK INTENTIONALLY...
Page 57: ...3_PUESTA EN MARCHA OJMAR 57 PAGE LEFT BLANK INTENTIONALLY...
Page 62: ...5_MANUAL DE MANTENIMIENTO 1 2 3 User key master or service 4...
Page 70: ...5_MANUAL DE MANTENIMIENTO...
Page 74: ...5_MANUAL DE MANTENIMIENTO PAGE LEFT BLANK INTENTIONALLY...
Page 150: ...7_API REFERENCE MANUAL options BT group 1 range_from 1 range_to 100...
Page 184: ...7_API REFERENCE MANUAL PAGE LEFT BLANK INTENTIONALLY...
Page 186: ...7_API REFERENCE MANUAL Option b...
Page 187: ...7_API REFERENCE MANUAL OJMAR 187 Option c INSTALLING ONE ROUTER PER 50 LOCKS IS RECOMMENDED...
Page 188: ...7_API REFERENCE MANUAL...