Lines Matching full:raw
169 * @param cb A callback used for transmitting raw data.
177 uint8_t raw[3]; in mcumgr_serial_tx_pkt() local
214 memcpy(raw, &u16, sizeof(u16)); in mcumgr_serial_tx_pkt()
215 raw[2] = data[0]; in mcumgr_serial_tx_pkt()
217 rc = mcumgr_serial_tx_small(raw, 3, cb); in mcumgr_serial_tx_pkt()
256 memcpy(raw, data + src_off, 3); in mcumgr_serial_tx_pkt()
257 rc = mcumgr_serial_tx_small(raw, 3, cb); in mcumgr_serial_tx_pkt()
272 raw[0] = (crc & 0xff00) >> 8; in mcumgr_serial_tx_pkt()
273 raw[1] = crc & 0x00ff; in mcumgr_serial_tx_pkt()
274 rc = mcumgr_serial_tx_small(raw, 2, cb); in mcumgr_serial_tx_pkt()
278 raw[0] = data[src_off++]; in mcumgr_serial_tx_pkt()
280 raw[1] = (crc & 0xff00) >> 8; in mcumgr_serial_tx_pkt()
281 raw[2] = crc & 0x00ff; in mcumgr_serial_tx_pkt()
282 rc = mcumgr_serial_tx_small(raw, 3, cb); in mcumgr_serial_tx_pkt()
286 raw[0] = data[src_off++]; in mcumgr_serial_tx_pkt()
287 raw[1] = data[src_off++]; in mcumgr_serial_tx_pkt()
289 raw[2] = (crc & 0xff00) >> 8; in mcumgr_serial_tx_pkt()
290 rc = mcumgr_serial_tx_small(raw, 3, cb); in mcumgr_serial_tx_pkt()
295 raw[0] = crc & 0x00ff; in mcumgr_serial_tx_pkt()
296 rc = mcumgr_serial_tx_small(raw, 1, cb); in mcumgr_serial_tx_pkt()