# HG changeset patch # User Mychaela Falconia # Date 1690959412 28800 # Node ID 9ba474e918c095e0d0df940d9fb782fd9a4acb16 # Parent 211a043a385f65e2099bcc06e20062faa1bda338 smpp-test1: try sending some ID strings diff -r 211a043a385f -r 9ba474e918c0 utils/smpp-test1.c --- a/utils/smpp-test1.c Tue Aug 01 22:38:04 2023 -0800 +++ b/utils/smpp-test1.c Tue Aug 01 22:56:52 2023 -0800 @@ -15,11 +15,13 @@ #include static const u_char bind_req[] = { - 0x00, 0x00, 0x00, 0x17, /* command_length */ + 0x00, 0x00, 0x00, 0x23, /* command_length */ 0x00, 0x00, 0x00, 0x09, /* command_id: bind_transceiver */ 0x00, 0x00, 0x00, 0x00, /* command_status */ - 0x00, 0x00, 0x00, 0x00, /* sequence_number */ - 0, 0, 0, /* empty strings */ + 0x00, 0x00, 0x00, 0x01, /* sequence_number */ + 'G','S','M','-','S','M','S','C',0, /* system_id */ + 0, /* password: empty string */ + 'S','M','P','P',0, /* system_type */ 0x34, /* interface_version */ 0, 0, 0 /* empty address params */ };