after run GPS Status
comunication between rild (original 2.1) & libsecgps?
Code:
10:00:26.458773 IP localhost.48841 > localhost.7777: P 240:244(4) ack 85 win 4367 <nop,nop,timestamp 65552 61858>
0x0000: 4500 0038 6f3f 4000 4006 cd7e 7f00 0001 E..8o?@.@.?~....
0x0010: 7f00 0001 bec9 1e61 a63e 599c a692 d695 ....??.a?>Y.?.?.
0x0020: 8018 110f fe2c 0000 0101 080a 0001 0010 ....?,..........
0x0030: 0000 f1a2 0000 00c4 ..?...?
10:00:26.459008 IP localhost.7777 > localhost.48841: . ack 244 win 4230 <nop,nop,timestamp 65552 65552>
0x0000: 4500 0034 f2de 4000 4006 49e3 7f00 0001 E..4??@.@.I?....
0x0010: 7f00 0001 1e61 bec9 a692 d695 a63e 59a0 .....a?ɦ.?.?>Y?
0x0020: 8010 1086 0de1 0000 0101 080a 0001 0010 .....?..........
0x0030: 0001 0010 ....
10:00:26.459252 IP localhost.48841 > localhost.7777: P 244:440(196) ack 85 win 4367 <nop,nop,timestamp 65552 65552>
0x0000: 4500 00f8 6f40 4000 4006 ccbd 7f00 0001 E..?o@@.@.̽....
0x0010: 7f00 0001 bec9 1e61 a63e 59a0 a692 d695 ....??.a?>Y??.?.
0x0020: 8018 110f feec 0000 0101 080a 0001 0010 ....??..........
0x0030: 0001 0010 3b00 0000 0100 0000 b500 0000 ....;.......?...
0x0040: 0e04 b517 0001 0001 0000 0000 0000 0000 ..?.............
0x0050: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x0060: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x0070: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x0080: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x0090: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x00a0: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x00b0: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x00c0: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x00d0: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x00e0: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x00f0: 003c 96c8 0000 0000 .<.?....
10:00:26.459400 IP localhost.7777 > localhost.48841: . ack 440 win 4230 <nop,nop,timestamp 65552 65552>
0x0000: 4500 0034 f2df 4000 4006 49e2 7f00 0001 E..4??@.@.I?....
0x0010: 7f00 0001 1e61 bec9 a692 d695 a63e 5a64 .....a?ɦ.?.?>Zd
0x0020: 8010 1086 0d1d 0000 0101 080a 0001 0010 ................
0x0030: 0001 0010 ....
10:00:26.476167 IP localhost.7777 > localhost.48841: P 85:89(4) ack 440 win 4230 <nop,nop,timestamp 65556 65552>
0x0000: 4500 0038 f2e0 4000 4006 49dd 7f00 0001 E..8??@.@.I?....
0x0010: 7f00 0001 1e61 bec9 a692 d695 a63e 5a64 .....a?ɦ.?.?>Zd
0x0020: 8018 1086 fe2c 0000 0101 080a 0001 0014 ....?,..........
0x0030: 0001 0010 0000 0014 ........
10:00:26.476353 IP localhost.48841 > localhost.7777: . ack 89 win 4367 <nop,nop,timestamp 65556 65556>
0x0000: 4500 0034 6f41 4000 4006 cd80 7f00 0001 E..4oA@.@.?.....
0x0010: 7f00 0001 bec9 1e61 a63e 5a64 a692 d699 ....??.a?>Zd?.?.
0x0020: 8010 110f 0c88 0000 0101 080a 0001 0014 ................
0x0030: 0001 0014 ....
10:00:26.476613 IP localhost.7777 > localhost.48841: P 89:109(20) ack 440 win 4230 <nop,nop,timestamp 65556 65556>
0x0000: 4500 0048 f2e1 4000 4006 49cc 7f00 0001 E..H??@.@.I?....
0x0010: 7f00 0001 1e61 bec9 a692 d699 a63e 5a64 .....a?ɦ.?.?>Zd
0x0020: 8018 1086 fe3c 0000 0101 080a 0001 0014 ....?<..........
0x0030: 0001 0014 0000 0000 0100 0000 0000 0000 ................
0x0040: 0400 0000 0e04 0400 ........
10:00:26.476759 IP localhost.48841 > localhost.7777: . ack 109 win 4367 <nop,nop,timestamp 65556 65556>
0x0000: 4500 0034 6f42 4000 4006 cd7f 7f00 0001 E..4oB@.@.?.....
0x0010: 7f00 0001 bec9 1e61 a63e 5a64 a692 d6ad ....??.a?>Zd?.֭
0x0020: 8010 110f 0c74 0000 0101 080a 0001 0014 .....t..........
0x0030: 0001 0014 ....
10:00:26.478258 IP localhost.48841 > localhost.7777: P 440:444(4) ack 109 win 4367 <nop,nop,timestamp 65556 65556>
0x0000: 4500 0038 6f43 4000 4006 cd7a 7f00 0001 E..8oC@.@.?z....
0x0010: 7f00 0001 bec9 1e61 a63e 5a64 a692 d6ad ....??.a?>Zd?.֭
0x0020: 8018 110f fe2c 0000 0101 080a 0001 0014 ....?,..........
0x0030: 0001 0014 0000 0010 ........
10:00:26.516043 IP localhost.7777 > localhost.48841: . ack 444 win 4230 <nop,nop,timestamp 65564 65556>
0x0000: 4500 0034 f2e2 4000 4006 49df 7f00 0001 E..4??@.@.I?....
0x0010: 7f00 0001 1e61 bec9 a692 d6ad a63e 5a68 .....a?ɦ.֭?>Zh
0x0020: 8010 1086 0cf1 0000 0101 080a 0001 001c .....?..........
0x0030: 0001 0014 ....
10:00:26.516286 IP localhost.48841 > localhost.7777: P 444:460(16) ack 109 win 4367 <nop,nop,timestamp 65564 65564>
0x0000: 4500 0044 6f44 4000 4006 cd6d 7f00 0001 E..DoD@.@.?m....
0x0010: 7f00 0001 bec9 1e61 a63e 5a68 a692 d6ad ....??.a?>Zh?.֭
0x0020: 8018 110f fe38 0000 0101 080a 0001 001c ....?8..........
0x0030: 0001 001c 3b00 0000 0100 0000 0300 0000 ....;...........
0x0040: 0e03 0300 ....
10:00:26.516440 IP localhost.7777 > localhost.48841: . ack 460 win 4230 <nop,nop,timestamp 65564 65564>
0x0000: 4500 0034 f2e3 4000 4006 49de 7f00 0001 E..4??@.@.I?....
0x0010: 7f00 0001 1e61 bec9 a692 d6ad a63e 5a78 .....a?ɦ.֭?>Zx
0x0020: 8010 1086 0cd9 0000 0101 080a 0001 001c .....?..........
0x0030: 0001 001c ....
10:00:26.571710 IP localhost.7777 > localhost.48841: P 109:113(4) ack 460 win 4230 <nop,nop,timestamp 65575 65564>
0x0000: 4500 0038 f2e4 4000 4006 49d9 7f00 0001 E..8??@.@.I?....
0x0010: 7f00 0001 1e61 bec9 a692 d6ad a63e 5a78 .....a?ɦ.֭?>Zx
0x0020: 8018 1086 fe2c 0000 0101 080a 0001 0027 ....?,.........'
0x0030: 0001 001c 0000 0014 ........
10:00:26.611032 IP localhost.48841 > localhost.7777: . ack 113 win 4367 <nop,nop,timestamp 65583 65575>
0x0000: 4500 0034 6f45 4000 4006 cd7c 7f00 0001 E..4oE@.@.?|....
0x0010: 7f00 0001 bec9 1e61 a63e 5a78 a692 d6b1 ....??.a?>Zx?.ֱ
0x0020: 8010 110f 0c2e 0000 0101 080a 0001 002f .............../
0x0030: 0001 0027 ...'
10:00:26.611236 IP localhost.7777 > localhost.48841: P 113:133(20) ack 460 win 4230 <nop,nop,timestamp 65583 65583>
0x0000: 4500 0048 f2e5 4000 4006 49c8 7f00 0001 E..H??@.@.I?....
0x0010: 7f00 0001 1e61 bec9 a692 d6b1 a63e 5a78 .....a?ɦ.ֱ?>Zx
0x0020: 8018 1086 fe3c 0000 0101 080a 0001 002f ....?<........./
0x0030: 0001 002f 0000 0000 0100 0000 0000 0000 .../............
0x0040: 0400 0000 0e03 0400 ........
10:00:26.611377 IP localhost.48841 > localhost.7777: . ack 133 win 4367 <nop,nop,timestamp 65583 65583>
0x0000: 4500 0034 6f46 4000 4006 cd7b 7f00 0001 E..4oF@.@.?{....
0x0010: 7f00 0001 bec9 1e61 a63e 5a78 a692 d6c5 ....??.a?>Zx?.??
0x0020: 8010 110f 0c12 0000 0101 080a 0001 002f .............../
0x0030: 0001 002f .../
---------- Post added at 02:01 PM ---------- Previous post was at 11:03 AM ----------
Code:
D/libgps ( 1966): Samsung GPS library ver.0.01
D/libgps ( 1966): init_location
D/libgps ( 1966): sec_gps_init: RILD connected.
D/libgps ( 1966): Starting GPS activity thread.
D/libgps ( 1966): GPS library initialized.
D/libgps ( 1966): ril_gps_open:
D/libgps ( 1966): send_ril_gps_option
D/libgps ( 1966): --- GPS options [mask 0x0017]---
D/libgps ( 1966): session type 1
D/libgps ( 1966): operation type 0
D/libgps ( 1966): start mode 1
D/libgps ( 1966): HSLP ''
D/libgps ( 1966): APN ''
D/libgps ( 1966): Username ''
D/libgps ( 1966): Password ''
D/libgps ( 1966): Auth type 0
D/libgps ( 1966): QoS performance 60
D/libgps ( 1966): QoS H_accuracy 150
D/libgps ( 1966): QoS V_accuracy 200
D/libgps ( 1966): ril_request_alloc: cmd 04
D/libgps ( 1966): init_ril_request: ril_request 0xeffd0
D/libgps ( 1966): ril_request_alloc: alloc idx 0 cmd 04 wait 0x8080ae20
D/libgps ( 1966): send_ril_gps_request: cmd 0x04 plen 178
D/libgps ( 1966): ril_gps_wait_for_ril: req 0xeffd0 status 1 timeout 3000
D/libgps ( 1966): ril_gps_wait_for_ril: +++entering
D/libgps ( 1966): onRawReqComplete: oem_function_id 0x0E cmd 0x04 len 4
D/libgps ( 1966): find_ril_request: found. idx 0
D/libgps ( 1966): GPS activity thread started.
D/libgps ( 1966): process_response: req 0xeffd0 cmd 0x04 plen 1
D/libgps ( 1966): recv_ril_gps_option: status 0
D/libgps ( 1966): ril_wakeup: idx 0 cmd 0x04 wait 0x8080ae20
D/libgps ( 1966): ril_wakeup: ---
D/libgps ( 1966): ril_gps_wait_for_ril: ---leaving
D/libgps ( 1966): ril_request_free: idx 0 cmd 04
D/libgps ( 1966): start_nmea_reader
and when gps init on boot
---------- Post added at 02:02 PM ---------- Previous post was at 02:01 PM ----------

Originally Posted by
criminal
Samsung's rild opens port 7777 to communicate with clients, original (android) rild opens only socket.
I think ril open socket rild for android & open port 7777 for samsung's clients
Bookmarks