Lines Matching refs:mcps_indication
155 static void mcps_indication_handler(McpsIndication_t *mcps_indication) in mcps_indication_handler() argument
160 LOG_DBG("Received McpsIndication %d", mcps_indication->McpsIndication); in mcps_indication_handler()
162 if (mcps_indication->Status != LORAMAC_EVENT_INFO_STATUS_OK) { in mcps_indication_handler()
164 lorawan_eventinfo2str(mcps_indication->Status)); in mcps_indication_handler()
175 mcps_indication->DeviceTimeAnsReceived) { in mcps_indication_handler()
180 flags |= (mcps_indication->IsUplinkTxPending == 1 ? LORAWAN_DATA_PENDING : 0); in mcps_indication_handler()
181 flags |= (mcps_indication->DeviceTimeAnsReceived ? LORAWAN_TIME_UPDATED : 0); in mcps_indication_handler()
186 (cb->port == mcps_indication->Port)) { in mcps_indication_handler()
187 cb->cb(mcps_indication->Port, flags, mcps_indication->Rssi, in mcps_indication_handler()
188 mcps_indication->Snr, mcps_indication->BufferSize, in mcps_indication_handler()
189 mcps_indication->Buffer); in mcps_indication_handler()
193 last_mcps_indication_status = mcps_indication->Status; in mcps_indication_handler()