The flash read message reads a set of addresses of either the STM or M25 onboard flash. The device replies with a MSG_FLASH_READ_RESP message containing either the read data on success or a MSG_FLASH_DONE message containing the return code FLASH_INVALID_LEN (2) if the maximum read size is exceeded or FLASH_INVALID_ADDR (3) if the address is outside of the allowed range.
{
"copyright": [
"Copyright (C) 2019-2021 Swift Navigation Inc.",
"Contact: https://support.swiftnav.com",
"",
"This source is subject to the license found in the file 'LICENSE' which must",
"be distributed together with this source. All other rights reserved.",
"",
"THIS CODE AND INFORMATION IS PROVIDED 'AS IS' WITHOUT WARRANTY OF ANY KIND,",
"EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED",
"WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE."
],
"$schema": "http://json-schema.org/draft-06/schema#",
"$id": "#MsgFlashReadResp",
"title":"MsgFlashReadResp",
"description":"The flash read message reads a set of addresses of either the STM or M25 onboard flash. The device replies with a MSG_FLASH_READ_RESP message containing either the read data on success or a MSG_FLASH_DONE message containing the return code FLASH_INVALID_LEN (2) if the maximum read size is exceeded or FLASH_INVALID_ADDR (3) if the address is outside of the allowed range.\n",
"type": "object",
"properties": {
"target": {"type": "integer"},
"addr_start": {"type": "array", "items": {"type": "integer"}},
"addr_len": {"type": "integer"}
},
"required": [
"target",
"addr_start",
"addr_len"
]
}