<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">What’s the best way to convince a driver to read and write from an SD card, while not breaking the existing read/write to .img and radio-specific files?<div class=""><br class=""></div><div class="">The SD card has a file (BACKUP.dat) that is essentially a binary image of the radio’s memory. It looks to me as if CHIRP can read and write such a file (e.g., FileBackedRadio() is not quite defined, and load_mmap() and save_mmap() look to do the right thing as long as the file enclitic is not .img)</div><div class=""><br class=""></div><div class="">The driver already has one call to directory.register_format to introduce its radio-specific files. And the save dialog allows me to choose CHIRP .img or radio-specific formats. I’d like to add read/write from the raw memory image.</div><div class=""><br class=""></div><div class="">What magic is needed to get CHIRP and wxui to handle my radio’s second method of data transfer, via SD card??</div><div class=""><br class=""></div><div class="">[There is a probable workaround: modify a copy of the SD card file: prepend the “correct” eight characters to the memory-image file, and ensure that there’s no MAGIC or glob at the end, and it should read as if it were a .img, no?]</div><div class=""><br class=""></div>Thanks.<br class=""><br class=""><div class="">
<div style="color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div style="color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">______</div><div style="color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Declan Rieb WD5EQY<div class=""><a href="mailto:wd5eqy@arrl.net" class="">wd5eqy@arrl.net</a></div><div class=""><br class=""></div><div class=""><br class=""></div></div><br class="Apple-interchange-newline"></div><br class="Apple-interchange-newline"><br class="Apple-interchange-newline">
</div>
<br class=""></body></html>