doc
This commit is contained in:
@@ -61,6 +61,16 @@ uint8_t UsbDataPacket_head_sum(const UsbDataPacket* p);
|
||||
bool UsbDataPacket_head_check(const UsbDataPacket* p);
|
||||
|
||||
|
||||
/**
|
||||
* @brief Sends a message over USB using a data packet
|
||||
*
|
||||
* @param type The type of the message to be sent
|
||||
* @param buffer Pointer to the USB data packet
|
||||
* @param fields Pointer to the protocol buffer message descriptor
|
||||
* @param msg Pointer to the message to be sent
|
||||
*
|
||||
* @return True if the message was successfully sent, false otherwise
|
||||
*/
|
||||
bool UsbDataPacketSendMessage(uint32_t type , UsbDataPacket * buffer ,const pb_msgdesc_t * fields ,const void* msg);
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user