Skip to content
ais_readers.html 6.01 KiB
Newer Older
developer8's avatar
developer8 committed
<!DOCTYPE html>
developer7's avatar
developer7 committed
<html><head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
developer8's avatar
developer8 committed
<title>AIS NFC READERS HTML EXAMPLE </title>
developer7's avatar
developer7 committed
<meta charset="UTF-8">
developer8's avatar
developer8 committed
<style>
    #tbl-td {
				border-style:none;
			}
			
	table,td {
				border:1px solid black;
				border-collapse:collapse;
			 }
			 
	th 		{
				background-color:#80c1ff;
			}
			
	#tr01 	{
				background-color:#d6d6c2
				border:1pc solid black;
				font-familly:verdana,arial;
				font-weight:bold;	
			}
	.info_font {
			    font-weight:bold;  
			    font-style:italic;
			    font-size:small;
			    color:#ffcc66;
			  }
			
</style>
developer7's avatar
developer7 committed
<script type="text/javascript">
    function printFileName(){
        var firmware = document.getElementById('fileBIN').files[0].name; 
        document.getElementById('fwName').value = firmware;
        var configToDev = document.getElementById('ConfigfileWR').files[0].name;        
        document.getElementById('confWR').value = configToDev;        
    }
</script></head>
developer8's avatar
developer8 committed
 
<body>

developer7's avatar
developer7 committed
<form method="post" action="" autocomplete="on" enctype="multipart/form-data">  
developer8's avatar
developer8 committed
<table style="width:90%">
developer7's avatar
developer7 committed
	<tbody><tr><th colspan="6">AIS NFC READERS HTML EXAMPLE &nbsp;<a href="%20http://www.d-logic.net/nfc-rfid-reader-sdk/"> http://www.d-logic.net/nfc-rfid-reader-sdk/</a></th>
	</tr><tr>
developer8's avatar
developer8 committed
		<td>q</td>
		<td>List devices</td>
		<td>o</td>
		<td>Open devices</td>	
		<td>c</td>
		<td>Close device</td>
	</tr>	
	<tr>
		<td>d</td>
		<td>Get devices count</td>	
		<td>t</td>
		<td>Get Time</td>	
developer7's avatar
developer7 committed
		<td>T</td>		
developer7's avatar
developer7 committed
		<td>Set Time</td>					
developer8's avatar
developer8 committed
	</tr>
	<tr>
developer8's avatar
developer8 committed
		<td>r</td>
developer7's avatar
developer7 committed
		<td>Real Time Events&nbsp;<input name="rte" size="3" value="10" type="text"></td>	
developer8's avatar
developer8 committed
		<td>P</td>
developer7's avatar
developer7 committed
		<td>Set application password&nbsp;<input name="default_app_pass" size="5" type="text" width="4"></td>
developer8's avatar
developer8 committed
		<td>p</td>
developer7's avatar
developer7 committed
		<td>Change device password&nbsp;<input name="new_pass" size="5" type="text"></td>
developer8's avatar
developer8 committed
	</tr>
    <tr>	
		<td>l</td>
		<td>Get log</td>
		<td>n</td>
developer7's avatar
developer7 committed
		<td>Get log by Index :&nbsp;S<input name="start_index" size="3" type="text">
		E<input name="end_index" size="3" type="text">
developer8's avatar
developer8 committed
		</td>	
		<td>N</td>
developer7's avatar
developer7 committed
		<td>Get log by Time: S<input name="start_time" size="15" type="text">
		E<input name="end_time" size="15" type="text">
developer8's avatar
developer8 committed
		</td>
	</tr>
	<tr>
		<td>u</td>
developer7's avatar
developer7 committed
		<td>Get unread log&nbsp; <select name="unread_log">
								<option value="1" selected="selected">Count
								</option><option value="2">Get
								</option><option value="3">Ack
								</option></select>
developer8's avatar
developer8 committed
		</td>	
		<td>w</td>
		<td>White-list Read</td>	
		<td>W</td>
developer7's avatar
developer7 committed
		<td>White-list Write&nbsp;<input name="white_list_write" size="15" type="text"></td>
developer8's avatar
developer8 committed
	</tr>
	<tr>
		<td>b</td>
		<td>Black-list Read</td>	
		<td>B</td>
developer7's avatar
developer7 committed
		<td>Black-list Write&nbsp;<input name="black_list_write" size="15" type="text"></td>	
developer8's avatar
developer8 committed
		<td>L</td>
