The lock detects that the third-party software ask for logs, so sends the following
JSON.
{
"logs":[
],
"num_installation":"2222",
"num_subinstallation":"33",
"locks":[
],
"lock_request":false,
"lock_response":false,
"num_lock":0
}
7.5
CODE EXAMPLES
7.5.1
PHP
// Create a TCP Stream socket
$sock = socket_create(AF_INET, SOCK_STREAM, 0);
// Bind the socket to an address/port
socket_bind($sock, '0.0.0.0', 7777) or die('Could not bind to
address');
// Start listening for connections
socket_listen($sock);
7_API REFERENCE MANUAL
{"date":1460390756,
"event_code":"12",
"uid":"000094FC6B4A04",
"battery_status":33
}
{"date":1460390754,
"event_code":"10",
"uid":"000094FC6B4A04",
"battery_status":33
}
{"lock_type":"free",
"num_lock":"1"
}
Need help?
Do you have a question about the Nexo NLX1 and is the answer not in the manual?