Lines Matching refs:Code
306 template <Code C>
309 struct CodeToPacketView<Code::PAIRING_REQUEST> {
313 struct CodeToPacketView<Code::PAIRING_RESPONSE> {
317 struct CodeToPacketView<Code::PAIRING_CONFIRM> {
321 struct CodeToPacketView<Code::PAIRING_RANDOM> {
325 struct CodeToPacketView<Code::PAIRING_FAILED> {
329 struct CodeToPacketView<Code::ENCRYPTION_INFORMATION> {
333 struct CodeToPacketView<Code::MASTER_IDENTIFICATION> {
337 struct CodeToPacketView<Code::IDENTITY_INFORMATION> {
341 struct CodeToPacketView<Code::IDENTITY_ADDRESS_INFORMATION> {
345 struct CodeToPacketView<Code::SIGNING_INFORMATION> {
349 struct CodeToPacketView<Code::SECURITY_REQUEST> {
353 struct CodeToPacketView<Code::PAIRING_PUBLIC_KEY> {
357 struct CodeToPacketView<Code::PAIRING_DH_KEY_CHECK> {
361 struct CodeToPacketView<Code::PAIRING_KEYPRESS_NOTIFICATION> {
365 template <Code CODE>
389 if (received_code == Code::PAIRING_FAILED) {
411 return WaitPacket<Code::PAIRING_REQUEST>();
415 return WaitPacket<Code::PAIRING_RESPONSE>();
419 return WaitPacket<Code::PAIRING_CONFIRM>();
423 return WaitPacket<Code::PAIRING_RANDOM>();
427 return WaitPacket<Code::PAIRING_PUBLIC_KEY>();
431 return WaitPacket<Code::PAIRING_DH_KEY_CHECK>();
435 return WaitPacket<Code::ENCRYPTION_INFORMATION>();
439 return WaitPacket<Code::ENCRYPTION_INFORMATION>();
443 return WaitPacket<Code::MASTER_IDENTIFICATION>();
447 return WaitPacket<Code::IDENTITY_INFORMATION>();
451 return WaitPacket<Code::IDENTITY_ADDRESS_INFORMATION>();
455 return WaitPacket<Code::SIGNING_INFORMATION>();