changeset 219:9ba474e918c0

smpp-test1: try sending some ID strings
author Mychaela Falconia <falcon@freecalypso.org>
date Tue, 01 Aug 2023 22:56:52 -0800
parents 211a043a385f
children c798a1762c7c
files utils/smpp-test1.c
diffstat 1 files changed, 5 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- 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 <unistd.h>
 
 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 */
 };