Changes between Version 192 and Version 193 of Docs/825gen2/Dev/UpdatingLegacyApps


Ignore:
Timestamp:
04/28/26 07:16:59 (6 days ago)
Author:
Don Wilson
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Docs/825gen2/Dev/UpdatingLegacyApps

    v192 v193  
    9191}}}
    9292
    93 3. 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.
     934. 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.
    9494{{{#!c++
    9595void ShowDateTime(void)
     
    118118}}}
    119119
    120 4. Some apps may have //stime// function call to set the indicator date/time. This is often in local/remote code for the remote indicator to set its time from the local indicator. The //stime// function was deprecated and is removed from standard libc library. This code may be updated to use //clock_settime//. For example:
     1205. Some apps may have //stime// function call to set the indicator date/time. This is often in local/remote code for the remote indicator to set its time from the local indicator. The //stime// function was deprecated and is removed from standard libc library. This code may be updated to use //clock_settime//. For example:
    121121   {{{#!c++
    122122// stime(&rawtime);
     
    128128   // As of 2025-11-20 lib825ev and lib825 libraries provide their own stime functions for 825 Gen2 builds so it will not be necessary to make this code change. However, for new apps it is recommended to use clock_settime.//
    129129
    130 5. 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.
     1306. 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.
    131131
    132132== Compiling ==