Break out Bluetooth functions in own module

This commit is contained in:
Nils Faerber 2011-08-13 13:41:24 +02:00
parent 36bbcbe182
commit d1e0ca32db
5 changed files with 152 additions and 232 deletions

8
bt_helper.h Normal file
View 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