Break out Bluetooth functions in own module
This commit is contained in:
parent
36bbcbe182
commit
d1e0ca32db
5 changed files with 152 additions and 232 deletions
8
bt_helper.h
Normal file
8
bt_helper.h
Normal file
|
@ -0,0 +1,8 @@
|
|||
#ifndef _BT_HELPER_H
|
||||
#define _BT_HELPER_H
|
||||
|
||||
int str2ba(const char *str, bdaddr_t *ba);
|
||||
int open_socket(bdaddr_t *bdaddr, uint8_t channel);
|
||||
|
||||
#endif
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue