forked from gatsby/df_datalink
*api update: update get/update payload api
This commit is contained in:
@@ -7,6 +7,8 @@
|
||||
#define PAYLOAD_FLJ 78
|
||||
#define PAYLOAD_LJ 168
|
||||
|
||||
#define DATA_ID_NONE UINT32_MAX
|
||||
|
||||
typedef struct
|
||||
{
|
||||
// FIXME: To Complete
|
||||
@@ -54,7 +56,9 @@ typedef struct
|
||||
|
||||
typedef struct
|
||||
{
|
||||
uint32_t dataId_lj;
|
||||
uint8_t data_lj[PAYLOAD_LJ];
|
||||
uint32_t dataId_flj;
|
||||
uint8_t data_flj[PAYLOAD_FLJ];
|
||||
} PAYLOAD;
|
||||
|
||||
@@ -131,10 +135,10 @@ void SysMonitor_UpdateSendPayloadFLJRaw(uint8_t *buff);
|
||||
void SysMonitor_UpdateRecvPayloadFLJRaw(uint8_t *buff);
|
||||
void SysMonitor_UpdateSendPayloadLJRaw(uint8_t *buff);
|
||||
void SysMonitor_UpdateRecvPayloadLJRaw(uint8_t *buff);
|
||||
void SysMonitor_GetSendPayloadFLJRaw(uint8_t *buff);
|
||||
void SysMonitor_GetRecvPayloadFLJRaw(uint8_t *buff);
|
||||
void SysMonitor_GetSendPayloadLJRaw(uint8_t *buff);
|
||||
void SysMonitor_GetRecvPayloadLJRaw(uint8_t *buff);
|
||||
void SysMonitor_GetSendPayloadFLJRaw(uint8_t *buff, uint32_t *id);
|
||||
void SysMonitor_GetRecvPayloadFLJRaw(uint8_t *buff, uint32_t *id);
|
||||
void SysMonitor_GetSendPayloadLJRaw(uint8_t *buff, uint32_t *id);
|
||||
void SysMonitor_GetRecvPayloadLJRaw(uint8_t *buff, uint32_t *id);
|
||||
|
||||
void SysMonitor_UpdateSendSlotLog(SLOTLOG *log);
|
||||
void SysMonitor_UpdateRecvSlotLog(SLOTLOG *log);
|
||||
|
||||
Reference in New Issue
Block a user