Bluetooth® Sample Application Programmer's Reference
|
State
Presentation
Contains the functions that are used for states processing
Functions | |
void | stateNext (void) |
void | statePrev (void) |
void | stateSet (int nextState) |
int | stateGet (void) |
Enumerations | |
enum | { STATE_OK, STATE_NEXT, STATE_BACK, STATE_SET, STATE_ABORT, STATE_FAILED = -1 } |
Function Documentation
void stateNext | ( | void | ) |
Get the next state. Utilities.h State.c
void statePrev | ( | void | ) |
Get the previous state. Utilities.h State.c
void stateSet | ( | int | nextState | ) |
Set the next state.
- Parameters
-
nextState (I) State to be set Utilities.h State.c
int stateGet | ( | void | ) |
Get the current state.
- Returns
- current state Utilities.h State.c
Enumeration Type Documentation
