hfp.h (d68dcce1839e6655bf2d775b6c924378a795f97b) | hfp.h (a0653c3b5c210bfe291627d8de2733f878ea442b) |
---|---|
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 --- 616 unchanged lines hidden (view full) --- 625 626void hfp_set_packet_handler_for_rfcomm_connections(btstack_packet_handler_t handler); 627 628void hfp_create_sdp_record(uint8_t * service, uint32_t service_record_handle, uint16_t service_uuid, int rfcomm_channel_nr, const char * name); 629void hfp_handle_hci_event(uint8_t packet_type, uint16_t channel, uint8_t *packet, uint16_t size); 630void hfp_emit_event(hfp_callback_t callback, uint8_t event_subtype, uint8_t value); 631void hfp_emit_simple_event(hfp_callback_t callback, uint8_t event_subtype); 632void hfp_emit_string_event(hfp_callback_t callback, uint8_t event_subtype, const char * value); | 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 --- 616 unchanged lines hidden (view full) --- 625 626void hfp_set_packet_handler_for_rfcomm_connections(btstack_packet_handler_t handler); 627 628void hfp_create_sdp_record(uint8_t * service, uint32_t service_record_handle, uint16_t service_uuid, int rfcomm_channel_nr, const char * name); 629void hfp_handle_hci_event(uint8_t packet_type, uint16_t channel, uint8_t *packet, uint16_t size); 630void hfp_emit_event(hfp_callback_t callback, uint8_t event_subtype, uint8_t value); 631void hfp_emit_simple_event(hfp_callback_t callback, uint8_t event_subtype); 632void hfp_emit_string_event(hfp_callback_t callback, uint8_t event_subtype, const char * value); |
633void hfp_emit_connection_event(hfp_callback_t callback, uint8_t event_subtype, uint8_t status, hci_con_handle_t con_handle); |
|
633 634hfp_connection_t * get_hfp_connection_context_for_rfcomm_cid(uint16_t cid); 635hfp_connection_t * get_hfp_connection_context_for_bd_addr(bd_addr_t bd_addr); 636hfp_connection_t * get_hfp_connection_context_for_sco_handle(uint16_t handle); 637 638btstack_linked_list_t * hfp_get_connections(void); 639void hfp_parse(hfp_connection_t * connection, uint8_t byte, int isHandsFree); 640 --- 16 unchanged lines hidden --- | 634 635hfp_connection_t * get_hfp_connection_context_for_rfcomm_cid(uint16_t cid); 636hfp_connection_t * get_hfp_connection_context_for_bd_addr(bd_addr_t bd_addr); 637hfp_connection_t * get_hfp_connection_context_for_sco_handle(uint16_t handle); 638 639btstack_linked_list_t * hfp_get_connections(void); 640void hfp_parse(hfp_connection_t * connection, uint8_t byte, int isHandsFree); 641 --- 16 unchanged lines hidden --- |