@@ -112,23 +112,25 @@ class Master
112
112
bool beginSetupSyncRead (uint16_t addr, uint16_t addr_len, InfoSyncBulkInst_t *p_sync_info = nullptr );
113
113
bool addSyncReadID (uint8_t id, InfoSyncBulkInst_t *p_sync_info = nullptr );
114
114
bool endSetupSyncRead (InfoSyncBulkInst_t *p_sync_info = nullptr );
115
- uint8_t sendSyncRead (uint8_t *p_recv_buf, uint16_t recv_buf_capacity, InfoSyncBulkInst_t *p_sync_info = nullptr );
115
+ uint8_t doSyncRead (uint8_t *p_recv_buf, uint16_t recv_buf_capacity, uint8_t *p_err_list, uint8_t err_list_size , InfoSyncBulkInst_t *p_sync_info = nullptr );
116
116
117
117
/* Easy functions for Sync Write */
118
118
bool beginSetupSyncWrite (uint16_t addr, uint16_t addr_len, InfoSyncBulkInst_t *p_sync_info = nullptr );
119
119
bool addSyncWriteData (uint8_t id, uint8_t *p_data, InfoSyncBulkInst_t *p_sync_info = nullptr );
120
120
bool endSetupSyncWrite (InfoSyncBulkInst_t *p_sync_info = nullptr );
121
- bool sendSyncWrite (InfoSyncBulkInst_t *p_sync_info = nullptr );
121
+ bool doSyncWrite (InfoSyncBulkInst_t *p_sync_info = nullptr );
122
122
123
123
/* Easy functions for Bulk Read */
124
- bool beginBulkRead ();
125
- bool addBulkReadID (uint8_t id, uint16_t addr, uint16_t addr_len);
126
- bool sendBulkRead (uint8_t *p_recv_buf, uint16_t recv_buf_capacity);
124
+ bool beginSetupBulkRead (InfoSyncBulkInst_t *p_bulk_info = nullptr );
125
+ bool addBulkReadID (uint8_t id, uint16_t addr, uint16_t addr_len, InfoSyncBulkInst_t *p_bulk_info = nullptr );
126
+ bool endSetupBulkRead (InfoSyncBulkInst_t *p_bulk_info = nullptr );
127
+ bool doBulkRead (uint8_t *p_recv_buf, uint16_t recv_buf_capacity, uint8_t *p_err_list, uint8_t err_list_size, InfoSyncBulkInst_t *p_bulk_info = nullptr );
127
128
128
129
/* Easy functions for Bulk Write */
129
- bool beginBulkWrite ();
130
- bool addBulkWriteData (uint8_t id, uint16_t addr, uint8_t *p_data, uint16_t data_len);
131
- bool sendBulkWrite ();
130
+ bool beginSetupBulkWrite (InfoSyncBulkInst_t *p_bulk_info = nullptr );
131
+ bool addBulkWriteData (uint8_t id, uint16_t addr, uint8_t *p_data, uint16_t data_len, InfoSyncBulkInst_t *p_bulk_info = nullptr );
132
+ bool endSetupBulkWrite (InfoSyncBulkInst_t *p_bulk_info = nullptr );
133
+ bool doBulkWrite (InfoSyncBulkInst_t *p_bulk_info = nullptr );
132
134
#endif
133
135
134
136
uint8_t getLastStatusPacketError () const ;
0 commit comments