语言

Menu
Sites
Language
Get Device Serial Number

Hi All,

I found command to get device serial number when device is connected to computer.

> sdb get-serialno

My Application needs unique device serial number. I want to get serial number using tizen's system command.

Like system("<command>"). So is there any command available in Tizen to fetch device serial number?

> sdb shell

$ <command>

 

Thank you

响应

3 回复
Marco Buettner

Instead of device serial number you should use "TizenID"

https://developer.tizen.org/dev-guide/2.3.0/org.tizen.guides/html/native/system/sysinfo_n.htm

colin Rao

Also, I am try to get the serial number via system info as above comment. But seems it's failed to get the serial number, as below the dlog.

04-28 16:09:45.250 : INFO / test ( 14497 : 14497 ) : tizen.org/system/build.string: Z130HDDU0BOD7, error code: 0
04-28 16:09:45.250 : INFO / test ( 14497 : 14497 ) : tizen.org/system/platform.name: Tizen, error code: 0
04-28 16:09:45.260 : INFO / test ( 14497 : 14497 ) : tizen.org/system/platform.communication_processor: SC7727S, error code: 0
04-28 16:09:45.260 : INFO / test ( 14497 : 14497 ) : tizen.org/system/platform.processor: SC7727S, error code: 0
04-28 16:09:45.260 : INFO / test ( 14497 : 14497 ) : tizen.org/system/model_name: SM-Z130H, error code: 0
04-28 16:09:45.270 : INFO / test ( 14497 : 14497 ) : tizen.org/system/tizenid: gJHL+4TIKRk50w9La0SqjsSoLAA=, error code: 0
04-28 16:09:45.270 : INFO / test ( 14497 : 14497 ) : tizen.org/system/manufacturer: Samsung, error code: 0

Maybe we are in a wrong way. But I don't find any serial number description on IDE help.

Dharmesh Guna

Hi Colin,

Yes exactly. There is not platform string which gives the serial number.

So I am finding system command for fetching the serial number.

TizenID I am using for another purpose.