btstack_event.h (009765c5047b8c5fba7218e30062461acf0820c5) | btstack_event.h (a0653c3b5c210bfe291627d8de2733f878ea442b) |
---|---|
1/* 2 * Copyright (C) 2016 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 --- 2626 unchanged lines hidden (view full) --- 2635 * @brief Get field status from event HFP_SUBEVENT_SERVICE_LEVEL_CONNECTION_ESTABLISHED 2636 * @param event packet 2637 * @return status 2638 * @note: btstack_type 1 2639 */ 2640static inline uint8_t hfp_subevent_service_level_connection_established_get_status(const uint8_t * event){ 2641 return event[3]; 2642} | 1/* 2 * Copyright (C) 2016 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 --- 2626 unchanged lines hidden (view full) --- 2635 * @brief Get field status from event HFP_SUBEVENT_SERVICE_LEVEL_CONNECTION_ESTABLISHED 2636 * @param event packet 2637 * @return status 2638 * @note: btstack_type 1 2639 */ 2640static inline uint8_t hfp_subevent_service_level_connection_established_get_status(const uint8_t * event){ 2641 return event[3]; 2642} |
2643/** 2644 * @brief Get field con_handle from event HFP_SUBEVENT_SERVICE_LEVEL_CONNECTION_ESTABLISHED 2645 * @param event packet 2646 * @return con_handle 2647 * @note: btstack_type H 2648 */ 2649static inline hci_con_handle_t hfp_subevent_service_level_connection_established_get_con_handle(const uint8_t * event){ 2650 return little_endian_read_16(event, 4); 2651} |
|
2643 2644 2645/** 2646 * @brief Get field status from event HFP_SUBEVENT_AUDIO_CONNECTION_ESTABLISHED 2647 * @param event packet 2648 * @return status 2649 * @note: btstack_type 1 2650 */ --- 360 unchanged lines hidden --- | 2652 2653 2654/** 2655 * @brief Get field status from event HFP_SUBEVENT_AUDIO_CONNECTION_ESTABLISHED 2656 * @param event packet 2657 * @return status 2658 * @note: btstack_type 1 2659 */ --- 360 unchanged lines hidden --- |