Home
last modified time | relevance | path

Searched refs:gpsEpochTime (Results 1 – 1 of 1) sorted by relevance

/loramac-node-latest/src/mac/
DLoRaMac.c2552 SysTime_t gpsEpochTime = { 0 }; in ProcessMacCommands() local
2556 gpsEpochTime.Seconds = ( uint32_t )payload[macIndex++]; in ProcessMacCommands()
2557 gpsEpochTime.Seconds |= ( uint32_t )payload[macIndex++] << 8; in ProcessMacCommands()
2558 gpsEpochTime.Seconds |= ( uint32_t )payload[macIndex++] << 16; in ProcessMacCommands()
2559 gpsEpochTime.Seconds |= ( uint32_t )payload[macIndex++] << 24; in ProcessMacCommands()
2560 gpsEpochTime.SubSeconds = payload[macIndex++]; in ProcessMacCommands()
2564gpsEpochTime.SubSeconds = ( int16_t )( ( ( int32_t )gpsEpochTime.SubSeconds * 1000 ) >> 8 ); in ProcessMacCommands()
2567 sysTime = gpsEpochTime; in ProcessMacCommands()