description: Unit tests for swiftnav.sbp.file_io MsgFileioReadDirResp
generated_on: 2023-11-15 # manually generated
package: sbp.file_io
tests:

- msg:
    c_decoded_fields:
      contents:
        handle_as: encoded-string
        encoded_len: 41
        fn_prefix: sbp_msg_fileio_read_dir_resp_contents
        min_len: 1
        sections:
          - file1
          - another file
          - definitely not a file
    fields:
      contents: "file1\0another file\0definitely not a file\0"
      sequence: 3957390670
    module: sbp.file_io
    name: MsgFileioReadDirResp
  msg_type: '0xaa'
  raw_json: '{"preamble":85,"msg_type":170,"sender":1219,"length":45,"payload":"Tv3g62ZpbGUxAGFub3RoZXIgZmlsZQBkZWZpbml0ZWx5IG5vdCBhIGZpbGUA","crc":35258,"sequence":3957390670,"contents":"file1\u0000another file\u0000definitely not a file\u0000"}'
  raw_packet: VaoAwwQtTv3g62ZpbGUxAGFub3RoZXIgZmlsZQBkZWZpbml0ZWx5IG5vdCBhIGZpbGUAuok=
  sbp:
    crc: '0x89ba'
    length: 45
    msg_type: '0xaa'
    payload: Tv3g62ZpbGUxAGFub3RoZXIgZmlsZQBkZWZpbml0ZWx5IG5vdCBhIGZpbGUA
    preamble: '0x55'
    sender: '0x04c3'
