Lines Matching refs:device
39 #include "device.h"
188 static int network_probe(struct btd_device *device, GSList *uuids, uint16_t id)
190 struct btd_adapter *adapter = device_get_adapter(device);
191 const gchar *path = device_get_path(device);
197 device_get_address(device, &dst);
199 return connection_register(device, path, &src, &dst, id);
202 static void network_remove(struct btd_device *device, uint16_t id)
204 const gchar *path = device_get_path(device);
211 static int panu_probe(struct btd_device *device, GSList *uuids)
213 return network_probe(device, uuids, BNEP_SVC_PANU);
216 static void panu_remove(struct btd_device *device)
218 network_remove(device, BNEP_SVC_PANU);
221 static int gn_probe(struct btd_device *device, GSList *uuids)
223 return network_probe(device, uuids, BNEP_SVC_GN);
226 static void gn_remove(struct btd_device *device)
228 network_remove(device, BNEP_SVC_GN);
231 static int nap_probe(struct btd_device *device, GSList *uuids)
233 return network_probe(device, uuids, BNEP_SVC_NAP);
236 static void nap_remove(struct btd_device *device)
238 network_remove(device, BNEP_SVC_NAP);