developer7's avatar
developer7 committed
		<td><input name="lights" value="red_master" style="cursor:pointer;" checked="checked" type="radio">Red Master
			<input name="lights" value="green_master" style="cursor:pointer;" type="radio">Green Master
		    <input name="lights" value="red_slave" style="cursor:pointer;" type="radio">Red Slave
		    <input name="lights" value="green_slave" style="cursor:pointer;" type="radio">Green Slave
developer8's avatar
developer8 committed
		</td>
	</tr>	
	<tr>
		<td>g</td>
		<td>Get IO state</td>
		<td>G</td>
		<td>Open gate/lock</td>
		<td>y</td>
		<td>Relay toggle state</td>
	</tr>
	<tr>
developer8's avatar
developer8 committed
		<td>E</td>
		<td>EEPROM LOCK</td>
		<td>e</td>
		<td>EEPROM UNLOCK</td>
		
	</tr>
	<tr>		
		<td>F</td>		
		<td>Firmware update</td>
developer7's avatar
developer7 committed
		<td colspan="2">&nbsp;&nbsp;Enter full firmware BIN file name:</td>      
        <td colspan="3"><input id="fileBIN" name="BIN_fname" size="80%" type="file">        
            <input id="fwName" name="fwName" type="hidden">      	
developer8's avatar
developer8 committed
		</td>
	</tr>
	<tr>
		<td>s</td>
		<td>Settings read from device to file</td>
developer7's avatar
developer7 committed
		<td colspan="2">&nbsp;&nbsp;Enter to config file name:</td>
		<td colspan="3"><input name="Config_file_RD" size="80%" type="text">            
developer8's avatar
developer8 committed
		</td>
	</tr>
	<tr>
		<td>S</td>
		<td>Settings read from file to device</td>
developer7's avatar
developer7 committed
		<td colspan="2">&nbsp;&nbsp;Enter to config file name:</td>
		<td colspan="3"><input id="ConfigfileWR" name="Config_file_WR" size="90%" type="file"></td>
            <input id="confWR" name="confWR" type="hidden">
developer8's avatar
developer8 committed
	</tr>
developer8's avatar
developer8 committed
	<tr>	
developer8's avatar
developer8 committed
		<td>i</td>
		<td>Devices Information</td>
	</tr>
	<tr>
developer7's avatar
developer7 committed
		<td rowspan="3">Q</td>
		<td rowspan="3">Edit device list for checking </td>
		<td colspan="4&quot;" style="text-align:center" ;="">&nbsp; <input name="edit_list" value="1" style="cursor:pointer;" checked="checked" type="radio">Known device types
                        &nbsp; <input name="edit_list" value="2" style="cursor:pointer;" type="radio">Actual list 
						&nbsp; <input name="edit_list" value="3" style="cursor:pointer;" type="radio">Clear list
developer8's avatar
developer8 committed
	    </td>
	</tr>
developer7's avatar
developer7 committed
		<tr><td colspan="2">
		&nbsp; <input name="edit_list" value="4" style="cursor:pointer;" type="radio">Add device for check 
developer8's avatar
developer8 committed
		</td>
developer7's avatar
developer7 committed
	<td rowspan="2" colspan="2" style="text-align:center" ;="">
		&nbsp; &nbsp; Enter device type:<input name="device_type" size="5" type="text">
		    &nbsp; &nbsp; Enter device ID:<input name="device_id" size="5" type="text">
developer8's avatar
developer8 committed
        </td>
developer7's avatar
developer7 committed
	</tr><tr>
		<td colspan="2">
		&nbsp; <input name="edit_list" value="5" style="cursor:pointer;" type="radio">Erase device from list
developer8's avatar
developer8 committed
        </td>						
developer7's avatar
developer7 committed
	</tr>
	<tr>
		<td colspan="7"></td>
	</tr>
    <tr>	    
	    <td colspan="1">R</td>
developer7's avatar
developer7 committed
		<td>REBOOT</td>	
        <td>U</td>
        <td colspan="1">Git pull</td>     
developer7's avatar
developer7 committed
	</tr>
	<tr>
		<td>D</td>
		<td>Read Debug Log : &nbsp; <input size="35" name="read_debug_log" type="text"></td>
		<td>SD</td>					
		<td colspan="3">Save Debug Log :&nbsp; <input size="35" name="save_debug_log" type="text">
		&nbsp; * bbb_debug_log20160617.log
		</td>		  
	</tr>    
</tbody></table>
<br>
Enter device:<input maxlength="2" name="device" size="3" type="text">
<input name="get_function" size="3" type="text" width="1px">
<input value="GET FUNCTION " onclick="printFileName();" type="submit">
developer8's avatar
developer8 committed
</form>
developer7's avatar
developer7 committed


</body></html>