Changes between Version 169 and Version 170 of Docs/825gen2/Dev/UpdatingLegacyApps


Ignore:
Timestamp:
11/20/25 08:59:50 (34 hours ago)
Author:
Don Wilson
Comment:

--

Legend:

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

    v169 v170  
    108108}}}
    109109
    110 4. Some apps may have //stime// function call to set the indicator date/time. The //stime// function is no longer supported. This code should be updated to use //clock_settime//. For example:
     1104. 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:
    111111   {{{#!c++
    112112// stime(&rawtime);
     
    116116clock_settime(CLOCK_REALTIME, &ts);
    117117}}}
    118 // Update 2025-11-20 lib825ev now provides its own stime function 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.//
     118// As of 2025-11-20 lib825ev now provides its own stime function 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.//
    119119
    1201205. 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.