I need to compare two ble_date_time_t structs to figure out if one is later than the other. So basically I need to check if rtc_datetime > expiration_datetime.
Both rtc_datetime and expiration_datetime are of type ble_date_time_t. I searched through the SDK documentation for a function for comparing those two. I could not find one and now I am looking for the best way to compare. Is just looping through elements and comparing them one by one the best option?
Thanks a lot!