-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathjdy_slave_low_level.c
More file actions
37 lines (26 loc) · 850 Bytes
/
jdy_slave_low_level.c
File metadata and controls
37 lines (26 loc) · 850 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
/*task handler for jdy_31 bluetooth slave module*/
/*version 1.0*/
/*Reza Ebrahimi https://github.com/ebrezadev */
#include "jdy_slave.h"
#include <AltSoftSerial.h>
AltSoftSerial altSerial; /*RX, TX connected to BT module*/
/*defining serial port for bluetooth module and setting the baudrate*/
void bluetooth_uart_set (uint32_t baud_rate)
{
}
/*returning the number of available bytes in serial buffer*/
uint8_t bluetooth_buffer_status ()
{
}
/*reading the serial buffer into input_string[] with predefined length*/
void bluetooth_buffer_read (uint8_t *input_string, uint8_t string_length)
{
}
/*function to send one byte through bluetooth serial port*/
void bluetooth_send_byte (uint8_t input_byte)
{
}
/*delay function inn milliseconds*/
void delay_function (uint32_t delay_ms)
{
}