Gammu internals  1.38.0
bluetooth.h
Go to the documentation of this file.
1 #ifndef bluetooth_h
2 #define bluetooth_h
3 
4 #include "../../misc/misc.h"
5 
6 typedef struct {
8  void *Data;
10 
11 /* These are actually implemented in backend services */
12 GSM_Error bluetooth_connect(GSM_StateMachine *s, int port, char *device);
14 int bluetooth_read(GSM_StateMachine *s, void *buf, size_t nbytes);
15 int bluetooth_write(GSM_StateMachine *s, const void *buf, size_t nbytes);
17 
18 #endif
19 
20 /* How should editor hadle tabs in this file? Add editor commands here.
21  * vim: noexpandtab sw=8 ts=8 sts=8:
22  */
int socket_type
Definition: misc.h:114
int bluetooth_write(GSM_StateMachine *s, const void *buf, size_t nbytes)
GSM_Error
Definition: gammu-error.h:23
GSM_Error bluetooth_connect(GSM_StateMachine *s, int port, char *device)
socket_type hPhone
Definition: bluetooth.h:7
GSM_Error bluetooth_close(GSM_StateMachine *s)
GSM_Error bluetooth_findchannel(GSM_StateMachine *s)
int bluetooth_read(GSM_StateMachine *s, void *buf, size_t nbytes)