Home
last modified time | relevance | path

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

/Zephyr-latest/subsys/lorawan/services/
Dclock_sync.c98 uint8_t tx_pos = 0; in clock_sync_package_callback() local
106 if (sizeof(tx_buf) - tx_pos < MAX_CLOCK_SYNC_ANS_LEN) { in clock_sync_package_callback()
113 tx_buf[tx_pos++] = CLOCK_SYNC_CMD_PKG_VERSION; in clock_sync_package_callback()
114 tx_buf[tx_pos++] = LORAWAN_PACKAGE_ID_CLOCK_SYNC; in clock_sync_package_callback()
115 tx_buf[tx_pos++] = CLOCK_SYNC_PACKAGE_VERSION; in clock_sync_package_callback()
148 tx_buf[tx_pos++] = CLOCK_SYNC_CMD_DEVICE_APP_TIME_PERIODICITY; in clock_sync_package_callback()
149 tx_buf[tx_pos++] = 0x00; /* Status: OK */ in clock_sync_package_callback()
151 tx_pos += clock_sync_serialize_device_time(tx_buf + tx_pos, in clock_sync_package_callback()
152 sizeof(tx_buf) - tx_pos); in clock_sync_package_callback()
176 if (tx_pos > 0) { in clock_sync_package_callback()
[all …]
Dmulticast.c114 uint8_t tx_pos = 0; in multicast_package_callback() local
122 if (sizeof(tx_buf) - tx_pos < MAX_MULTICAST_ANS_LEN) { in multicast_package_callback()
129 tx_buf[tx_pos++] = MULTICAST_CMD_PKG_VERSION; in multicast_package_callback()
130 tx_buf[tx_pos++] = LORAWAN_PACKAGE_ID_REMOTE_MULTICAST_SETUP; in multicast_package_callback()
131 tx_buf[tx_pos++] = MULTICAST_PACKAGE_VERSION; in multicast_package_callback()
164 tx_buf[tx_pos++] = MULTICAST_CMD_MC_GROUP_SETUP; in multicast_package_callback()
166 tx_buf[tx_pos++] = id; in multicast_package_callback()
169 tx_buf[tx_pos++] = (1U << 2) | id; in multicast_package_callback()
183 tx_buf[tx_pos++] = MULTICAST_CMD_MC_GROUP_DELETE; in multicast_package_callback()
185 tx_buf[tx_pos++] = id; in multicast_package_callback()
[all …]
Dfrag_transport.c108 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()
[all …]
/Zephyr-latest/drivers/ethernet/
Deth_stellaris.c45 if (dev_data->tx_pos != 0) { in eth_stellaris_flush()
47 dev_data->tx_pos = 0; in eth_stellaris_flush()
56 dev_data->tx_word |= byte << (dev_data->tx_pos * 8); in eth_stellaris_send_byte()
57 dev_data->tx_pos++; in eth_stellaris_send_byte()
58 if (dev_data->tx_pos == 4) { in eth_stellaris_send_byte()
60 dev_data->tx_pos = 0; in eth_stellaris_send_byte()
355 .tx_pos = 0,
Deth_stellaris_priv.h55 int tx_pos; member