Bluetooth driver source code. More...
#include "inc/bluetooth.h"
Functions | |
void | bluetooth_init (void) |
Bluetooth Initialize. More... | |
void | bluetooth_char (char *buffer, char c, uint32_t *index) |
Bluetooth character. More... | |
void | bluetooth_string (char *buffer, char *string, uint32_t *index) |
Bluetooth string. More... | |
void | bluetooth_integer (char *buffer, int integer, uint32_t *index) |
Bluetooth integer. More... | |
void | bluetooth_float (char *buffer, float n, uint8_t decimal_places, uint32_t *index) |
Bluetooth float. More... | |
void | bluetooth_sprintf (char *buffer, const char *fs,...) |
Bluetooth sprintf. More... | |
void | bluetooth_send (const COORDINATE *coordinate, const SysTime *sysTime, uint32_t adc) |
Bluetooth send. More... | |
Bluetooth driver source code.
void bluetooth_char | ( | char * | buffer, |
char | c, | ||
uint32_t * | index | ||
) |
Bluetooth character.
Detailed description starts here
buffer | character buffer |
c | character |
index | index |
void bluetooth_float | ( | char * | buffer, |
float | n, | ||
uint8_t | decimal_places, | ||
uint32_t * | index | ||
) |
Bluetooth float.
Detailed description starts here
buffer | character buffer |
n | value |
decimal_place | how many decimal places |
index | index |
void bluetooth_init | ( | void | ) |
Bluetooth Initialize.
Detailed description starts here
void | No argument |
void bluetooth_integer | ( | char * | buffer, |
int | integer, | ||
uint32_t * | index | ||
) |
Bluetooth integer.
Detailed description starts here
buffer | character buffer |
integer | integer to be stored |
index | index |
void bluetooth_send | ( | const COORDINATE * | coordinate, |
const SysTime * | sysTime, | ||
uint32_t | adc | ||
) |
Bluetooth send.
Detailed description starts here
coordinate | system coordinate |
sysTime | system current time |
adc | solar panel reading |
void bluetooth_sprintf | ( | char * | buffer, |
const char * | fs, | ||
... | |||
) |
Bluetooth sprintf.
Detailed description starts here
buffer | character buffer |
fs | string to be parsed |
... | arguments |
void bluetooth_string | ( | char * | buffer, |
char * | string, | ||
uint32_t * | index | ||
) |
Bluetooth string.
Detailed description starts here
buffer | character buffer |
string | character |
index | index |