Update location/gps support
The location/gps dissector now supports all packets normally exchanged for a gps session on Maemo 5.master
parent
bcc6be4eec
commit
c01e4ddfe8
982
src/isi-gps.c
982
src/isi-gps.c
File diff suppressed because it is too large
Load Diff
|
@ -1,7 +1,7 @@
|
|||
#ifndef _ISI_GPS_H
|
||||
#define _ISI_GPS_H
|
||||
|
||||
void proto_reg_handoff_isi_gps(void);
|
||||
void proto_register_isi_gps(void);
|
||||
void proto_reg_handoff_isi_location(void);
|
||||
void proto_register_isi_location(void);
|
||||
|
||||
#endif
|
||||
|
|
|
@ -330,6 +330,7 @@ gint32 ett_isi_nameservice_entry = -1;
|
|||
gint32 ett_isi_info = -1;
|
||||
|
||||
expert_field ei_isi_unknown_packet = EI_INIT;
|
||||
expert_field ei_isi_unsupported_packet = EI_INIT;
|
||||
|
||||
#ifdef ISI_USB
|
||||
/* Experimental approach based upon the one used for PPP*/
|
||||
|
@ -359,7 +360,7 @@ void proto_reg_handoff_isi(void) {
|
|||
proto_reg_handoff_isi_sim_auth();
|
||||
proto_reg_handoff_isi_sim();
|
||||
proto_reg_handoff_isi_network();
|
||||
proto_reg_handoff_isi_gps();
|
||||
proto_reg_handoff_isi_location();
|
||||
proto_reg_handoff_isi_ss();
|
||||
proto_reg_handoff_isi_gss();
|
||||
proto_reg_handoff_isi_sms();
|
||||
|
@ -416,6 +417,7 @@ void proto_register_isi(void) {
|
|||
|
||||
static ei_register_info ei[] = {
|
||||
{ &ei_isi_unknown_packet, { "isi.unknown.packet", PI_UNDECODED, PI_WARN, "Unknown packet", EXPFILL }},
|
||||
{ &ei_isi_unsupported_packet, { "isi.unsupported.packet", PI_UNDECODED, PI_WARN, "Unsupported packet", EXPFILL }},
|
||||
};
|
||||
|
||||
static gint *ett[] = {
|
||||
|
@ -444,7 +446,7 @@ void proto_register_isi(void) {
|
|||
proto_register_isi_sim();
|
||||
proto_register_isi_sim_auth();
|
||||
proto_register_isi_network();
|
||||
proto_register_isi_gps();
|
||||
proto_register_isi_location();
|
||||
proto_register_isi_ss();
|
||||
proto_register_isi_gss();
|
||||
proto_register_isi_sms();
|
||||
|
|
|
@ -17,5 +17,6 @@ void dissect_isi_common(const char *resource, tvbuff_t *tvb, packet_info *pinfo,
|
|||
void dissect_isi_subpacket(gint32 hf_sub_type, guint8 offset, tvbuff_t *tvb, packet_info *pinfo, proto_item *item, proto_tree *tree, void (*detail_cb)(guint8, tvbuff_t*, packet_info*, proto_item*, proto_tree*));
|
||||
|
||||
extern expert_field ei_isi_unknown_packet;
|
||||
extern expert_field ei_isi_unsupported_packet;
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue