added layer 12 support
Fixed sentCode parse in 12 layer
Merge github.com:vysheng/tg