SLAU887 February 2023 MSPM0G1105 , MSPM0G1106 , MSPM0G1107 , MSPM0G1505 , MSPM0G1506 , MSPM0G1507 , MSPM0G3105 , MSPM0G3106 , MSPM0G3107 , MSPM0G3107-Q1 , MSPM0G3505 , MSPM0G3506 , MSPM0G3507 , MSPM0G3507-Q1 , MSPM0L1105 , MSPM0L1106 , MSPM0L1303 , MSPM0L1304 , MSPM0L1304-Q1 , MSPM0L1305 , MSPM0L1305-Q1 , MSPM0L1306 , MSPM0L1306-Q1 , MSPM0L1343 , MSPM0L1344 , MSPM0L1345 , MSPM0L1346
Prototype
uint8_t send(uint8_t* data, uint16_t length);
data - Pointer to the BSL core response packet to be sent to the host. It will have the same format as described in section GUID-20221116-SR0T-J7QL-CX7Q-WS3MSWF7QCXZ.html
length - Length of the BSL core response packet excluding the length of the CRC 4 bytes.
return - Returns '1' if the transmission is successful. '0' if the transmission failed.
Description
Transmit has to send the BSL core response packet to the host. It should also take care of calculating and adding CRC for the packet. Transmission API should return only after completely transmitting the data.