TI BLE Stack API Documentation  2.03.09
Classes | Functions
util.h File Reference

Util layer interface. More...

#include <ti/sysbios/knl/Clock.h>
#include <ti/sysbios/knl/Queue.h>
#include <ti/sysbios/knl/Semaphore.h>

Go to the source code of this file.

Classes

struct  appEvtHdr_t
 ICALL_EVENTS. More...
 

Functions

Clock_Handle Util_constructClock (Clock_Struct *pClock, Clock_FuncPtr clockCB, uint32_t clockDuration, uint32_t clockPeriod, uint8_t startFlag, UArg arg)
 Initialize a TIRTOS Clock instance. More...
 
void Util_startClock (Clock_Struct *pClock)
 Start a clock. More...
 
void Util_restartClock (Clock_Struct *pClock, uint32_t clockTimeout)
 Restart a clock by changing the timeout. More...
 
bool Util_isActive (Clock_Struct *pClock)
 Determine if a clock is currently active. More...
 
void Util_stopClock (Clock_Struct *pClock)
 Stop a clock. More...
 
void Util_rescheduleClock (Clock_Struct *pClock, uint32_t clockPeriod)
 Reschedule a clock by changing the timeout and period values. More...
 
Queue_Handle Util_constructQueue (Queue_Struct *pQueue)
 Initialize an RTOS queue to hold messages from profile to be processed. More...
 
uint8_t Util_enqueueMsg (Queue_Handle msgQueue, Semaphore_Handle sem, uint8_t *pMsg)
 Creates a queue node and puts the node in RTOS queue. More...
 
uint8_t * Util_dequeueMsg (Queue_Handle msgQueue)
 Dequeue the message from the RTOS queue. More...
 
char * Util_convertBdAddr2Str (uint8_t *pAddr)
 Convert Bluetooth address to string. Only needed when LCD display is used. More...
 

Detailed Description

Util layer interface.