src/lmic/lmic_eu_like.c
// Class A txDone handling for FSK.
Class A txDone handling for FSK.
Class A txDone handling for FSK .
void
LMICeulike_txDoneFSK(ostime_t delay, osjobcb_t func) {
        ostime_t const hsym = us2osticksRound(10);
        delay -= LMICbandplan_PRERX_FSK * us2osticksRound(160);
        LMIC.rxtime = LMIC.txend + LMICcore_adjustForDrift(delay, hsym, 8 * LMICbandplan_RXLEN_FSK);
        os_setTimedCallback(&LMIC.osjob, LMIC.rxtime - os_getRadioRxRampup(), func);
}
void LMICeulike_txDoneFSK ( ostime_t delay , osjobcb_t func ) { ostime_t const hsym = us2osticksRound ( 10 ) ; delay -= LMICbandplan_PRERX_FSK * us2osticksRound ( 160 ) ; LMIC . rxtime = LMIC . txend + LMICcore_adjustForDrift ( delay , hsym , 8 * LMICbandplan_RXLEN_FSK ) ; os_setTimedCallback ( & LMIC . osjob , LMIC . rxtime - os_getRadioRxRampup ( ) , func ) ; }
Class A txDone handling for FSK.
Class A txDone handling for FSK .
// one symbol == one bit at 50kHz == 20us. // start a little earlier.  PRERX_FSK is in bytes; one byte at 50 kHz == 160us // set LMIC.rxtime and LMIC.rxsyms: