7_API REFERENCE MANUAL
JSON POST file that includes all the necessary information in order to initialize the
network of the lock. Only available for the Nexo NLX1 lock.
Parameters
POST http://localhost:8086/initialization/initData
Parameter of the request JSON file:
Parameter
Mandatory
Data type
Possible values
num_installation
Yes
String(4) hex
Provided by Ojmar
num_subinstallation
Yes
String(2) hex
ssid
Yes
String
password
Yes
String
encrypt_type
Yes
Integer
From 0 to 8 *
server_ip
Yes
String
initial_ip
Yes
String
gateway_ip
Yes
String
range
Yes
String
mask
Yes
String
first_num_lock
Yes
Integer
From 0 to 65534
last_num_lock
Yes
Integer
From 0 to 65534
group
Yes
Integer
From 0 to 255
target
Yes
String
"pp"
*encrypt type values are: 0=OPEN, 1=WEP, 2=WPA_WPA2
Response OK:
{
"result": "ok",
"data": "XXXXX...XXXX"
}
Response NOK:
{
"result": "error",
"code":"-1",
"message":"...."
}
Example
JSON request:
{
Содержание Nexo NLX1
Страница 1: ...E S P INSTRUCTIONS MANUAL VERSION 2 0 NEXO NLX1 SYSTEM...
Страница 2: ......
Страница 3: ...INSTRUCTIONS MANUAL VERSION 1 0 NEXO NLX1 SYSTEM...
Страница 7: ...CONTENTSOJMAR 7 PAGE LEFT BLANK INTENTIONALLY...
Страница 14: ...2_MANUAL DE INSTALACI N The following files will appear in the selected folder jre Ojmar API exe...
Страница 33: ...2_MANUAL DE INSTALACI N OJMAR 33 Figure 2 3 Measurements of the smooth strike in mm inches Figure 2 of 2...
Страница 39: ...2_MANUAL DE INSTALACI N OJMAR 39 PAGE LEFT BLANK INTENTIONALLY...
Страница 57: ...3_PUESTA EN MARCHA OJMAR 57 PAGE LEFT BLANK INTENTIONALLY...
Страница 62: ...5_MANUAL DE MANTENIMIENTO 1 2 3 User key master or service 4...
Страница 70: ...5_MANUAL DE MANTENIMIENTO...
Страница 74: ...5_MANUAL DE MANTENIMIENTO PAGE LEFT BLANK INTENTIONALLY...
Страница 150: ...7_API REFERENCE MANUAL options BT group 1 range_from 1 range_to 100...
Страница 184: ...7_API REFERENCE MANUAL PAGE LEFT BLANK INTENTIONALLY...
Страница 186: ...7_API REFERENCE MANUAL Option b...
Страница 187: ...7_API REFERENCE MANUAL OJMAR 187 Option c INSTALLING ONE ROUTER PER 50 LOCKS IS RECOMMENDED...
Страница 188: ...7_API REFERENCE MANUAL...