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
38
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
62
63
67
68
69
74
75
76
82
83
84
85
86
87
88
89
90
91
/* ... */
/* ... */
#ifndef NORDIC_SPP_H
#define NORDIC_SPP_H
#include <stdint.h>
#include "bluetooth.h"
#include "btstack_defines.h"
#if defined __cplusplus
extern "C" {
#endif
/* ... */
/* ... */
void nordic_spp_service_server_init(btstack_packet_handler_t packet_handler);
/* ... */
void nordic_spp_service_server_request_can_send_now(btstack_context_callback_registration_t * request, hci_con_handle_t con_handle);
/* ... */
int nordic_spp_service_server_send(hci_con_handle_t con_handle, const uint8_t * data, uint16_t size);
#if defined __cplusplus
}extern "C" { ... }
#endif
/* ... */
#endif