btstack_defines.h (cab761d05e47641940bc6f8f104bd9bc50e8adc5) | btstack_defines.h (553a4a561f786fff6050306fb8f8ca8e28d447d4) |
---|---|
1/* 2 * Copyright (C) 2015 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 --- 1770 unchanged lines hidden (view full) --- 1779 */ 1780#define HFP_SUBEVENT_IN_BAND_RING_TONE 0x1D 1781 1782/** 1783 * @format 1H11 1784 * @param subevent_code 1785 * @param acl_handle 1786 * @param status // 0-success | 1/* 2 * Copyright (C) 2015 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 --- 1770 unchanged lines hidden (view full) --- 1779 */ 1780#define HFP_SUBEVENT_IN_BAND_RING_TONE 0x1D 1781 1782/** 1783 * @format 1H11 1784 * @param subevent_code 1785 * @param acl_handle 1786 * @param status // 0-success |
1787 * @param state // 0-deactivated, 1-activated, 2-activated using enhanced | 1787 * @param enhanced // 0-legacy, 1-enhanced |
1788 */ | 1788 */ |
1789#define HFP_SUBEVENT_VOICE_RECOGNITION_STATUS 0x1E | 1789#define HFP_SUBEVENT_VOICE_RECOGNITION_ENABLED 0x1E |
1790 1791/** 1792 * @format 1H1 1793 * @param subevent_code 1794 * @param acl_handle | 1790 1791/** 1792 * @format 1H1 1793 * @param subevent_code 1794 * @param acl_handle |
1795 * @param status // 0-success 1796 */ 1797#define HFP_SUBEVENT_VOICE_RECOGNITION_DISABLED 0x1F 1798 1799/** 1800 * @format 1H1 1801 * @param subevent_code 1802 * @param acl_handle |
|
1795 * @param status 1796 */ | 1803 * @param status 1804 */ |
1797#define HFP_SUBEVENT_ENHANCED_VOICE_RECOGNITION_HF_READY_FOR_AUDIO 0x1F | 1805#define HFP_SUBEVENT_ENHANCED_VOICE_RECOGNITION_HF_READY_FOR_AUDIO 0x20 |
1798 1799 1800/** 1801 * @format 1H1 1802 * @param subevent_code 1803 * @param acl_handle 1804 * @param status 1805 */ | 1806 1807 1808/** 1809 * @format 1H1 1810 * @param subevent_code 1811 * @param acl_handle 1812 * @param status 1813 */ |
1806#define HFP_SUBEVENT_ENHANCED_VOICE_RECOGNITION_AG_READY_TO_ACCEPT_AUDIO_INPUT 0x20 | 1814#define HFP_SUBEVENT_ENHANCED_VOICE_RECOGNITION_AG_READY_TO_ACCEPT_AUDIO_INPUT 0x21 |
1807 1808/** 1809 * @format 1H1 1810 * @param subevent_code 1811 * @param acl_handle 1812 * @param status 1813 */ | 1815 1816/** 1817 * @format 1H1 1818 * @param subevent_code 1819 * @param acl_handle 1820 * @param status 1821 */ |
1814#define HFP_SUBEVENT_ENHANCED_VOICE_RECOGNITION_AG_IS_STARTING_SOUND 0x21 | 1822#define HFP_SUBEVENT_ENHANCED_VOICE_RECOGNITION_AG_IS_STARTING_SOUND 0x22 |
1815 1816/** 1817 * @format 1H1 1818 * @param subevent_code 1819 * @param acl_handle 1820 * @param status 1821 */ | 1823 1824/** 1825 * @format 1H1 1826 * @param subevent_code 1827 * @param acl_handle 1828 * @param status 1829 */ |
1822#define HFP_SUBEVENT_ENHANCED_VOICE_RECOGNITION_AG_IS_PROCESSING_AUDIO_INPUT 0x22 | 1830#define HFP_SUBEVENT_ENHANCED_VOICE_RECOGNITION_AG_IS_PROCESSING_AUDIO_INPUT 0x23 |
1823 1824/** 1825 * @format 1H1 1826 * @param subevent_code 1827 * @param acl_handle 1828 * @param status 1829 */ | 1831 1832/** 1833 * @format 1H1 1834 * @param subevent_code 1835 * @param acl_handle 1836 * @param status 1837 */ |
1830#define HFP_SUBEVENT_ENHANCED_VOICE_RECOGNITION_AG_MESSAGE_SENT 0x23 | 1838#define HFP_SUBEVENT_ENHANCED_VOICE_RECOGNITION_AG_MESSAGE_SENT 0x24 |
1831 1832 1833/** 1834 * @format 1H211LV 1835 * @param subevent_code 1836 * @param acl_handle 1837 * @param text_id 1838 * @param text_operation 1839 * @param text_type 1840 * @param text_length 1841 * @param text 1842 */ | 1839 1840 1841/** 1842 * @format 1H211LV 1843 * @param subevent_code 1844 * @param acl_handle 1845 * @param text_id 1846 * @param text_operation 1847 * @param text_type 1848 * @param text_length 1849 * @param text 1850 */ |
1843#define HFP_SUBEVENT_ENHANCED_VOICE_RECOGNITION_AG_MESSAGE 0x24 | 1851#define HFP_SUBEVENT_ENHANCED_VOICE_RECOGNITION_AG_MESSAGE 0x25 |
1844 1845/** 1846 * @format 1H1 1847 * @param subevent_code 1848 * @param acl_handle 1849 * @param status 1850 */ | 1852 1853/** 1854 * @format 1H1 1855 * @param subevent_code 1856 * @param acl_handle 1857 * @param status 1858 */ |
1851#define HFP_SUBEVENT_ECHO_CANCELING_AND_NOISE_REDUCTION_DEACTIVATE 0x25 | 1859#define HFP_SUBEVENT_ECHO_CANCELING_AND_NOISE_REDUCTION_DEACTIVATE 0x26 |
1852 1853/** 1854 * @format 1H21 1855 * @param subevent_code 1856 * @param acl_handle 1857 * @param uuid 1858 * @param value 1859 */ | 1860 1861/** 1862 * @format 1H21 1863 * @param subevent_code 1864 * @param acl_handle 1865 * @param uuid 1866 * @param value 1867 */ |
1860#define HFP_SUBEVENT_HF_INDICATOR 0x26 | 1868#define HFP_SUBEVENT_HF_INDICATOR 0x27 |
1861 1862 1863// ANCS Client 1864 1865/** 1866 * @format 1H 1867 * @param subevent_code 1868 * @param handle --- 2118 unchanged lines hidden --- | 1869 1870 1871// ANCS Client 1872 1873/** 1874 * @format 1H 1875 * @param subevent_code 1876 * @param handle --- 2118 unchanged lines hidden --- |