| 59 | | 24. The 825 Gen2 defaults to 12 hour time which requires AM/PM labels to show the date/time. Legacy 825 indicators defaulted to 24 hour time. Many legacy apps do not allow for enough space to display the AM/PM labels. So slight modification of the date/time display code may be needed to accommodate 12 hour time. |
| | 59 | 24. Some apps may use a fixed outdated file path "/dev/com3" for COM3 serial communications. This should be updated to use the CCommSerial class. For example: |
| | 60 | {{{#!c++ |
| | 61 | CFile file; |
| | 62 | file.Open("/dev/com3", "w"); |
| | 63 | if(file.IsOpen()) { |
| | 64 | string str = FormatWt(GetGrossWt(1), GetInterval(1), GetDecimal(1), 5) + "\r\n"; |
| | 65 | file.Write(str); |
| | 66 | } |
| | 67 | }}} |
| | 68 | Update this to: |
| | 69 | {{{#!c++ |
| | 70 | CCommSerial file(3); |
| | 71 | if(file.IsOpen()) { |
| | 72 | string str = FormatWt(GetGrossWt(1), GetInterval(1), GetDecimal(1), 5) + "\r\n"; |
| | 73 | file.Send(NULL, (uint8_t*)str.c_str(), str.length()); |
| | 74 | } |
| | 75 | }}} |
| | 76 | |
| | 77 | 25. The 825 Gen2 defaults to 12 hour time which requires AM/PM labels to show the date/time. Legacy 825 indicators defaulted to 24 hour time. Many legacy apps do not allow for enough space to display the AM/PM labels. So slight modification of the date/time display code may be needed to accommodate 12 hour time. |
| 78 | | 25. Also (probably rare) if the app communicates with another system by serial port, network, or file import/export that interprets the data content as binary integers, floats, etc... it may be necessary to make changes to account for different [https://en.wikipedia.org/wiki/Endianness endianness]. The 825 Gen2 is ARM-64 little-endian, The Legacy 825 is Coldfire big-endian. |
| 79 | | |
| 80 | | 26. Before running the app for debugging from SSH it will often be necessary to create a directory on the 825 Gen2 for the app's data. Check the app header files to confirm the directory the app will use for configuration and data files. (The last part of the directory should normally match the project name and the release build executable name. Some newer apps may automatically check when starting up and create the directory if it does not exist) |
| | 96 | 26. Also (probably rare) if the app communicates with another system by serial port, network, or file import/export that interprets the data content as binary integers, floats, etc... it may be necessary to make changes to account for different [https://en.wikipedia.org/wiki/Endianness endianness]. The 825 Gen2 is ARM-64 little-endian, The Legacy 825 is Coldfire big-endian. |
| | 97 | |
| | 98 | 27. Before running the app for debugging from SSH it will often be necessary to create a directory on the 825 Gen2 for the app's data. Check the app header files to confirm the directory the app will use for configuration and data files. (The last part of the directory should normally match the project name and the release build executable name. Some newer apps may automatically check when starting up and create the directory if it does not exist) |