Lines Matching refs:tx_pos
108 uint8_t tx_pos = 0; in frag_transport_package_callback() local
118 if (sizeof(tx_buf) - tx_pos < FRAG_TRANSPORT_MAX_ANS_LEN) { in frag_transport_package_callback()
125 tx_buf[tx_pos++] = FRAG_TRANSPORT_CMD_PKG_VERSION; in frag_transport_package_callback()
126 tx_buf[tx_pos++] = LORAWAN_PACKAGE_ID_FRAG_TRANSPORT_BLOCK; in frag_transport_package_callback()
127 tx_buf[tx_pos++] = FRAG_TRANSPORT_VERSION; in frag_transport_package_callback()
146 tx_buf[tx_pos++] = FRAG_TRANSPORT_CMD_FRAG_STATUS; in frag_transport_package_callback()
147 tx_buf[tx_pos++] = ctx.nb_frag_received & 0xFF; in frag_transport_package_callback()
148 tx_buf[tx_pos++] = in frag_transport_package_callback()
150 tx_buf[tx_pos++] = missing_frag; in frag_transport_package_callback()
151 tx_buf[tx_pos++] = memory_error & 0x01; in frag_transport_package_callback()
233 tx_buf[tx_pos++] = FRAG_TRANSPORT_CMD_FRAG_SESSION_SETUP; in frag_transport_package_callback()
234 tx_buf[tx_pos++] = status; in frag_transport_package_callback()
249 tx_buf[tx_pos++] = FRAG_TRANSPORT_CMD_FRAG_SESSION_DELETE; in frag_transport_package_callback()
250 tx_buf[tx_pos++] = status; in frag_transport_package_callback()
311 if (tx_pos > 0) { in frag_transport_package_callback()
312 lorawan_services_schedule_uplink(LORAWAN_PORT_FRAG_TRANSPORT, tx_buf, tx_pos, in frag_transport_package_callback()