SNVT_file_status

Overview:

File status..   

Part of the LONWORKS File-Transfer Protocol (LW-FTP).


Details:

Resource Set: Standard 00:00:00:00:00:00:00:00-0
Index: 74
Obsolete: no
Size: 27
Programmatic Name: SNVT_file_status
Neuron C Type:
Structure
statusStatus  (file status names.) .   
 
file_status_t
number_of_filesNumber of files.  (count) .   
 
unsigned long
Minimum: 0
Maximum: 65535
Scaling (A,B,C): 1,  0,  0
Scaled value: 1 *10 0 *(Raw+0)
Resolution: 1
selected_fileSelected file.  (file index.) .   
 
unsigned long
Minimum: 0
Maximum: 65535
Scaling (A,B,C): 1,  0,  0
Scaled value: 1 *10 0 *(Raw+0)
Resolution: 1
adrAddress.   
 
Union
descriptorDescriptor.   
 
Structure
file_infoFile info.  (array of 16 characters.) .   
 
signed char [16]
Minimum: -128
Maximum: 127
Scaling (A,B,C): 1,  0,  0
Scaled value: 1 *10 0 *(Raw+0)
Resolution: 1
sizeSize  (bytes) .   
 
s32_type
Minimum: 0
Maximum: 2147483647
Scaling (A,B,C): 1,  0,  0
Scaled value: 1 *10 0 *(Raw+0)
Resolution: 1
typeType.   
 
unsigned long
Minimum: 0
Maximum: 65535
Scaling (A,B,C): 1,  0,  0
Scaled value: 1 *10 0 *(Raw+0)
Resolution: 1
addressAddress.   
 
Structure
domain_idDomain ID.  (array of 6 bytes.) .  ANSI/CEA-709.1 domain ID. 
 
unsigned short [6]
Minimum: 0
Maximum: 255
Scaling (A,B,C): 1,  0,  0
Scaled value: 1 *10 0 *(Raw+0)
Resolution: 1
domain_lengthDomain length.  (ANSI/CEA-709.1 domain length.) .  Valid domain lengths are 0, 1, 3, and 6. 
 
unsigned short
Minimum: 0
Maximum: 6
Scaling (A,B,C): 1,  0,  0
Scaled value: 1 *10 0 *(Raw+0)
Resolution: 1
subnetSubnet  (subnet number.) .  There can be 255 subnets (1-255) in a domain. 
 
unsigned short
Minimum: 0
Maximum: 255
Invalid: 0
Scaling (A,B,C): 1,  0,  0
Scaled value: 1 *10 0 *(Raw+0)
Resolution: 1
nodeNode  (node number.) .  There can be 127 nodes (1-127) in a subnet. 
 
unsigned short
Minimum: 0
Maximum: 127
Invalid: 0
Scaling (A,B,C): 1,  0,  0
Scaled value: 1 *10 0 *(Raw+0)
Resolution: 1
Formats:

SNVT_file_status:  text( ("%m,%d %d ",status, number_of_files, selected_file ),( (status == 1) ?("%d %d %s",adr.descriptor.size, adr.descriptor.type,adr.descriptor.file_info ) :("%d <%x %x %x %x %x %x> %d %d", adr.address.domain_length, adr.address.domain_id[0], adr.address.domain_id[1], adr.address.domain_id[2], adr.address.domain_id[3], adr.address.domain_id[4], adr.address.domain_id[5], adr.address.subnet, adr.address.node) ) )

SNVT_file_status#LO:  text( ("%m|%d %d ",status, number_of_files, selected_file ),( (status == 1) ?("%d %d %s",adr.descriptor.size, adr.descriptor.type,adr.descriptor.file_info ) :("%d <%x %x %x %x %x %x> %d %d", adr.address.domain_length, adr.address.domain_id[0], adr.address.domain_id[1], adr.address.domain_id[2], adr.address.domain_id[3], adr.address.domain_id[4], adr.address.domain_id[5], adr.address.subnet, adr.address.node) ) )

Used by:

SFPTnodeObject