![]() |
![]() |
Functions | |
bmetStatus_e | bmet_destroy (transport_HANDLE handle) |
int32_t | bmet_send (transport_HANDLE handle, uint8_t *logBuf, int32_t identity) |
int32_t | bmet_get_status (transport_HANDLE handle) |
transport_HANDLE | bmet_create (bmetChConfig_t bmetConfig) |
transport_HANDLE bmet_create | ( | bmetChConfig_t | bmetConfig | ) |
============================================================================
bmet_create
brief
create the bmet instance
[in] | bmetConfig | Pointer to the bmet configuration structure |
=============================================================================
bmetStatus_e bmet_destroy | ( | transport_HANDLE | handle | ) |
============================================================================
bmet_destroy
brief
Frees up bmet instance created (Returns back all the descriptors back to system
[in] | handle | Pointer to the bmet transport handle to be destroyed |
=============================================================================
int32_t bmet_get_status | ( | transport_HANDLE | handle | ) |
============================================================================
bmet_status
brief
get the status on the packets send earlier
[in] | handle | Pointer to the transport handle |
=============================================================================
int32_t bmet_send | ( | transport_HANDLE | handle, |
uint8_t * | logBuf, | ||
int32_t | identity | ||
) |
============================================================================
bmet_send
brief
sends a buffer over netcp with precompiled packet header
[in] | handle | Pointer to the transport handle |
[in] | logBuf | Pointer to the logger buffer to be send over NetCP |
[in] | identity | ID of the send to be put in the descriptor; used to get the send status Should not be set to -1 since -1 is used as error return value |
=============================================================================