#include "sysconfig.h"
#include "usart.h"
#include "timer.h"
#include <stdlib.h>
#include <stdarg.h>
#include <avr/pgmspace.h>
Functions | |
| void | bt_device_reset (void) |
| reset_bt_device(): This function is called to reset the bluetooth device | |
| void | bt_device_config (void) |
| usart_config(): This function is called to configure the bluetooth device | |
Variables | |
| const char configure[] | PROGMEM |
It handles all bluetooth configurations and resets.
| void bt_device_config | ( | void | ) |
usart_config(): This function is called to configure the bluetooth device
This function is called on bluetooth module configuration
It's a function to set up the bluetooth device with specific functionality
| no | param |
References bt_device_uc_config(), and my_delay().
Referenced by main().
| void bt_device_reset | ( | void | ) |
reset_bt_device(): This function is called to reset the bluetooth device
This function is called on bluetooth module reset
It's function is to disable TX and set the pin low for a period of time and after that TX is reenabled
| state | to enable or disable the transmitter pin of AVR |
References my_delay(), and reset_uc_bt_device().
Initial value:
"SET BT NAME FH-alpha\r" "SET BT CLASS 001f00\r" "SET BT AUTH * 32456\r" "SET BT PAGEMODE 3 2000 1\r" "SET BT ROLE 0 f 7d00\r" "SET CONTROL BAUD 115200,8n1\r" "SET CONTROL CD 00 0\r" "SET CONTROL ECHO 1\r" "SET CONTROL ESCAPE 43 00 1\r" "SET\r"
1.5.8