Lines Matching defs:Interface
59 struct Interface { struct
61 void (*StartInquiry)(const LAP inq_lap, uint8_t duration,
63 void (*InquiryCancel)();
64 void (*StartPeriodicInquiryMode)(uint16_t max_period, uint16_t min_period,
67 void (*ExitPeriodicInquiryMode)();
68 void (*CreateConnection)(const RawAddress& dest, uint16_t packet_types,
71 void (*Disconnect)(uint16_t handle, uint8_t reason);
73 void (*CreateConnectionCancel)(const RawAddress& dest);
74 void (*AcceptConnectionRequest)(const RawAddress& dest, uint8_t role);
75 void (*RejectConnectionRequest)(const RawAddress& dest, uint8_t reason);
76 void (*LinkKeyRequestReply)(const RawAddress& bd_addr,
78 void (*LinkKeyRequestNegativeReply)(const RawAddress& bd_addr);
79 void (*PinCodeRequestReply)(const RawAddress& bd_addr, uint8_t pin_code_len,
81 void (*PinCodeRequestNegativeReply)(const RawAddress& bd_addr);
82 void (*ChangeConnectionPacketType)(uint16_t handle, uint16_t packet_types);
83 void (*AuthenticationRequested)(uint16_t handle);
84 void (*SetConnectionEncryption)(uint16_t handle, bool enable);
85 void (*ChangeConnectionLinkKey)(); // 0x0415,
87 void (*CentralLinkKey)(); // 0x0417,
88 void (*RemoteNameRequest)(const RawAddress& bd_addr,
91 void (*RemoteNameRequestCancel)(const RawAddress& bd_addr);
92 void (*ReadRemoteSupportedFeatures)(uint16_t handle);
93 void (*ReadRemoteExtendedFeatures)(uint16_t handle, uint8_t page_num);
94 void (*ReadRemoteVersionInformation)(uint16_t handle);
95 void (*ReadClockOffset)(uint16_t handle);
96 void (*ReadLmpHandle)(uint16_t handle);
97 void (*SetupSynchronousConnection)(uint16_t handle,
103 void (*AcceptSynchronousConnection)(
107 void (*RejectSynchronousConnection)(const RawAddress& bd_addr,
109 void (*IoCapabilityRequestReply)(const RawAddress& bd_addr,
112 void (*UserConfirmationRequestReply)(const RawAddress& bd_addr, bool is_yes);
113 void (*UserConfirmationRequestNegativeReply)(const RawAddress& bd_addr,
115 void (*UserPasskeyRequestReply)(const RawAddress& bd_addr, uint32_t value);
116 void (*UserPasskeyRequestNegativeReply)(const RawAddress& bd_addr);
117 void (*RemoteOobDataRequestReply)(const RawAddress& bd_addr, const Octet16& c,
119 void (*RemoteOobDataRequestNegativeReply)(const RawAddress& bd_addr);
120 void (*IoCapabilityRequestNegativeReply)(const RawAddress& bd_addr,
122 void (*EnhancedSetupSynchronousConnection)(uint16_t conn_handle,
124 void (*EnhancedAcceptSynchronousConnection)(const RawAddress& bd_addr,
126 void (*RemoteOobExtendedDataRequestReply)();
129 void (*HoldMode)(uint16_t handle, uint16_t max_hold_period,
131 void (*SniffMode)(uint16_t handle, uint16_t max_sniff_period,
134 void (*ExitSniffMode)(uint16_t handle);
135 void (*QosSetup)(uint16_t handle, uint8_t flags, uint8_t service_type,
139 void (*RoleDiscovery)();
140 void (*StartRoleSwitch)(const RawAddress& bd_addr, uint8_t role);
141 void (*ReadLinkPolicySettings)();
142 void (*WriteLinkPolicySettings)(uint16_t handle, uint16_t settings);
143 void (*ReadDefaultLinkPolicySettings)();
144 void (*WriteDefaultLinkPolicySettings)(uint16_t settings);
145 void (*FlowSpecification)();
146 void (*SniffSubrating)(uint16_t handle, uint16_t max_lat,
150 void (*SetEventMask)();
151 void (*Reset)();
152 void (*SetEventFilter)(uint8_t filt_type, uint8_t filt_cond_type,
154 void (*Flush)();
155 void (*ReadPinType)();
156 void (*WritePinType)(uint8_t type);
157 void (*CreateNewUnitKey)();
158 void (*ReadStoredLinkKey)();
159 void (*WriteStoredLinkKey)();
160 void (*DeleteStoredLinkKey)(const RawAddress& bd_addr, bool delete_all_flag);
161 void (*WriteLocalName)(BD_NAME name);
162 void (*ReadLocalName)();
163 void (*ReadConnectionAcceptTimeout)();
164 void (*WriteConnectionAcceptTimeout)(uint16_t timeout);
165 void (*ReadPageTimeout)();
166 void (*WritePageTimeout)();
167 void (*ReadScanEnable)();
168 void (*WriteScanEnable)(uint8_t flag);
169 void (*ReadPageScanActivity)();
170 void (*WritePageScanActivity)(uint16_t interval, uint16_t window);
171 void (*ReadInquiryScanActivity)();
172 void (*WriteInquiryScanActivity)(uint16_t interval, uint16_t window);
173 void (*ReadAuthenticationEnable)();
174 void (*WriteAuthenticationEnable)(uint8_t flag);
175 void (*ReadClassOfDevice)();
176 void (*WriteClassOfDevice)(DEV_CLASS dev_class);
177 void (*ReadVoiceSetting)();
178 void (*WriteVoiceSetting)(uint16_t flags);
179 void (*ReadAutomaticFlushTimeout)(uint16_t handle);
180 void (*WriteAutomaticFlushTimeout)(uint16_t handle, uint16_t tout);
181 void (*ReadNumBroadcastRetransmits)();
182 void (*WriteNumBroadcastRetransmits)();
183 void (*ReadHoldModeActivity)();
184 void (*WriteHoldModeActivity)();
185 void (*ReadTransmitPowerLevel)(uint16_t handle, uint8_t type);
186 void (*ReadSynchronousFlowControlEnable)();
187 void (*WriteSynchronousFlowControlEnable)();
188 void (*SetControllerToHostFlowControl)();
189 void (*HostBufferSize)();
190 void (*HostNumCompletedPackets)();
191 void (*ReadLinkSupervisionTimeout)(uint8_t local_controller_id,
193 void (*WriteLinkSupervisionTimeout)();
194 void (*ReadNumberOfSupportedIac)();
195 void (*ReadCurrentIacLap)();
196 void (*WriteCurrentIacLap)(uint8_t num_cur_iac, LAP* const iac_lap);
197 void (*SetAfhHostChannelClassification)();
198 void (*ReadInquiryScanType)();
199 void (*WriteInquiryScanType)(uint8_t type);
200 void (*ReadInquiryMode)(); // 0x0C44,
201 void (*WriteInquiryMode)(uint8_t mode);
202 void (*ReadPageScanType)(); // 0x0C46,
203 void (*WritePageScanType)(uint8_t type);
204 void (*ReadAfhChannelAssessmentMode)();
228 const Interface& GetInterface(); argument