btstack_defines.h (e644fcbc212be740e64693005af52e32f8291752) | btstack_defines.h (dfc5d4aed94bed8234f94d1fd37178a70255f1ba) |
---|---|
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 --- 834 unchanged lines hidden (view full) --- 843#define L2CAP_EVENT_CONNECTION_PARAMETER_UPDATE_RESPONSE 0x77 844 845/** 846 * @format 2 847 * @param local_cid 848 */ 849#define L2CAP_EVENT_CAN_SEND_NOW 0x78 850 | 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 --- 834 unchanged lines hidden (view full) --- 843#define L2CAP_EVENT_CONNECTION_PARAMETER_UPDATE_RESPONSE 0x77 844 845/** 846 * @format 2 847 * @param local_cid 848 */ 849#define L2CAP_EVENT_CAN_SEND_NOW 0x78 850 |
851// LE Data Channels | 851// L2CAP Channel in LE Credit-based Flow-Control Mode (CBM) |
852 853/** 854 * @format 1BH2222 855 * @param address_type 856 * @param address 857 * @param handle 858 * @param psm 859 * @param local_cid 860 * @param remote_cid 861 * @param remote_mtu 862 */ | 852 853/** 854 * @format 1BH2222 855 * @param address_type 856 * @param address 857 * @param handle 858 * @param psm 859 * @param local_cid 860 * @param remote_cid 861 * @param remote_mtu 862 */ |
863#define L2CAP_EVENT_LE_INCOMING_CONNECTION 0x79 | 863#define L2CAP_EVENT_CBM_INCOMING_CONNECTION 0x79 |
864 865/** 866 * @format 11BH122222 867 * @param status 868 * @param address_type 869 * @param address 870 * @param handle 871 * @param incoming 872 * @param psm 873 * @param local_cid 874 * @param remote_cid 875 * @param local_mtu 876 * @param remote_mtu 877 */ | 864 865/** 866 * @format 11BH122222 867 * @param status 868 * @param address_type 869 * @param address 870 * @param handle 871 * @param incoming 872 * @param psm 873 * @param local_cid 874 * @param remote_cid 875 * @param local_mtu 876 * @param remote_mtu 877 */ |
878#define L2CAP_EVENT_LE_CHANNEL_OPENED 0x7a | 878#define L2CAP_EVENT_CBM_CHANNEL_OPENED 0x7a |
879 880/* 881 * @format 2 882 * @param local_cid 883 */ | 879 880/* 881 * @format 2 882 * @param local_cid 883 */ |
884#define L2CAP_EVENT_LE_CHANNEL_CLOSED 0x7b | 884#define L2CAP_EVENT_CBM_CHANNEL_CLOSED 0x7b |
885 886/* 887 * @format 2 888 * @param local_cid 889 */ | 885 886/* 887 * @format 2 888 * @param local_cid 889 */ |
890#define L2CAP_EVENT_LE_CAN_SEND_NOW 0x7c | 890#define L2CAP_EVENT_CBM_CAN_SEND_NOW 0x7c |
891 892/* 893 * @format 2 894 * @param local_cid 895 */ | 891 892/* 893 * @format 2 894 * @param local_cid 895 */ |
896#define L2CAP_EVENT_LE_PACKET_SENT 0x7d | 896#define L2CAP_EVENT_CBM_PACKET_SENT 0x7d |
897 898/* 899 * @format 2 900 * @param local_cid 901 */ 902#define L2CAP_EVENT_ERTM_BUFFER_RELEASED 0x7e 903 904/* --- 5 unchanged lines hidden (view full) --- 910 * @format 1BH212 911 * @param address_type 912 * @param address 913 * @param handle 914 * @param psm 915 * @param num_channels 916 * @param local_cid first new cid 917 */ | 897 898/* 899 * @format 2 900 * @param local_cid 901 */ 902#define L2CAP_EVENT_ERTM_BUFFER_RELEASED 0x7e 903 904/* --- 5 unchanged lines hidden (view full) --- 910 * @format 1BH212 911 * @param address_type 912 * @param address 913 * @param handle 914 * @param psm 915 * @param num_channels 916 * @param local_cid first new cid 917 */ |
918#define L2CAP_EVENT_DATA_CHANNEL_INCOMING 0x8A | 918#define L2CAP_EVENT_ECBM_INCOMING_CONNECTION 0x8A |
919 920/** 921 * @format 11BH122222 922 * @param status 923 * @param address_type 924 * @param address 925 * @param handle 926 * @param incoming 927 * @param psm 928 * @param local_cid 929 * @param remote_cid 930 * @param local_mtu 931 * @param remote_mtu 932 */ | 919 920/** 921 * @format 11BH122222 922 * @param status 923 * @param address_type 924 * @param address 925 * @param handle 926 * @param incoming 927 * @param psm 928 * @param local_cid 929 * @param remote_cid 930 * @param local_mtu 931 * @param remote_mtu 932 */ |
933#define L2CAP_EVENT_DATA_CHANNEL_OPENED 0x8b | 933#define L2CAP_EVENT_ECBM_CHANNEL_OPENED 0x8b |
934 935/* 936 * @format 2 937 * @param local_cid 938 */ | 934 935/* 936 * @format 2 937 * @param local_cid 938 */ |
939#define L2CAP_EVENT_DATA_CHANNEL_CLOSED 0x8c | 939#define L2CAP_EVENT_ECBM_CHANNEL_CLOSED 0x8c |
940 941/* 942 * @format 2 943 * @param local_cid 944 */ | 940 941/* 942 * @format 2 943 * @param local_cid 944 */ |
945#define L2CAP_EVENT_DATA_CHANNEL_CAN_SEND_NOW 0x8d | 945#define L2CAP_EVENT_ECBM_CAN_SEND_NOW 0x8d |
946 947/* 948 * @format 2 949 * @param local_cid 950 */ | 946 947/* 948 * @format 2 949 * @param local_cid 950 */ |
951#define L2CAP_EVENT_DATA_CHANNEL_PACKET_SENT 0x8e | 951#define L2CAP_EVENT_ECBM_PACKET_SENT 0x8e |
952 953/* 954 * @format 222 955 * @param remote_cid 956 * @param mtu 957 * @param mps 958 */ | 952 953/* 954 * @format 222 955 * @param remote_cid 956 * @param mtu 957 * @param mps 958 */ |
959#define L2CAP_EVENT_DATA_CHANNEL_RECONFIGURED 0x8f | 959#define L2CAP_EVENT_ECBM_RECONFIGURED 0x8f |
960 961/* 962 * @format 22 963 * @param local_cid 964 * @param reconfigure_result 965 */ | 960 961/* 962 * @format 22 963 * @param local_cid 964 * @param reconfigure_result 965 */ |
966#define L2CAP_EVENT_DATA_CHANNEL_RECONFIGURATION_COMPLETE 0x96 | 966#define L2CAP_EVENT_ECBM_RECONFIGURATION_COMPLETE 0x96 |
967 968/* 969 * @format H22 970 * @param con_handle 971 * @param extended_feature_mask 972 * @param fixed_channels_supported 973 */ 974#define L2CAP_EVENT_INFORMATION_RESPONSE 0x97 --- 3120 unchanged lines hidden --- | 967 968/* 969 * @format H22 970 * @param con_handle 971 * @param extended_feature_mask 972 * @param fixed_channels_supported 973 */ 974#define L2CAP_EVENT_INFORMATION_RESPONSE 0x97 --- 3120 unchanged lines hidden --- |