src/sync_fsm.h
changeset 624 4892dffa9e70
parent 623 533a7fcc423b
child 626 64a89bd12469
     1.1 --- a/src/sync_fsm.h	Sun May 15 15:18:53 2016 +0200
     1.2 +++ b/src/sync_fsm.h	Sun May 15 15:41:44 2016 +0200
     1.3 @@ -19,6 +19,7 @@
     1.4  // states
     1.5  
     1.6  typedef enum _DeviceState_state {
     1.7 +    InitState, 
     1.8      Sole, 
     1.9      HandshakingSole, 
    1.10      WaitForGroupKeys, 
    1.11 @@ -28,11 +29,11 @@
    1.12  // events
    1.13  
    1.14  typedef enum _DeviceState_event {
    1.15 +    Init, 
    1.16      KeyGen, 
    1.17      CannotDecrypt, 
    1.18      Beacon, 
    1.19      HandshakeRequest, 
    1.20 -    Init, 
    1.21      HandshakeRejected, 
    1.22      HandshakeAccepted, 
    1.23      ReceiveGroupKeys,