mirror of
https://github.com/lkmio/lkm.git
synced 2025-09-26 19:21:14 +08:00
fix: 1078sim卡号按照16进制格式解析
This commit is contained in:
@@ -61,7 +61,7 @@ func (p *Packet) Unmarshal(data []byte) error {
|
||||
|
||||
var simNumber string
|
||||
for i := 4; i < 10; i++ {
|
||||
simNumber += fmt.Sprintf("%02d", data[i])
|
||||
simNumber += fmt.Sprintf("%02x", data[i])
|
||||
}
|
||||
|
||||
// channel
|
||||
|
Reference in New Issue
Block a user