Snapdragon® Telematics Application Framework (TelAF) Interface Specification
|
Go to the source code of this file.
Functions | |
le_msg_ServiceRef_t | taf_simSap_GetServiceRef (void) |
le_msg_SessionRef_t | taf_simSap_GetClientSessionRef (void) |
void | taf_simSap_AdvertiseService (void) |
taf_simSap_MessageHandlerRef_t | taf_simSap_AddMessageHandler (taf_simSap_MessageHandlerFunc_t handlerPtr, void *contextPtr) |
void | taf_simSap_RemoveMessageHandler (taf_simSap_MessageHandlerRef_t handlerRef) |
le_result_t | taf_simSap_SendMessage (const uint8_t *messagePtr, size_t messageSize) |
le_msg_ServiceRef_t taf_simSap_GetServiceRef | ( | void | ) |
Get the server service reference
le_msg_SessionRef_t taf_simSap_GetClientSessionRef | ( | void | ) |
Get the client session reference for the current message
void taf_simSap_AdvertiseService | ( | void | ) |
Initialize the server and advertise the service.
taf_simSap_MessageHandlerRef_t taf_simSap_AddMessageHandler | ( | taf_simSap_MessageHandlerFunc_t | handlerPtr, |
void * | contextPtr | ||
) |
Handler to get SAP response messages for specific requested messages from the subscibtion module. Reference type used by Add/Remove functions for EVENT 'taf_simSap_Message' Add handler function for EVENT 'taf_simSap_Message'
Event to notify and send a message.
Add handler function for EVENT 'taf_simSap_Message'
Event to notify and send a message.
[in] | handlerPtr | Message handler. |
[in] | contextPtr |
void taf_simSap_RemoveMessageHandler | ( | taf_simSap_MessageHandlerRef_t | handlerRef | ) |
Remove handler function for EVENT 'taf_simSap_Message'
[in] | handlerRef |
le_result_t taf_simSap_SendMessage | ( | const uint8_t * | messagePtr, |
size_t | messageSize | ||
) |
Sends a message to the service which the sends it to the subscription module.
[in] | messagePtr | The message. |
[in] | messageSize |