| 
 | 
 | 
# AVL AES Key Handling
 | 
| 
 | 
 | 
 | 
| 
 | 
 | 
```mermaid
 | 
| 
 | 
 | 
sequenceDiagram;
 | 
| 
 | 
 | 
sequenceDiagram
 | 
| 
 | 
 | 
 | 
| 
 | 
 | 
participant "Device" as Dev;
 | 
| 
 | 
 | 
participant "Device TCP Session" as Dev_TCP;
 | 
| ... | ... | @@ -9,7 +9,7 @@ participant "D2Sphere TCP Session" as D2S_TCP; | 
| 
 | 
 | 
participant "D2Sphere Database" as D2S_DB;
 | 
| 
 | 
 | 
participant "D2SPhere REST API" as D2S_API;
 | 
| 
 | 
 | 
 
 | 
| 
 | 
 | 
 | 
| 
 | 
 | 
autonumber
 | 
| 
 | 
 | 
... create D2Sphere TCP conncetion ...
 | 
| 
 | 
 | 
Dev -> Dev_TCP : create TCP session
 | 
| 
 | 
 | 
Dev_TCP -> D2S_TCP : sent Login plain (contains uuid/IMEI and used enryption mode)
 | 
| ... | ... |  |