IPIA Senior Project V2.0
Spring-Fall 2020
Loading...
Searching...
No Matches
bluetooth.c File Reference

Bluetooth driver source code. More...

#include "inc/bluetooth.h"
Include dependency graph for bluetooth.c:

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...
 

Detailed Description

Bluetooth driver source code.

Author
Jesus Minjares
See also
https://github.com/jminjares4
Author
Erick A. Baca
See also
https://github.com/eabaca2419
Version
0.1
Date
2022-05-20

Function Documentation

◆ bluetooth_char()

void bluetooth_char ( char *  buffer,
char  c,
uint32_t *  index 
)

Bluetooth character.

Detailed description starts here

Parameters
buffercharacter buffer
ccharacter
indexindex
See also
https://github.com/grbl/grbl/blob/master/grbl/print.c
Returns
None

◆ bluetooth_float()

void bluetooth_float ( char *  buffer,
float  n,
uint8_t  decimal_places,
uint32_t *  index 
)

Bluetooth float.

Detailed description starts here

Parameters
buffercharacter buffer
nvalue
decimal_placehow many decimal places
indexindex
See also
https://github.com/grbl/grbl/blob/master/grbl/print.c
Returns
None

◆ bluetooth_init()

void bluetooth_init ( void  )

Bluetooth Initialize.

Detailed description starts here

Parameters
voidNo argument
Returns
None

◆ bluetooth_integer()

void bluetooth_integer ( char *  buffer,
int  integer,
uint32_t *  index 
)

Bluetooth integer.

Detailed description starts here

Parameters
buffercharacter buffer
integerinteger to be stored
indexindex
See also
https://github.com/grbl/grbl/blob/master/grbl/print.c
Returns
None

◆ bluetooth_send()

void bluetooth_send ( const COORDINATE coordinate,
const SysTime sysTime,
uint32_t  adc 
)

Bluetooth send.

Detailed description starts here

Parameters
coordinatesystem coordinate
sysTimesystem current time
adcsolar panel reading
See also
https://github.com/grbl/grbl/blob/master/grbl/print.c
Returns
None

◆ bluetooth_sprintf()

void bluetooth_sprintf ( char *  buffer,
const char *  fs,
  ... 
)

Bluetooth sprintf.

Detailed description starts here

Parameters
buffercharacter buffer
fsstring to be parsed
...arguments
See also
https://github.com/grbl/grbl/blob/master/grbl/print.c
Returns
None

◆ bluetooth_string()

void bluetooth_string ( char *  buffer,
char *  string,
uint32_t *  index 
)

Bluetooth string.

Detailed description starts here

Parameters
buffercharacter buffer
stringcharacter
indexindex
See also
https://github.com/grbl/grbl/blob/master/grbl/print.c
Returns
None