Hi, How can I retrieve client device ID or device detail from mobilink log file. I am not able to relate remote_id with device. in other words I need to know from the log that which device is synced. Even I tried with high level of verbosity option (mlsrv16 –vUR ). My sample setup is MSSQL consolidated database and ultralie database (iPhones)

kindly guide me for the above request. thanks in advance.

asked 04 Sep '14, 07:00

Murugesh%20PA's gravatar image

Murugesh PA
31224
accept rate: 0%


MobiLink and UltraLite aren't concerned about which device the UltraLite database resides on. It can be moved from one device to another, and the remote-id (which you can see with the -vR verbosity option) is used to identify the UltraLite database.

If this is an SUP application, I believe much of the information that SUP uses to identify the device can be found in the HTTP headers of the requests being made. There is an undocumented stream option parameter that can be used to show the headers for each synchronization, but this isn't something I'd suggest in a production environment, as it is quite verbose.

permanent link

answered 04 Sep '14, 08:37

Reg%20Domaratzki's gravatar image

Reg Domaratzki
5.4k33578
accept rate: 40%

1

In 12 and later, if the collect_network_data stream option is set, then the NetworkData class will contain the HTTP headers.

(04 Sep '14, 11:57) Bill Somers
Replies hidden

Hi,

Thanks for the input. my application is not SUP & MobiLink usernames are not unique. i also noticed the remote_id for the ultralite on the device is not changing until re-install the app. Is that is true,then i will manually have the document with all the remote ID mapped with device names (manually identify at once). i will have to keep the document uptodate whenever changes to the DB.

regards Murugesh P.A

(05 Sep '14, 00:23) Murugesh PA
1

The remote ID can be defined by the application. By default, the remote id is set at the first synchronization as an unique identifier. However, you can provide any valid varchar(128) value that is unique across the system.

The application could set a RID that includes information about the device. To use this technique, you need to set the ml_remote_id on the client. Look for ml_remote_id in the documentation for information on how to set that value.

(05 Sep '14, 08:13) Chris Keating
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×295
×36

question asked: 04 Sep '14, 07:00

question was seen: 513 times

last updated: 05 Sep '14, 08:13