goep_client.c (7c7befac014caa249bfaed7ff1e1d86e08db031a) goep_client.c (3ffc2a09a40e02738b170f6d8d7029d83f7d6a7f)
1/*
2 * Copyright (C) 2014 BlueKitchen GmbH
3 *
4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions
6 * are met:
7 *
8 * 1. Redistributions of source code must retain the above copyright

--- 392 unchanged lines hidden (view full) ---

401}
402
403uint32_t goep_client_get_pbap_supported_features(uint16_t goep_cid){
404 UNUSED(goep_cid);
405 goep_client_t * context = goep_client;
406 return context->pbap_supported_features;
407}
408
1/*
2 * Copyright (C) 2014 BlueKitchen GmbH
3 *
4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions
6 * are met:
7 *
8 * 1. Redistributions of source code must retain the above copyright

--- 392 unchanged lines hidden (view full) ---

401}
402
403uint32_t goep_client_get_pbap_supported_features(uint16_t goep_cid){
404 UNUSED(goep_cid);
405 goep_client_t * context = goep_client;
406 return context->pbap_supported_features;
407}
408
409bool goep_client_version_20_or_higher(uint16_t goep_cid){
410 UNUSED(goep_cid);
411 goep_client_t * context = goep_client;
412 return context->l2cap_psm != 0;
413}
414
409uint8_t goep_client_disconnect(uint16_t goep_cid){
410 UNUSED(goep_cid);
411 goep_client_t * context = goep_client;
412 rfcomm_disconnect(context->bearer_cid);
413 return ERROR_CODE_SUCCESS;
414}
415
416void goep_client_set_connection_id(uint16_t goep_cid, uint32_t connection_id){

--- 195 unchanged lines hidden ---
415uint8_t goep_client_disconnect(uint16_t goep_cid){
416 UNUSED(goep_cid);
417 goep_client_t * context = goep_client;
418 rfcomm_disconnect(context->bearer_cid);
419 return ERROR_CODE_SUCCESS;
420}
421
422void goep_client_set_connection_id(uint16_t goep_cid, uint32_t connection_id){

--- 195 unchanged lines hidden ---