CS700 Import Export File Definition

Record Type ID numbers exist to help classify and validate information.
Each line of data (record) will begin with a 2 digit Record Type ID, from 01 to 99.

Every section must have exactly 1 Section Header (01) and Section Footer (99) record.
There can be any number of sections within a file.
Any specific section can be repeated, to aid with grouping of like information.
No sections are required.

The program will validate the following:
    - There is at least 1 header / footer record in the file (per file)
    - One and only one data definition record exists with a matching Record Type ID to the header / footer records (per section)
    - At least one data record exists with matching Record Type ID to the header / footer records (per section)
    - No data definition records or data records exist with Record Type IDs that DO NOT match the header / footer records (per section)

    - There is a data definition line present that matches the section header / footer records (per section)
    - Required field names are defined in the data definition line based upon the DataType from the header / footer records (per section)
    - All referenced values are valid for the field they will are meant to import in to
        ~ It is possible, and even likely, that a Channel Name, Contact Name, Digital RX Group Call List Name, or Scan List Name can be identified in the file that doesn't exist in the currently loaded code plug.
        ~ This will be handled in one of two ways.
            1. If another section within the file contains the information that is referenced, that information will be loaded first, so that it is no longer an invalid reference.
            2. If the information doesn't exist in the currently loaded code plug, and is not found in the import file, the information will be set to the default value with a warning to the user identifying what values are not found.
   
Only required fields will be identified here, but all fields in GUI can be set.
Field names match what is displayed on screen in GUI, minus anything in (parentheses)
If any required fields are not included, the process should present an error message with some amount of information to diagnose the issue.
Any field name found in the import file that cannot be matched to a code plug value should present a warning dialogue to the user, with the following information:
    - On screen display of the invalid information
    - The ability to proceed or cancel.

01 Section Header
    - Will have at least a DataType field, formatted as DataType=?????????
    - Can contain any other fields that are valid for the current section, and when present these fields will act as section level defaults
   
02 Digital Contact data definition record
    - Contact Name
    - Call Type
    - Call ID
03 Digital Contact data record(s)
    - can contain 1 to radio firmware limit of records
   
04 Digital RX Group Call data definition record
    - Group List Name
    - Contact Member   
05 Digital RX Group Call data record(s)
    - can contain from 1 to radio firmware limit of records
   
06 Channel Information data definition record
    - Channel Name
    - RX Frequency
    - TX Frequency
07 Channel Information data record(s)
    - can contain from 1 to radio firmware limit of records

08 Scan List data definition record
    - Scan List Name
    - Channel Member
09 Scan List data record(s)
    - can contain from 1 to radio firmware limit of records

10 Zone Information data definition record
    - Zone Name
    - Channel Member
11 Zone Information data record(s)
    - can contain from 1 to radio firmware limit of records

99 Section Footer


Amateur Radio Users Support Group
AmateurRadio@groups.io
https://groups.io/g/AmateurRadio 


Connect Systems
https://groups.io/g/ConnectSystemsDMR

No comments:

Post a Comment

Thanks for your comments, Comments may take a day to show up

Used for discussions, it is a collaboration group

Digital Ham Radio / Amateur Radio
DigitalHamRADIO@groups.io
https://groups.io/g/DigitalHamRADIO

Amateur Radio Users Support Group
AmateurRadio@groups.io
https://groups.io/g/AmateurRadio

North America Amateur Frequencies
A shared discussion about North America Frequencies.
https://groups.io/g/Frequency
.

Note: only a member of this blog may post a comment.